Repository navigation
Drop Python 3.9 and 3.10, support Python 3.15 - #2314
Merged
Merged
Conversation
Python 3.9 and 3.10 reached end of life, and ubuntu-latest moved to 26.04, which has no Python 3.9, so every 3.9 job failed to start. - Require Python 3.11 and build and test 3.11 to 3.15. - Pin the Ubuntu runners to ubuntu-26.04. - Bump cibuildwheel to 4.3.5, which builds cp315 by default, and drop CIBW_PRERELEASE_PYTHONS, which cibuildwheel 3 removed. - Test the oldest and newest NumPy with wheels for each Python, keeping NumPy 1.25 and 2.0 on 3.11. - Skip the pandas test dependency on 3.15, where pandas 2 has no wheels. - Stop using typing.ByteString, which warns on import from Python 3.15. - Build the expected dot operator message with ast.dump, whose output changed in Python 3.15.
teo-tsirpanis
approved these changes
Nov 3, 2026
| needs: [build_wheels, test_sdist] | ||
| if: always() && (startsWith(github.ref, 'refs/tags/') || inputs.test_pypi) && needs.build_wheels.result == 'success' && needs.test_sdist.result == 'success' | ||
| runs-on: ubuntu-latest | ||
| runs-on: ubuntu-26.04 |
Member
There was a problem hiding this comment.
Suggested change
| runs-on: ubuntu-26.04 | |
| runs-on: ubuntu-slim |
… 26.04 for the wheels
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Python 3.9 and 3.10 are end of life. The nightly builds also broke, because
ubuntu-latestis now Ubuntu 26.04, which has no Python 3.9.ubuntu-26.04, the wheels included. The issue job runs onubuntu-slim.typing.ByteStringnow warns on import, and theast.dumpoutput in one test changed.Tested locally: built the 3.11, 3.14 and 3.15 wheels, installed each in a clean env, and ran the tests with and without pandas. The sdist works on 3.15 too.
Closes #2313.
cc. @jdblischak