◐ Shell
clean mode source ↗

Unify python version used by CI. Update to `3.14.4` by ShaharNaveh · Pull Request #7571 · RustPython/RustPython

📝 Walkthrough

Walkthrough

Workflows removed hardcoded PYTHON_VERSION values and either stop passing python-version to actions/setup-python or read the version from a new .python-version file; .python-version was added to the repo and removed from .gitignore.

Changes

Cohort / File(s) Summary
Core CI workflows
​.github/workflows/ci.yaml, ​.github/workflows/cron-ci.yaml
Removed workflow-level PYTHON_VERSION env and removed python-version inputs from actions/setup-python steps; cron-ci.yaml also pins actions/setup-python to a commit SHA instead of using the env var.
Dynamic CPython selection
​.github/workflows/lib-deps-check.yaml, ​.github/workflows/update-libs-status.yaml
Removed PYTHON_VERSION env; added step to read .python-version and export it; replaced previous CPython clone logic with actions/checkout of python/cpython at ref: v${{ steps.cpython-version.outputs.version }} and updated references that used the env var.
Docs / upgrade note
​.github/workflows/upgrade-pylib.md
Bumped documented PYTHON_VERSION reference from v3.14.3 to v3.14.4.
Repository version file
.python-version, .gitignore
Added .python-version containing 3.14.4; removed .python-version entry from .gitignore so the file is tracked.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through workflows, sniffed the breeze,
A tiny file for versions put at ease,
No scattered envs, a single cue,
3.14.4 — a carrot, fresh and new! 🥕

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main objective: unifying Python version across CI and updating to 3.14.4, which directly matches the changeset's modifications to CI workflows and version files.
Linked Issues check ✅ Passed The PR successfully addresses issue #7570 by updating all CI workflows and tools from CPython 3.14.3 to 3.14.4, introducing a .python-version file for centralized version management, and removing hardcoded environment variables.
Out of Scope Changes check ✅ Passed All changes are directly related to the objective of updating CI and tools to target CPython 3.14.4; no unrelated modifications are present in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.