Actions(deps): Bump actions/setup-python from 2.2.1 to 4.2.0
Created by: dependabot[bot]
Bumps actions/setup-python from 2.2.1 to 4.2.0.
Release notes
Sourced from actions/setup-python's releases.
Add check-latest input and bug fixes
In scope of this release we add the check-latest input. If check-latest is set to true, the action first checks if the cached version is the latest one. If the locally cached version is not the most up-to-date, the version will then be downloaded from python-versions repository. By default check-latest is set to false. For PyPy it will to try to reach https://downloads.python.org/pypy/versions.json
Example of usage:
steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.9' check-latest: true - run: python --versionBesides, it includes such changes as
- Resolved logs for python-version and file inputs: actions/setup-python#465
- Added linux os release info to primary key: actions/setup-python#467
- Added fix to change Python versions for poetry: actions/setup-python#445
- Fix Tool Path handling for self-hosted runners: actions/setup-python#466
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.py </tr></table>
... (truncated)
Commits
-
b55428bMerge pull request #472 from IvanZosimov/ReadmeUpdate -
e084fcaMerge branch 'main' into ReadmeUpdate -
789730bFix broken links in the text body -
c4e98b7Fix broken links -
cfcafa5Fix review points -
c318b92Fix review points -
a93d541Merge pull request #466 from techman83/fix/tool_path -
72394d1Fix typo -
fe396d3Revert changes -
853c012Change advanced-usage.md - 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)