actions / actions/starter-workflows
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation.😕 Question: why bump python version and not action version? Is there a reason?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.1k
- Forks
- 7.3k
- PR merge metrics
- No merged PRs in 30d
Description
😕 Question: why bump python version and not action version? Is there a reason?
Please see setup-python action releases Note the changes for version v5 includes migrating the underlying node version (which fixes a deprecated version just like the 3.8 to 3.13 does).
I recommend something like this:
uses: actions/setup-python@v5
with:
python-version: "3.13" # set this to the python version to use (see https://github.com/actions/setup-python?tab=readme-ov-file#basic-usage)
[!CAUTION]
Also please note thatpython-versionsafter3.10and non-cpythonneed quoting to properly function in some GitHub Action Runner Environments (in contrast with3.8which did not need quotes); compare with the format used inci/pylint.ymlwhere quotes are used.
Benefits of these changes:
- Syntacticly Correct: Uses quotes around
python-versioncorrectly. - Consistency in Comments: Helps keep comments consistent with other changes in this PR.
- Improved Security: Both the original version bump to 3.13 and the
setup-pythonversion bump tov5are important for remaining current with security updates.
Originally posted by @reactive-firewall in https://github.com/actions/starter-workflows/pull/2584#discussion_r1835009893
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the workflow context and the referenced ci/pylint.yml, then compare the current setup-python usage with the v5 release notes. Done means the relevant workflow uses the intended action and Python versions, quotes versions consistently, and its checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100