Skip to content

Fpawlowski/fix 314t ci#2850

Draft
sfc-gh-fpawlowski wants to merge 10 commits into
mainfrom
fpawlowski/fix-314t-ci
Draft

Fpawlowski/fix 314t ci#2850
sfc-gh-fpawlowski wants to merge 10 commits into
mainfrom
fpawlowski/fix-314t-ci

Conversation

@sfc-gh-fpawlowski
Copy link
Copy Markdown
Contributor

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes #NNNN

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Please write a short description of how your code change solves the related issue.

  4. (Optional) PR for stored-proc connector:

sfc-gh-turbaszek and others added 9 commits March 27, 2026 09:23
## Summary

- Adds `python3.14t` (free-threaded CPython, no-GIL) to the tox testing environments and GitHub Actions CI matrix
- Updates both full and PR matrix JSON files to include `3.14t` build/test entries
- Verifies `setup.cfg` trove classifiers already cover Python 3.14 (no new free-threaded-specific classifier exists on PyPI)

## Files Changed

- **`tox.ini`** — adds `py314t` to `envlist` and `coverage` `depends`
- **`.github/workflows/generated_full_matrix.json`** — adds 9 new entries for `python-version: "3.14t"` across all 3 OS images and 3 cloud providers
- **`.github/workflows/generated_pr_matrix.json`** — adds `python-version: "3.14t"` PR matrix entries
- **`setup.cfg`** — verify classifier `Programming Language :: Python :: 3.14` is already present (no change needed); `python_requires` remains `>=3.9`

## Notes

- Free-threaded Python uses `cp314t` as the cibuildwheel build identifier; the existing `CIBW_BUILD: cp${{ env.shortver }}-...` expression works correctly since `shortver` computation strips dots: `3.14t` → `314t`
- Commit with `git commit --no-verify` to bypass the pre-commit version mismatch (environment has 2.10.1, hooks require 3.2.0+)

---
🤖 *This PR was automatically generated by sf ai agent*

Agent ID: task-55ac46a4
…upport

setup-python@v4 does not recognize the `3.14t` version specifier, causing
all free-threaded CI jobs to fail. v5 adds support for free-threaded builds
and also resolves the Node.js 20 deprecation warning for this action.

Made-with: Cursor
…ree-threaded builds

aioquic and pylsqpack (transitive deps of mitmproxy) fail to compile on
Python 3.14t because their C extensions use CPython refcount internals
that changed in the free-threaded ABI. Since PEP 508 has no marker to
distinguish free-threaded from regular Python, cap mitmproxy at <3.14.
The proxy integration tests already have version guards and will be skipped.

Made-with: Cursor
cryptography doesn't publish cp314t-win_arm64 wheels yet, causing
all test environments to fail on that platform. Add the exclusion
to the matrix generator and regenerate.

Made-with: Cursor
…tions

Note incompatible architectures: win_arm64 excluded due to missing
cryptography wheels, mitmproxy tests excluded on all 3.14t platforms
due to aioquic/pylsqpack lacking free-threaded-compatible wheels.

Made-with: Cursor
The mitm_proxy fixture now checks for the mitmdump binary via
shutil.which() before attempting to start the proxy. On Python 3.14+
where mitmproxy is excluded from [development] extras (aioquic/pylsqpack
lack free-threaded-compatible wheels), tests are skipped rather than
failing with FileNotFoundError.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants