chore(deps): update actions/setup-python action to v5 #376
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.2.2
->v5.3.0
Release Notes
actions/setup-python (actions/setup-python)
v5.3.0
Compare Source
What's Changed
Bug Fixes:
isGhes
logic by @jww3 in https://github.com/actions/setup-python/pull/963Enhancements:
New Contributors
Full Changelog: actions/setup-python@v5...v5.3.0
v5.2.0
Compare Source
v5.1.1
Compare Source
What's Changed
Bug fixes:
This update ensures compatibility and optimal performance of workflows on the latest macOS version.
Documentation changes:
Dependency updates:
New Contributors
Full Changelog: actions/setup-python@v5...v5.1.1
v5.1.0
Compare Source
What's Changed
New Contributors
Full Changelog: actions/setup-python@v5.0.0...v5.1.0
v5.0.0
Compare Source
What's Changed
In scope of this release, we update node version runtime from node16 to node20 (https://github.com/actions/setup-python/pull/772). Besides, we update dependencies to the latest versions.
Full Changelog: actions/setup-python@v4.8.0...v5.0.0
v4.8.0
Compare Source
What's Changed
In scope of this release we added support for GraalPy (https://github.com/actions/setup-python/pull/694). You can use this snippet to set up GraalPy:
Besides, the release contains such changes as:
New Contributors
Full Changelog: actions/setup-python@v4...v4.8.0
v4.7.1
Compare Source
What's Changed
Full Changelog: actions/setup-python@v4...v4.7.1
v4.7.0
Compare Source
In scope of this release, the support for reading python version from pyproject.toml was added (https://github.com/actions/setup-python/pull/669).
Besides, it includes such changes as:
New Contributors
Full Changelog: actions/setup-python@v4...v4.7.0
v4.6.1
Compare Source
What's Changed
allow-prereleases
sample configuration by @mayeut in https://github.com/actions/setup-python/pull/615New Contributors
Full Changelog: actions/setup-python@v4...v4.6.1
v4.6.0
: Add allow-prereleases inputCompare Source
In scope of this release we added a new input (
allow-prereleases
) to allow falling back to pre-release versions of Python when a matching GA version of Python is not availableBesides, we added such changes as:
v4.5.0
: Fix cache issue for Poetry projects located in subfoldersCompare Source
In scope of this release we fixed cache issue for Poetry projects located in subfolders (https://github.com/actions/setup-python/issues/446). Besides that we updated json5 version from 2.2.0 to 2.2.3 (https://github.com/actions/setup-python/pull/579).
v4.4.0
: Add support to install multiple python versionsCompare Source
In scope of this release we added support to install multiple python versions. For this you can try to use this snippet:
Besides, we changed logic with throwing the error for GHES if cache is unavailable to warn (https://github.com/actions/setup-python/pull/566).
v4.3.1
: Improve error handling and messagesCompare Source
In scope of this release we added improved error message to put operating system and its version in the logs (https://github.com/actions/setup-python/pull/559). Besides, the release
v4.3.0
Compare Source
v4.2.0
: Add check-latest input and bug fixesCompare Source
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:
Besides, it includes such changes as
v4.1.0
Compare Source
In scope of this pull request we updated
actions/cache
package 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
Besides, we added such changes as:
Cmake
: https://github.com/actions/setup-python/pull/440AGENT_TOOLSDIRECTORY
if not set: https://github.com/actions/setup-python/pull/394v4.0.0
Compare Source
What's Changed
python-version-file
input: #336Example of usage:
There is no default python version for this
setup-python
major version, the action requires to specify eitherpython-version
input orpython-version-file
input. If thepython-version
input is not specified the action will try to read required version from file frompython-version-file
input.python-version
input: #349Example of usage:
RUNNER_TOOL_CACHE
environment variable is equalAGENT_TOOLSDIRECTORY
: #338Bugfix: create missing
pypyX.Y
symlinks: #347PKG_CONFIG_PATH
environment variable: #400Added
python-path
output: #405python-path
output contains Python executable path.Updated
zeit/ncc
tovercel/ncc
package: #393Bugfix: fixed output for prerelease version of poetry: #409
Made
pythonLocation
environment variable consistent for Python and PyPy: #418Bugfix for
3.x-dev
syntax: #417Other improvements: #318 #396 #384 #387 #388
v3.1.4
Compare Source
What's Changed
In the scope of this patch release, the warning for deprecating Python 2.x was added in https://github.com/actions/setup-python/pull/674 by @dmitry-shibanov
For more information, check out https://github.com/actions/setup-python/issues/672
Full Changelog: actions/setup-python@v3...v3.1.4
v3.1.3
: Update actions/core to 1.10.0 for v3Compare Source
In scope of this release we update actions/core to 1.10.0 for v3 major tag: https://github.com/actions/setup-python/pull/624
v3.1.2
: Update actions/cache version to 2.0.2Compare Source
In scope of this release we updated
actions/cache
package as the new version contains fixes related to GHES 3.5 (https://github.com/actions/setup-python/pull/382)v3.1.1
: Add "cache-hit" output and fix "python-version" output for PyPyCompare Source
This release introduces new output cache-hit (https://github.com/actions/setup-python/pull/373) and fix python-version output for PyPy (https://github.com/actions/setup-python/pull/365)
The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.
The python-version contains version of Python or PyPy.
v3.1.0
: Support caching poetry dependencies and caching on GHES 3.5Compare Source
v3.0.0
Compare Source
What's Changed
package-lock.json
file version to 2,@types/node
to 16.11.25 andtypescript
to 4.2.3 (https://github.com/actions/setup-python/pull/341)pypy2
andpypy3
keywords (https://github.com/actions/setup-python/pull/342)Breaking Changes
With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.
This new major release removes support of legacy
pypy2
andpypy3
keywords. Please use more specific and flexible syntax to specify a PyPy version:See more usage examples in the documentation
v2.3.4
Compare Source
What's Changed
In the scope of this patch release, the warning for deprecating Python 2.x was added in https://github.com/actions/setup-python/pull/675 by @dmitry-shibanov
For more information, check out https://github.com/actions/setup-python/issues/672
Full Changelog: actions/setup-python@v2...v2.3.4
v2.3.3
: Update actions/core to 1.10.0 for v2Compare Source
In scope of this release we update actions/core to 1.10.0 for v2 major tag: https://github.com/actions/setup-python/pull/533.
v2.3.2
: Update primary and restore keys for pipCompare Source
In scope of this release we include a version of python in restore and primary cache keys for pip. Besides, we add temporary fix for Windows caching issue, that the
pip cache dir
command returns non zero exit code or writes to stderr. Moreover we updated node-fetch dependency.v2.3.1
: Update actions/cache version to 1.0.8Compare Source
We have updated actions/cache dependency version to 1.0.8 to support 10GB cache upload
v2.3.0
: Support caching dependenciesCompare Source
This release introduces dependency caching support (https://github.com/actions/setup-python/pull/266)
Caching dependencies.
The action has a built-in functionality for caching and restoring pip/pipenv dependencies. The
cache
input is optional, and caching is turned off by default.Besides, this release introduces dependency caching support for mono repos and repositories with complex structure.
By default, the action searches for the dependency file (requirements.txt for pip or Pipfile.lock for pipenv) in the whole repository. Use the
cache-dependency-path
input for cases when you want to override current behaviour and use different file for hash generation (for example requirements-dev.txt). This input supports wildcards or a list of file names for caching multiple dependencies.Caching pip dependencies:
Caching pipenv dependencies:
Change dependency file:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.