From 00edfb7992564eb223b5fa4d145c8d547dbebfcf Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 18 Nov 2024 07:55:02 +0000 Subject: [PATCH 1/3] Require Python >= 3.9 --- .github/workflows/tests.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ffc18e3..d5f6458 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] steps: - name: Checkout diff --git a/pyproject.toml b/pyproject.toml index 2160423..05b1376 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ dependencies = [ "h5py >=2.10", "htmlgen", ] -requires-python = ">=3.7" +requires-python = ">=3.9" classifiers = ["License :: OSI Approved :: BSD License"] dynamic = ["version", "description"] From cd887b8a41424cf1d933d17ee46be874237d3c38 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 18 Nov 2024 07:55:34 +0000 Subject: [PATCH 2/3] Add CI on Python 3.12, 3.13 --- .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 d5f6458..65ad4c0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Checkout From e6c420156aa445150c8a1eed49bb3be18bec5238 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 18 Nov 2024 08:01:18 +0000 Subject: [PATCH 3/3] Update Github action versions, add codecov token --- .github/workflows/tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65ad4c0..ac4a95e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,10 +15,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -32,4 +32,6 @@ jobs: python3 -m pytest -v --cov=h5glance --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}