From 46feccefdb75137285bdda585b961b4783731da1 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 1 Mar 2025 10:27:55 +0100 Subject: [PATCH 1/5] ci: Update Python and tesst more platforms * https://devguide.python.org/versions * https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b93ce3c..932bb8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,10 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - # Python 3.8 is the last non-EOL version. Also adapt tox.ini - python-version: ['3.8', 'pypy3.10', '3.12'] - os: [ubuntu-latest, windows-latest] + # Python 3.9 is the last non-EOL version. Also adapt tox.ini + python-version: ['3.9', 'pypy3.11', '3.13'] + # macOS in Intel, macOS on ARM, Ubuntu on x64, Ubuntu on ARM, Windows on X64 + os: [macos-13, macos-latest, ubuntu-latest, ubuntu-20.04-arm, windows-latest, windows-2025] fail-fast: false steps: @@ -27,13 +28,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - architecture: x64 cache: 'pip' cache-dependency-path: '**/test-requirements' - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install -e .[dev] + python -m pip install --editable .[dev] python -m pip install 'tox-gh-actions<4.0.0' - name: Test with tox run: tox From 93d8aa25c80c7db9fb0cd8f8510a7af895c36774 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 1 Mar 2025 10:35:15 +0100 Subject: [PATCH 2/5] Revert Python 3.13 upgrade because of #311 Revert Python 3.13 upgrade because of * #311 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 932bb8d..430fd69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: # Python 3.9 is the last non-EOL version. Also adapt tox.ini - python-version: ['3.9', 'pypy3.11', '3.13'] + python-version: ['3.9', 'pypy3.11', '3.12'] # macOS in Intel, macOS on ARM, Ubuntu on x64, Ubuntu on ARM, Windows on X64 os: [macos-13, macos-latest, ubuntu-latest, ubuntu-20.04-arm, windows-latest, windows-2025] fail-fast: false From 81346698515a5086aeb6fa902f8a57daf0cfc5a4 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 1 Mar 2025 11:10:01 +0100 Subject: [PATCH 3/5] ubuntu-24.04-arm --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 430fd69..11b1495 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: # Python 3.9 is the last non-EOL version. Also adapt tox.ini python-version: ['3.9', 'pypy3.11', '3.12'] # macOS in Intel, macOS on ARM, Ubuntu on x64, Ubuntu on ARM, Windows on X64 - os: [macos-13, macos-latest, ubuntu-latest, ubuntu-20.04-arm, windows-latest, windows-2025] + os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-2025] fail-fast: false steps: From cd60dc6564f2ee19f752cab7757b7795e8a4684c Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 2 Mar 2025 00:15:16 +0100 Subject: [PATCH 4/5] Update tox.ini --- tox.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index d7e3e82..4115000 100644 --- a/tox.ini +++ b/tox.ini @@ -1,20 +1,20 @@ [tox] -envlist = py38, py39, py3.10, py311, py312, pypy3 +envlist = py39, py3.10, py311, py312, py313, pypy3 skip_missing_interpreters = true [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 - pypy3.10: pypy3 + 3.13: py313 + pypy3.11: pypy3 [testenv] extras = dev commands = {envpython} -m pytest {posargs:} - {envpython} -m pylint cpplint.py - {envpython} -m flake8 cpplint.py + {envpython} -m pylint + {envpython} -m flake8 . From b1916acaab12989509d6930bd64946adc307aff6 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 2 Mar 2025 00:20:32 +0100 Subject: [PATCH 5/5] Update tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 4115000..8b8dd53 100644 --- a/tox.ini +++ b/tox.ini @@ -16,5 +16,5 @@ extras = dev commands = {envpython} -m pytest {posargs:} - {envpython} -m pylint + {envpython} -m pylint . {envpython} -m flake8 .