Skip to content

ci: add python 3.15 to the test matrix - #1931

Merged
bdraco merged 2 commits into
masterfrom
ci/add-python-3.15
Oct 31, 2026
Merged

bdraco merged 2 commits into
masterfrom
ci/add-python-3.15

Conversation

@bdraco

@bdraco bdraco commented Oct 31, 2026

Copy link
Copy Markdown
Member

Adds CPython 3.15 and free-threaded 3.15t to the test matrix, because the release job already ships cp315/cp315t wheels but CI never runs the test suite on 3.15.

# before
          - "3.14"
          - "3.14t"
          - "pypy-3.10"
# after
          - "3.14"
          - "3.14t"
          - "3.15"
          - "3.15t"
          - "pypy-3.10"
  • Adds 3.15 and 3.15t skip_cython jobs on ubuntu, macOS and Windows, plus a use_cython job on ubuntu for each (the existing excludes limit use_cython to ubuntu).
  • Only .github/workflows/ci.yml changes; setup-python already has allow-prereleases: true, so the prerelease interpreters resolve.
Notes
  • 3.14t needs no special handling anywhere in the job (no extra excludes, includes or install flags), so 3.15t only needs a matrix entry.
  • pyproject.toml has no per-version Programming Language :: Python :: 3.x classifiers, so nothing changes there.

Test plan

  • 3.15 / 3.15t test jobs pass

@github-actions

Copy link
Copy Markdown

Thanks for contributing! A quick note: this project is in the process of moving from LGPL-2.1 to Apache 2.0, and may keep LGPL-2.1-or-later as an OR option so GPL-2.0-only projects can keep using the library, see #1835.

By continuing with this pull request you agree that this new contribution is offered under both Apache 2.0 and LGPL-2.1-or-later, so it is covered under either outcome.

This notice does not affect your previous contributions. If you would like to consent to relicensing those as well, please post the consent statement on #1835; silence is never treated as consent for past work.

If offering this contribution under these licenses does not work for you, no hard feelings; reply with the exact phrase I do not agree to the Apache 2.0 license or simply close this pull request.

@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.87%. Comparing base (bd107c6) to head (838ef43).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1931   +/-   ##
=======================================
  Coverage   99.87%   99.87%           
=======================================
  Files          33       33           
  Lines        3913     3913           
  Branches      568      568           
=======================================
  Hits         3908     3908           
  Misses          3        3           
  Partials        2        2           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed

codspeed Bot commented Oct 31, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 24 untouched benchmarks


Comparing ci/add-python-3.15 (838ef43) with master (bd107c6)

Open in CodSpeed

@bdraco
bdraco merged commit 46b2ca0 into master Oct 31, 2026
43 checks passed
@bdraco
bdraco deleted the ci/add-python-3.15 branch October 31, 2026 04:31
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.

1 participant