From bb8611fa64876db165b4c0bc25b228c991ad420c Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Wed, 21 Oct 2026 11:47:00 +0200 Subject: [PATCH 1/3] Update to latest actions --- .github/workflows/ci.yml | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d293a4a..7c0da01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,11 +16,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install tox @@ -36,11 +36,11 @@ jobs: - twine_check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Set up Python 3.10 - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install tox and upgrade setuptools and pip @@ -74,11 +74,11 @@ jobs: - os: "windows-11-arm" python-version: "3.11" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -95,7 +95,7 @@ jobs: - name: Run tests run: tox - name: Upload coverage report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v7 test-arch: if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main' @@ -105,7 +105,7 @@ jobs: python_version: - "3.10" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - uses: uraimo/run-on-arch-action@v3 @@ -143,11 +143,11 @@ jobs: - os: "ubuntu-latest" python_version: "pypy" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive - name: Install miniconda. - uses: conda-incubator/setup-miniconda@v3 # https://github.com/conda-incubator/setup-miniconda. + uses: conda-incubator/setup-miniconda@v4 # https://github.com/conda-incubator/setup-miniconda. with: channels: conda-forge,defaults - name: Install requirements (universal) @@ -183,15 +183,11 @@ jobs: - os: "ubuntu-latest" cibw_archs_linux: "aarch64" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: submodules: recursive fetch-depth: 0 # Fetch everything to get accurately versioned tag. - - if: ${{ matrix.os == 'windows-11-arm' }} - uses: actions/setup-python@v5 - name: Install Python - - if: ${{ matrix.os != 'windows-11-arm' }} - uses: actions/setup-python@v2 # Some issues where caused by higher versions. + - uses: actions/setup-python@v7 name: Install Python - name: Install cibuildwheel twine build run: python -m pip install cibuildwheel twine build @@ -205,7 +201,7 @@ jobs: arch: ${{ matrix.os == 'windows-11-arm' && 'arm64' || 'x64' }} - name: Set up QEMU if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'aarch64'}} - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 with: platforms: arm64 - name: Build wheels @@ -245,7 +241,7 @@ jobs: if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'x86_64'}} run: python -m build --sdist - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v7 with: name: "dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.cibw_archs_linux }}" path: "dist/" From 7b6c2a271e1f246aaabb0dc984e43307c6993569 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Wed, 21 Oct 2026 14:12:27 +0200 Subject: [PATCH 2/3] Test CI with supported version 3.11 --- .github/workflows/ci.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c0da01..59067c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: - uses: actions/checkout@v7 with: submodules: recursive - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox run: pip install tox - name: Lint @@ -39,10 +39,10 @@ jobs: - uses: actions/checkout@v7 with: submodules: recursive - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v7 with: - python-version: "3.10" + python-version: "3.11" - name: Install tox and upgrade setuptools and pip run: pip install --upgrade tox setuptools pip - name: Run tox -e ${{ matrix.tox_env }} @@ -53,7 +53,6 @@ jobs: strategy: matrix: python-version: - - "3.10" - "3.11" - "3.12" - "3.13" @@ -61,16 +60,16 @@ jobs: - "3.14t" - "3.15" - "3.15t" - - "pypy-3.10" + - "pypy-3.11" - "pypy-3.11" os: ["ubuntu-latest"] include: - os: "macos-latest" # For m1 macos python-version: "3.12" - os: "macos-15-intel" # for x86 macos - python-version: "3.10" + python-version: "3.11" - os: "windows-latest" - python-version: "3.10" + python-version: "3.11" - os: "windows-11-arm" python-version: "3.11" steps: @@ -103,7 +102,7 @@ jobs: strategy: matrix: python_version: - - "3.10" + - "3.11" steps: - uses: actions/checkout@v7 with: From 1f3bcfd4522b0cd77d8830b1c32226c1b5f0e4a3 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Wed, 21 Oct 2026 14:18:14 +0200 Subject: [PATCH 3/3] Explicitly use python 3.11 for dynamic testing. --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59067c3..abb29d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,10 +137,7 @@ jobs: - "macos-15-intel" - "macos-latest" - "windows-latest" - python_version: [ "python" ] - include: - - os: "ubuntu-latest" - python_version: "pypy" + python_version: [ "python==3.11" ] steps: - uses: actions/checkout@v7 with: