Bump actions/setup-python from 2 to 4.1.0
Bumps actions/setup-python from 2 to 4.1.0.
Release notes
Sourced from actions/setup-python's releases.
v4.1.0
In scope of this pull request we updated
actions/cachepackage as the new version contains fixes for caching error handling. Moreover, we added a new input update-environment. This option allows to specify if the action shall update environment variables (default) or not.Update-environment input
- name: setup-python 3.9 uses: actions/setup-python@v4 with: python-version: 3.9 update-environment: falseBesides, we added such changes as:
- Allow python-version-file to be a relative path: actions/setup-python#431
- Added new environment variables for
Cmake: actions/setup-python#440- Updated error message for resolveVersion: actions/setup-python#450
- Assign default value of
AGENT_TOOLSDIRECTORYif not set: actions/setup-python#394v4.0.0
What's Changed
- Support for
python-version-fileinput: #336Example of usage:
- uses: actions/setup-python@v4 with: python-version-file: '.python-version' # Read python version from a file - run: python my_script.pyThere is no default python version for this
setup-pythonmajor version, the action requires to specify eitherpython-versioninput orpython-version-fileinput. If thepython-versioninput is not specified the action will try to read required version from file frompython-version-fileinput.
- Use pypyX.Y for PyPy
python-versioninput: #349Example of usage:
- uses: actions/setup-python@v4 with: python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility - run: python my_script.py
... (truncated)
Commits
c4e89faImprove readme for 3.x and 3.11-dev style python-version (#441)0ad0f6aMerge pull request #452 from mayeut/fix-envf0bcf8bMerge pull request #456 from akx/patch-1af97157doc: Add multiple wildcards example to readme364e819Merge pull request #394 from akv-platform/v-sedoli/set-env-by-default782f81bMerge pull request #450 from IvanZosimov/ResolveVersionFix2c9de4eRemove duplicate code introduced in #440412091cFix tests for update-environment==false78a2330Merge pull request #451 from dmitry-shibanov/fx-pipenv-python-version96f494etrigger checks- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'll get to these eventually. Honest.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Gotta do this eventually
Looks like actions/setup-python is up-to-date now, so this is no longer needed.