Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
env:
# SQLAlchemy's cyext does not declare free-thread safety (fixed upstream for 2.1): use the pure-Python fallback on the t build.
DISABLE_SQLALCHEMY_CEXT_RUNTIME: ${{ matrix.python-version == '3.14t' && '1' || '' }}
DISABLE_SQLALCHEMY_CEXT_RUNTIME: ${{ endsWith(matrix.python-version, 't') && '1' || '' }}
strategy:
fail-fast: false
matrix:
Expand All @@ -31,6 +31,8 @@ jobs:
- "3.13"
- "3.14"
- "3.14t"
- "3.15"
- "3.15t"
services:
postgres:
image: postgres:latest
Expand All @@ -53,7 +55,7 @@ jobs:
- run: uv python pin ${{ matrix.python-version }}
- run: just install
- name: Confirm the interpreter is free-threaded
if: matrix.python-version == '3.14t'
if: endsWith(matrix.python-version, 't')
run: uv run --no-sync python -c "import sys, db_retry; assert not sys._is_gil_enabled(), 'GIL is enabled on a t-build'"
- run: just test-ci
env:
Expand All @@ -70,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
env:
# SQLAlchemy's cyext does not declare free-thread safety (fixed upstream for 2.1): use the pure-Python fallback on the t build.
DISABLE_SQLALCHEMY_CEXT_RUNTIME: ${{ matrix.python-version == '3.14t' && '1' || '' }}
DISABLE_SQLALCHEMY_CEXT_RUNTIME: ${{ endsWith(matrix.python-version, 't') && '1' || '' }}
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Free Threading :: 2 - Beta",
"Typing :: Typed",
"Topic :: Software Development :: Libraries",
Expand Down
Loading