Repository navigation
chore(ci): add python 3.15 to the test matrices - #1918
Merged
Merged
Conversation
Test Python 3.15 in the CI matrix and the FastAPI e2e matrix. uv 0.8.2 predates Python 3.15 and cannot install it, so bump the uv pinned in CI to 0.13.3. Several locked packages had no 3.15 wheels and pydantic-core 2.41 cannot be built for 3.15, so upgrade pydantic, pydantic-core, pyiceberg, pyroaring, markupsafe, mmh3 and cffi. pydantic 2.14 no longer lets mypy infer the type of a module-level TypeAdapter, so annotate the five that need it.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 22 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
spydon
added a commit
that referenced
this pull request
Nov 4, 2026
## Summary Python 3.15 was added to the test matrix on the old `main` in #1918, but 28ff771 ("make v3 the main branch") recorded old `main` as merged without taking its changes, so v3 never got it. `v2` still tests 3.15. This ports #1918 to v3. - Add `3.15` to `PYTHON_VERSIONS` in `.github/scripts/ci_matrix.py`. - Upgrade the locked packages that cannot install on 3.15, the same set as #1918: pydantic 2.14.2 and pydantic-core 2.50.2 (pydantic-core 2.41 cannot build for 3.15), pyiceberg 0.12.0, pyroaring 1.2.0, markupsafe 3.0.4, mmh3 5.3.1 and cffi 2.1.1. uv also moved typing-extensions and typing-inspection forward, and pyiceberg 0.12 swaps `sortedcontainers` for `zstandard`. - Add the `Programming Language :: Python :: 3.15` classifier to every package. - Update `AGENTS.md`. #1918 also annotated five module-level `TypeAdapter`s because pydantic 2.14 broke mypy's inference. v3 type checks with pyrefly, which reports no errors without them, so they are not ported. ## Test plan - [x] pyrefly reports no errors in any package - [x] On Python 3.15.1 locally: functions 107, supabase 39, realtime 43, storage 109, auth 213 and postgrest 420 passed - [ ] CI passes on 3.11 to 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.
Follows #1915.
Summary
ci.ymltest matrix and the FastAPI e2e matrix.TypeAdapter, so annotate the five that need it in auth and storage, using theName: TypeAdapter[T] = TypeAdapter(T)pattern already used elsewhere.AGENTS.md.pyiceberg 0.12 moves
pyiceberg-coreout of thepyarrowextra into its own extra. storage only usesPyArrowFileIO, and the storage tests pass.Testing
make mypypasses on Python 3.11 and 3.15.