Skip to content

Commit 99a088e

Browse files
committed
test: run tests with free threaded python 3.13
With luck this will not indicate any breakage.
1 parent fec4b84 commit 99a088e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci-test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ jobs:
7171
experimental: [ false ]
7272

7373
include:
74-
# example: if 3.13 fails the jobs still succeeds
74+
# example: if this version fails the jobs still succeeds
7575
# allow-prereleases in setup-python allows alpha/beta
76-
# releases to run
77-
#- python-version: 3.13
78-
# os: ubuntu-22.04
79-
# experimental: true
76+
# releases to run. Also allow free threaded python testing
77+
- python-version: 3.13t
78+
os: ubuntu-24.04
79+
experimental: true
8080

8181
# 3.7 not available on new 22.04 runners, so run on 22.04 ubuntu
8282
- python-version: 3.7
@@ -132,7 +132,8 @@ jobs:
132132
# Display the Python version being used
133133
- name: Display Python and key module versions
134134
run: |
135-
python -c "import sys; print('python version: ', sys.version)"
135+
python --version --version
136+
python -c "import sysconfig; print('GIL IS ENABLED: ', sysconfig.get_config_vars().get('Py_GIL_DISABLED', 'not defined'));"
136137
python -c "import sqlite3; print('sqlite version: ', sqlite3.sqlite_version)"
137138
python -c "import setuptools; print('setuptools version: ', setuptools.__version__);"
138139

0 commit comments

Comments
 (0)