From fb1294572064149645fddd1f007037be92dacde4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:44:44 +0000 Subject: [PATCH 1/4] pytest: Try using python 3.14 --- .github/workflows/pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 539076078ec..7dcee70d423 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -23,6 +23,7 @@ jobs: - '3.9' - '3.12' - '3.13' + - '3.14' fail-fast: true runs-on: ${{ matrix.os }} From 7d47962bfaa1992dfdd45bc3bad6138d9fe8eb70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 24 Nov 2024 13:38:31 +0000 Subject: [PATCH 2/4] pytest: Set env var to allow building wheels with a python version unsupported by PyO3 PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 --- .github/workflows/pytest.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 7dcee70d423..56896b5e18f 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -57,6 +57,8 @@ jobs: pip install -r .github/workflows/python_requirements.txt pip install -r .github/workflows/optional_requirements.txt pip install pytest pytest-timeout pytest-github-actions-annotate-failures pytest-xdist pytest-cov + env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 - name: Create installation directory run: | From 62e784f1bcefd2baf39f95094fd41401595e3dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 24 Nov 2024 18:22:59 +0000 Subject: [PATCH 3/4] CI(ubuntu): Try tests with Python 3.14 --- .github/workflows/ubuntu.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 9023df7d1b3..38da47ad46c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -99,6 +99,14 @@ jobs: }}:g' .gunittest.cfg > .gunittest.extra.cfg cat .gunittest.extra.cfg + - name: Set up Python + if: ${{ matrix.config == 'ubuntu-22.04' }} + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + with: + python-version: 3.14 + cache: pip + allow-prereleases: true + - name: Get dependencies run: | sudo apt-get update -y @@ -106,6 +114,15 @@ jobs: xargs -a <(awk '! /^ *(#|$)/' ".github/workflows/apt.txt") -r -- \ sudo apt-get install -y --no-install-recommends --no-install-suggests + - name: Install Python dependencies + if: ${{ matrix.config == 'ubuntu-22.04' }} + run: | + python -m pip install --upgrade pip + pip install -r .github/workflows/python_requirements.txt + pip install -r .github/workflows/optional_requirements.txt + env: + PYO3_USE_ABI3_FORWARD_COMPATIBILITY: 1 + - name: Create installation directory run: | mkdir $HOME/install From 56c7d2c75d1864cde771ffb59230633babbd8b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 29 Mar 2026 09:05:44 -0400 Subject: [PATCH 4/4] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Edouard Choinière <27212526+echoix@users.noreply.github.com> --- .github/workflows/ubuntu.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 1d1d2002942..bcb03053fa7 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -105,8 +105,8 @@ jobs: STEPS_GET_EXCLUDE_OUTPUTS_EXTRA_EXCLUDE: ${{ steps.get-exclude.outputs.extra-exclude }} - name: Set up Python - if: ${{ matrix.config == 'ubuntu-22.04' }} - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + if: ${{ matrix.config == 'ubuntu-24.04' }} + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: 3.14 cache: pip @@ -122,7 +122,7 @@ jobs: sudo apt-get install -y --no-install-recommends --no-install-suggests - name: Install Python dependencies - if: ${{ matrix.config == 'ubuntu-22.04' }} + if: ${{ matrix.config == 'ubuntu-24.04' }} run: | python -m pip install --upgrade pip pip install -r .github/workflows/python_requirements.txt