|
50 | 50 | strategy: |
51 | 51 | matrix: |
52 | 52 | os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest] |
53 | | - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 53 | + python-version: ["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"] |
54 | 54 | openslide: [system, wheel] |
55 | 55 | include: |
56 | 56 | - os: ubuntu-latest |
@@ -132,8 +132,8 @@ jobs: |
132 | 132 | mkdir -p "artifacts/whl/${{ needs.pre-commit.outputs.dist-base }}" |
133 | 133 | mv dist/* "artifacts/whl/${{ needs.pre-commit.outputs.dist-base }}" |
134 | 134 | # from system builds, save version-specific wheels and oldest abi3 wheel |
135 | | - python -c 'import sys |
136 | | - if sys.version_info < (3, 12) and "${{ matrix.openslide }}" == "system": |
| 135 | + python -c 'import sys, sysconfig |
| 136 | + if "${{ matrix.openslide }}" == "system" and (sys.version_info < (3, 12) or sysconfig.get_config_var("Py_GIL_DISABLED")): |
137 | 137 | print("archive_wheel=1")' >> $GITHUB_ENV |
138 | 138 | - name: Install |
139 | 139 | run: pip install artifacts/whl/${{ needs.pre-commit.outputs.dist-base }}/*.whl |
@@ -165,7 +165,7 @@ jobs: |
165 | 165 | shell: bash |
166 | 166 | strategy: |
167 | 167 | matrix: |
168 | | - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 168 | + python-version: ["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"] |
169 | 169 | openslide: [zip, wheel] |
170 | 170 | steps: |
171 | 171 | - name: Check out repo |
@@ -203,8 +203,8 @@ jobs: |
203 | 203 | mkdir -p "artifacts/whl/${{ needs.pre-commit.outputs.dist-base }}" |
204 | 204 | mv dist/*.whl "artifacts/whl/${{ needs.pre-commit.outputs.dist-base }}" |
205 | 205 | # from zip builds, save version-specific wheels and oldest abi3 wheel |
206 | | - python -c 'import sys |
207 | | - if sys.version_info < (3, 12) and "${{ matrix.openslide }}" == "zip": |
| 206 | + python -c 'import sys, sysconfig |
| 207 | + if "${{ matrix.openslide }}" == "zip" and (sys.version_info < (3, 12) or sysconfig.get_config_var("Py_GIL_DISABLED")): |
208 | 208 | print("archive_wheel=1")' >> $GITHUB_ENV |
209 | 209 | - name: Install |
210 | 210 | run: pip install artifacts/whl/${{ needs.pre-commit.outputs.dist-base }}/*.whl |
|
0 commit comments