diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 3a96c70..87ad070 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [pypy-3.10, pypy-3.11, '3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: [pypy-3.10, pypy-3.11, '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t'] os: [ ubuntu-latest, windows-latest, @@ -40,11 +40,17 @@ jobs: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5.2.0 + uses: actions/setup-python@v5.5.0 with: python-version: ${{ matrix.python-version }} allow-prereleases: true + - name: Verify freethreaded Python + if: endsWith(matrix.python-version, 't') + run: | + python --version --version + python -c "import sys; print('Free-threading enabled:', not sys._is_gil_enabled() if hasattr(sys, '_is_gil_enabled') else False)" + - name: Install uv uses: astral-sh/setup-uv@v6 with: diff --git a/AGENT.md b/AGENT.md index 7243f8c..00d410e 100644 --- a/AGENT.md +++ b/AGENT.md @@ -18,5 +18,5 @@ - Use pytest (no unittest), all tests in `./tests/` with typing annotations - Import typing fixtures when TYPE_CHECKING: `CaptureFixture`, `FixtureRequest`, `LogCaptureFixture`, `MonkeyPatch`, `MockerFixture` - Ruff formatting: line length 119, ignores E501, F403, E701, F401 -- Python 3.10+ required, supports up to 3.14 +- Python 3.10+ required, supports up to 3.14 (including 3.14t freethreaded) - Dependencies: defusedxml, urllib3, xmltodict, pytest, pytest-cov diff --git a/plan.md b/plan.md new file mode 100644 index 0000000..6e403f9 --- /dev/null +++ b/plan.md @@ -0,0 +1,8 @@ +Here is the current task + + +I want to run test the latest python 3.14.0 freethreaded version +Check the versions-manifest.json and see where the free threaded version of python 3.14.0 is available. +Make changes to the testing matrix, so that the supported OS and architecture for the freethreaded python in installed and these new tests for this os and arch, along with all old tests work + +Please introduce minimal changes to get this done and be clear and concise