From 2ce8fc0a780d033b071ad5ce5bcf1375be368eca Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 25 Sep 2025 11:40:09 -0600 Subject: [PATCH 1/4] Add testing coverage for the free-threaded build --- .github/workflows/tests.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7c85de3..7143589 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"] os: [windows-latest, ubuntu-latest, macos-latest] env: @@ -48,3 +48,9 @@ jobs: python -m pip install -U pip setuptools wheel python -m pip install -e .[test] python -m unittest -v tests.suite + + - name: Test (free-threading stress test) + if: ${{ (steps.release.outputs.version == 0) && endsWith(matrix.python-version, 't') }} + run: | + python -m pip install unittest-ft + unittest-ft -s -v From 6eee1583dd05de063fc0ec37e486587a62f15745 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 25 Sep 2025 11:44:55 -0600 Subject: [PATCH 2/4] bump setup-python version in tests --- .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 7143589..ed7ccea 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: __version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"]) - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 if: steps.release.outputs.version == 0 with: python-version: ${{ matrix.python-version }} From 0c7e7f20bbb80253ab696234c13f32f3a76dc878 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 25 Sep 2025 11:45:39 -0600 Subject: [PATCH 3/4] use explicit pre-release versions --- .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 ed7ccea..aa0a17d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t", "3.14-dev", "3.14t-dev"] os: [windows-latest, ubuntu-latest, macos-latest] env: From f531cd62c9cfa9ea8537ed05dcc3a560d50fffbc Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 25 Sep 2025 11:49:01 -0600 Subject: [PATCH 4/4] switch away from editable installs in tests --- .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 aa0a17d..844c3ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,7 +46,7 @@ jobs: if: steps.release.outputs.version == 0 run: | python -m pip install -U pip setuptools wheel - python -m pip install -e .[test] + python -m pip install .[test] --use-pep517 python -m unittest -v tests.suite - name: Test (free-threading stress test)