Merged
Conversation
Add Python 3.15-dev to the GitHub Actions matrices for run-tests and run-crt-test to catch compatibility issues early without claiming official support. Set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 only for the 3.15-dev matrix jobs to avoid prerelease install failures from PyO3-based dependencies. Update tests/unit/test_compress.py test helpers to pin compresslevel=9 (with mtime fixed) so gzip byte-for-byte fixtures stay stable across Python versions, including 3.15.
nateprewitt
reviewed
Feb 6, 2026
This was referenced Feb 12, 2026
arandito
approved these changes
Feb 12, 2026
hswong3i
pushed a commit
to alvistack/boto-botocore
that referenced
this pull request
Feb 14, 2026
Add Python 3.15-dev to the GitHub Actions matrices for run-tests and run-crt-test to catch compatibility issues early without claiming official support. Set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 only for the 3.15-dev matrix jobs to avoid prerelease install failures from PyO3-based dependencies. Update tests/unit/test_compress.py test helpers to pin compresslevel=9 (with mtime fixed) so gzip byte-for-byte fixtures stay stable across Python versions, including 3.15.
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.
Note
This PR is modeled after psf/requests#7195
Overview
This PR adds Python 3.15 canary coverage in CI and fixes deterministic gzip fixture failures in
tests/unit/test_compress.pyon 3.15 pre-release runtimes.Background
Summary
3.15-devto CI matrices in:.github/workflows/run-tests.yml.github/workflows/run-crt-test.ymlPYO3_USE_ABI3_FORWARD_COMPATIBILITY=1only for3.15-devjobs.mtime=1andcompresslevel=9intests/unit/test_compress.py.typing_extensionsversion to addressAttributeError: module 'typing' has no attribute 'no_type_check_decorator'errors.Testing