diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index 28f8d60..abee780 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -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: @@ -31,6 +31,8 @@ jobs: - "3.13" - "3.14" - "3.14t" + - "3.15" + - "3.15t" services: postgres: image: postgres:latest @@ -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: @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 19aa175..ba23104 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",