fix(ci): align workflow Python version with requires-python - #5032
fix(ci): align workflow Python version with requires-python#5032MGPOCKY wants to merge 1 commit into
Conversation
Confidence Score: 4/5This needs the Python version quoted before merging so the docs checker reliably installs Python 3.10. The unquoted trailing-zero version can reach setup-python as 3.1 and stop the workflow before validation executes. Files Needing Attention: .github/workflows/docs_checker.yml Reviews (1): Last reviewed commit: "fix(ci): align workflow Python version w..." | Re-trigger Greptile |
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: 3.8 | ||
| python-version: 3.10 |
There was a problem hiding this comment.
|
This pull request is being marked as inactive because of no recent activity. It will be closed in 3 days if no further activity occurs. |
Why
Package metadata declares
requires-python/.python-versionas>=3.10, but CI workflows still pinpython-versionto a mismatched value.That can make CI run on a runtime the project no longer supports (or skip the version the package actually targets).
What changed
Update the affected workflow
python-versionpins so they satisfy>=3.10(using3.10where a concrete pin is needed)..github/workflows/docs_checker.ymlpython-version: 3.8→python-version: 3.10Test plan
requires-python/.python-versionis still>=3.10Found while auditing CI/package version consistency across popular repos.