Skip to content

ci: test on python 3.15 - #1972

Merged
spydon merged 1 commit into
mainfrom
ci/python-3.15
Nov 4, 2026
Merged

spydon merged 1 commit into
mainfrom
ci/python-3.15

Conversation

@spydon

@spydon spydon commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

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 chore(ci): add python 3.15 to the test matrices #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 TypeAdapters 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

  • pyrefly reports no errors in any package
  • 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

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Compatibility
    • Added Python 3.15 to the supported versions listed for the Python packages.
  • CI
    • CI now includes Python 3.15 in its compatibility test matrix.

The CI Python version matrix now includes Python 3.15 for entries that use the "highest" resolution. CI compatibility guidance and package classifiers also now include Python 3.15.

Possibly related PRs

Change: Other

Merge Risk: Minimal · up to 68c34

The Python 3.15 support declarations are consistent, with no identified merge-blocking issue. Merge after the normal CI checks pass.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c330e094-8f53-4367-bbeb-53dcef907ad2
Commits

Reviewing files that changed from the base of the PR and between f68baf0 and 68c3488.

Files ignored due to path filters: 1
  • uv.lock is excluded by !**/*.lock
Files selected for processing: 9
  • .github/scripts/ci_matrix.py
  • AGENTS.md
  • src/auth/pyproject.toml
  • src/functions/pyproject.toml
  • src/postgrest/pyproject.toml
  • src/realtime/pyproject.toml
  • src/storage/pyproject.toml
  • src/supabase/pyproject.toml
  • src/utils/pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.

@spydon
spydon merged commit 474fff9 into main Nov 4, 2026
56 checks passed
@spydon
spydon deleted the ci/python-3.15 branch November 4, 2026 14:12
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