docs: document minimum python versions - #1543
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| | Feature | Python | | ||
| | ----------------------------------------------------------------------------------------------------------------------- | ------ | | ||
| | Free-threaded interpreters (`freethreaded = True`), [first shipped in CPython 3.13](https://peps.python.org/pep-0703/) | 3.13+ | | ||
| | `pyproject.toml` parsing in sdist native-dependency detection (needs stdlib `tomllib`) | 3.11+ | |
There was a problem hiding this comment.
It's possibly we'll want to change this to allow 3.10 but lets just stick with it and document it for now.
✨ Aspect Workflows Tasks📅 Wed Sep 16 23:35:29 UTC 2026 ✅ 44 successful tasks
⏱ Last updated Wed Sep 16 23:55:04 UTC 2026 · 📊 GitHub API quota 147/7,700 (2% used, resets in 1h 0m) |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a294f629c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 3.10 and newer. Older interpreters can still be fetched via `interpreters.configure()`, | ||
| but `py_binary` and `py_test` targets will fail at startup on them. |
There was a problem hiding this comment.
Avoid claiming all older-version targets fail at startup
With a fetched pre-3.10 interpreter and a compatible user entry point, generic py_binary and py_test targets do not load the 3.10-only test runners: py/private/py_venv/py_venv_exec.bzl constructs a native launcher that directly executes the venv interpreter with the user's main (lines 94-118). Such targets can therefore start successfully; the syntax restriction applies to specific maintained helpers such as the pytest/unittest runners and build tools. Describe older interpreters as unsupported, or scope the startup-failure statement to targets that actually execute those helpers.
Useful? React with 👍 / 👎.
py_binary startup benchmark
sys.path quality
Bazel analysis benchmark
py_image_layer benchmark
|
Changes are visible to end-users: no
Test plan