From b3e8f284027dd8848ed3fc8dec67d9582a19cfa3 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 17 Jun 2024 13:14:36 +0100 Subject: [PATCH 1/4] Require Python >= 3.8 --- .github/workflows/tests.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bc4a1994..ddfb18f0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout diff --git a/setup.py b/setup.py index 889e0085..d53d4831 100755 --- a/setup.py +++ b/setup.py @@ -86,7 +86,7 @@ def find_version(*parts): 'testpath', ] }, - python_requires='>=3.6', + python_requires='>=3.8', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', From c62889cccc3641050dbfe3c25d108a1cc040d933 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 17 Jun 2024 13:16:11 +0100 Subject: [PATCH 2/4] Fix Github actions warning about Node versions --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ddfb18f0..ea8c738e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,8 @@ jobs: MPLBACKEND: agg - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + # This specific version uses Node 20 - see codecov-action#1293 + uses: codecov/codecov-action@v3.1.5 publish: runs-on: ubuntu-latest From 5cf00db579745105ab160babd73615798881221e Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 17 Jun 2024 13:32:00 +0100 Subject: [PATCH 3/4] Update deprecated nbval option --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ea8c738e..20eb1fdf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: - name: Test with pytest run: | - python3 -m pytest -v --nbval-lax --current-env --cov=extra_data --cov-report=xml + python3 -m pytest -v --nbval-lax --nbval-current-env --cov=extra_data --cov-report=xml env: MPLBACKEND: agg From cb2e7d925c52907f61f0b01b6d28edf2d39b05eb Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 17 Jun 2024 14:02:35 +0100 Subject: [PATCH 4/4] Update coverage to 6.5 --- .github/dependabot/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot/constraints.txt b/.github/dependabot/constraints.txt index 6622b25c..8ccbb95f 100644 --- a/.github/dependabot/constraints.txt +++ b/.github/dependabot/constraints.txt @@ -1,5 +1,5 @@ cloudpickle<=3.0.0 -coverage==6.2 +coverage==6.5 h5py<3.12.0 karabo-bridge==0.7.0 msgpack<=1.0.8