Repository navigation
Drop Python 3.9 from CI, add 3.14, bump checkout/setup-python - #463
Merged
Merged
Conversation
added 2 commits
November 9, 2026 23:55
The ubuntu-latest runner label now resolves to Ubuntu 26.04, and actions/setup-python has no 3.9 build for it, so the 3.9 ubuntu job fails at "Set up Python" on every PR. 3.9 has been end-of-life since 2025-10-31. - Remove 3.9 from the test matrices in main.yml and release.yml and from CIBW_BUILD; set requires-python to >=3.10 and the default tox env to py3.10. - Add 3.14 to both matrices and CIBW_BUILD. - Bump actions/checkout to v5 and actions/setup-python to v6 to clear the Node 20 deprecation warning. - Update the README tox/pyenv examples, which still referenced 3.8/3.9. 3.15 is deliberately not added yet: jsonconversion 2.0.0 calls the private json.encoder._make_iterencode with an isinstance= keyword that 3.15 removed, so tests/test_json_encoder.py fails on 3.15 until that dependency is fixed or replaced.
ionc_write_annotations decref'd the PySequence_Fast result twice (once before `fail:` and again after it) and never released the ref returned by PyObject_GetAttr. For tuple annotations the two mistakes cancel out, but when ion_annotations is any other iterable (e.g. a str), PySequence_Fast builds a new list that is then freed twice. On Python 3.14 this corrupts the list freelist and intermittently segfaults in test_json_encoder.py::test_annotation_suppression, which is why the new 3.14 CI jobs fail. Release the GetAttr ref once, fail cleanly if PySequence_Fast returns NULL, and decref the sequence only once at `fail:`.
Shaurya0108
marked this pull request as ready for review
November 13, 2026 21:23
NovemberZulu
approved these changes
Nov 13, 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.
The ubuntu-latest runner label now resolves to Ubuntu 26.04, and actions/setup-python has no 3.9 build for it, so the 3.9 ubuntu job fails at "Set up Python" on every PR. 3.9 has been end-of-life since 2025-10-31.
3.15 is deliberately not added yet: jsonconversion 2.0.0 calls the private json.encoder._make_iterencode with an isinstance= keyword that 3.15 removed, so tests/test_json_encoder.py fails on 3.15 until that dependency is fixed or replaced.