Skip to content

Pyversion bump - #2549

Merged
jeromekelleher merged 2 commits into
tskit-dev:mainfrom
jeromekelleher:pyversion-bump
Oct 30, 2026
Merged

jeromekelleher merged 2 commits into
tskit-dev:mainfrom
jeromekelleher:pyversion-bump

Conversation

@jeromekelleher

Copy link
Copy Markdown
Member

No description provided.

Jerome Kelleher added 2 commits October 30, 2026 14:21
Require Python >= 3.12, add the 3.15 classifier and cibuildwheel target,
test on 3.12 and 3.15 in CI, and update the documented minimum version.
Re-lock dependencies for the new range.
The low-level Simulator.run parses max_events as a C unsigned long with
no overflow check. Python 3.15 emits a DeprecationWarning when an
out-of-range value is passed, and on platforms where unsigned long is
32 bits values above 2**32 - 1 were silently wrapped. Since event_chunk
only controls how often we return to Python, cap it at 2**32 - 1.
@codecov

codecov Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.82%. Comparing base (1e0abbe) to head (7cd9d14).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2549   +/-   ##
=======================================
  Coverage   93.82%   93.82%           
=======================================
  Files          20       20           
  Lines       12224    12225    +1     
  Branches     2254     2254           
=======================================
+ Hits        11469    11470    +1     
  Misses        574      574           
  Partials      181      181           
Flag Coverage Δ
C 84.14% <ø> (ø)
c-python 72.74% <ø> (ø)
python-tests 98.58% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Python API 98.61% <100.00%> (+<0.01%) ⬆️
Python C interface 92.88% <ø> (ø)
C library 91.05% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeromekelleher
jeromekelleher merged commit 2b36e4e into tskit-dev:main Oct 30, 2026
13 checks passed
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