Skip to content

Conversation

@benoit74
Copy link
Contributor

@benoit74 benoit74 commented Nov 4, 2025

Fix #236
Fix #235

Changes:

  • Drop support of Python 3.9
  • Add support for Python 3.14
  • Upgrade dependencies, especially Cython 3.1.6
  • Upgrade supported macOS to 14.0+ (instead of 13.0+)
  • Add support for free-threaded CPython (3.13 and 3.14)
  • Upgrade Github CI Actions
  • Run tests on minimum supported platforms + more recent stable ones

Notes:

  • I had to drop support of Python 3.9 because (at least) coverage 7.11.0 supports only Python >= 3.10 (and 3.9 is anyway EOL)
  • Upgrade to Cython 3.1+ needed special attention for Python 3.13+ ; if we agree on the approach, I will open an issue to not forget to "rollback" this once sys.monitoring works correctly with coverage and Cython
  • I'm also going to open an issue regarding GIL and free-threaded Python ; work on this PR is conservative to continue same approach done so far, but I'm questioning this is the optimal approach

@benoit74 benoit74 self-assigned this Nov 4, 2025
@benoit74 benoit74 force-pushed the python-3.14 branch 7 times, most recently from 0c7c8e1 to 0fc396c Compare November 4, 2025 17:00
@codecov
Copy link

codecov bot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.69%. Comparing base (1004cf3) to head (82b5eac).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #237      +/-   ##
==========================================
+ Coverage   93.66%   93.69%   +0.02%     
==========================================
  Files           1        1              
  Lines         537      539       +2     
==========================================
+ Hits          503      505       +2     
  Misses         34       34              

☔ View full report in Codecov by Sentry.
📢 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.

@benoit74 benoit74 force-pushed the python-3.14 branch 6 times, most recently from d387a1a to d1a1774 Compare November 4, 2025 19:58
@benoit74 benoit74 changed the title Add support for Python 3.14, upgrade dependencies and CI actions Add support for Python 3.14, upgrade dependencies and CI actions, upgrade macOS support to 14.0+, add free-threaded CPython Nov 4, 2025
@benoit74 benoit74 requested a review from rgaudin November 4, 2025 21:37
@benoit74 benoit74 marked this pull request as ready for review November 4, 2025 21:37
@benoit74 benoit74 added this to the 3.8.0 milestone Nov 4, 2025
Copy link
Member

@rgaudin rgaudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@benoit74 benoit74 merged commit f2b3a59 into main Nov 6, 2025
57 checks passed
@benoit74 benoit74 deleted the python-3.14 branch November 6, 2025 10:08
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.

Add support for Python 3.14 What is the strategy for CI in terms of images / python versions?

3 participants