From c1187d935b1eddf445f35fa8297691da6ab3f135 Mon Sep 17 00:00:00 2001 From: Maarten Sebregts Date: Mon, 25 Aug 2025 14:43:40 +0200 Subject: [PATCH 1/4] Update python versions used in github actions - Remove Python 3.8 (which is already end-of-life for ~10 months) and add Python 3.13. - Update OS to `ubuntu-latest` instead of a fixed version --- .github/workflows/test_with_pytest.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_with_pytest.yml b/.github/workflows/test_with_pytest.yml index 7a345c7f..705e7a73 100644 --- a/.github/workflows/test_with_pytest.yml +++ b/.github/workflows/test_with_pytest.yml @@ -7,10 +7,10 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] # Test on multiple Python versions + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # Test on multiple Python versions steps: - name: Checkout repository @@ -20,8 +20,6 @@ jobs: uses: actions/setup-python@v4 with: - # until saxonche is available in 3.13 - # https://saxonica.plan.io/issues/6561 python-version: ${{ matrix.python-version }} - name: Display Python version run: python -c "import sys; print(sys.version)" From 576128cc1358a866e5de653377cfbc4890fe0702 Mon Sep 17 00:00:00 2001 From: Maarten Sebregts Date: Mon, 25 Aug 2025 15:57:45 +0200 Subject: [PATCH 2/4] Enable tests for Python 3.7 and 3.8 --- .github/workflows/test_with_pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_with_pytest.yml b/.github/workflows/test_with_pytest.yml index 705e7a73..a60a350e 100644 --- a/.github/workflows/test_with_pytest.yml +++ b/.github/workflows/test_with_pytest.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # Test on multiple Python versions + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] # Test on multiple Python versions steps: - name: Checkout repository From 7c81e3bfa17b7ffcc0ca80d1caed666e7bbb2151 Mon Sep 17 00:00:00 2001 From: Maarten Sebregts Date: Mon, 25 Aug 2025 16:00:55 +0200 Subject: [PATCH 3/4] Move back to `ubuntu-22.04` as runner Python 3.7 is not available on `ubuntu-latest`. --- .github/workflows/test_with_pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_with_pytest.yml b/.github/workflows/test_with_pytest.yml index a60a350e..d49baa7c 100644 --- a/.github/workflows/test_with_pytest.yml +++ b/.github/workflows/test_with_pytest.yml @@ -7,7 +7,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] # Test on multiple Python versions From 8551bc6e9a6eb2179d05a65d35e7c50b69268afb Mon Sep 17 00:00:00 2001 From: Maarten Sebregts Date: Mon, 25 Aug 2025 16:07:02 +0200 Subject: [PATCH 4/4] Use `ubuntu-latest`, don't test python 3.7 (build) dependencies are not available for Python 3.7 on PyPI --- .github/workflows/test_with_pytest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_with_pytest.yml b/.github/workflows/test_with_pytest.yml index d49baa7c..9d1208ba 100644 --- a/.github/workflows/test_with_pytest.yml +++ b/.github/workflows/test_with_pytest.yml @@ -7,10 +7,10 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] # Test on multiple Python versions + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] # Test on multiple Python versions steps: - name: Checkout repository