actions/setup-python (actions/setup-python)
### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0)
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0)
#### What's Changed
In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy:
```yaml
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 'graalpy-22.3'
- run: python my_script.py
```
Besides, the release contains such changes as:
- Trim python version when reading from file by [@FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628)
- Use non-deprecated versions in examples by [@jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724)
- Change deprecation comment to past tense by [@jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723)
- Bump [@babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743)
- advanced-usage.md: Encourage the use actions/checkout@v4 by [@cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729)
- Examples now use checkout@v4 by [@simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738)
- Update actions/checkout to v4 by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761)
#### New Contributors
- [@FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628)
- [@timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)
- [@jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724)
**Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.8.0
### [`v4.7.1`](https://togithub.com/actions/setup-python/releases/tag/v4.7.1)
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.0...v4.7.1)
#### What's Changed
- Bump word-wrap from 1.2.3 to 1.2.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/702](https://togithub.com/actions/setup-python/pull/702)
- Add range validation for toml files by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/726](https://togithub.com/actions/setup-python/pull/726)
**Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.7.1
### [`v4.7.0`](https://togithub.com/actions/setup-python/releases/tag/v4.7.0)
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.6.1...v4.7.0)
In scope of this release, the support for reading python version from pyproject.toml was added ([https://github.com/actions/setup-python/pull/669](https://togithub.com/actions/setup-python/pull/669)).
```yaml
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version-file: pyproject.toml
```
##### Besides, it includes such changes as:
- Bump tough-cookie and [@azure/ms-rest-js](https://togithub.com/azure/ms-rest-js) by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/697](https://togithub.com/actions/setup-python/pull/697)
- Bump semver from 7.3.8 to 7.5.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/692](https://togithub.com/actions/setup-python/pull/692)
- Fix typos found by codespell by [@DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/actions/setup-python/pull/650](https://togithub.com/actions/setup-python/pull/650)
#### New Contributors
- [@dariocurr](https://togithub.com/dariocurr) made their first contribution in [https://github.com/actions/setup-python/pull/669](https://togithub.com/actions/setup-python/pull/669)
- [@DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) made their first contribution in [https://github.com/actions/setup-python/pull/650](https://togithub.com/actions/setup-python/pull/650)
**Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.7.0
### [`v4.6.1`](https://togithub.com/actions/setup-python/releases/tag/v4.6.1)
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.6.0...v4.6.1)
#### What's Changed
- Fix `allow-prereleases` sample configuration by [@mayeut](https://togithub.com/mayeut) in [https://github.com/actions/setup-python/pull/615](https://togithub.com/actions/setup-python/pull/615)
- Fix a incorrect link advanced-usage.md by [@siyuan0322](https://togithub.com/siyuan0322) in [https://github.com/actions/setup-python/pull/657](https://togithub.com/actions/setup-python/pull/657)
- Remove implicit dependency by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-python/pull/668](https://togithub.com/actions/setup-python/pull/668)
- Automatic update of configuration files from 05/23/2023 by [@github-actions](https://togithub.com/github-actions) in [https://github.com/actions/setup-python/pull/671](https://togithub.com/actions/setup-python/pull/671)
- Add warning for python 2.7 on release/v4 by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/673](https://togithub.com/actions/setup-python/pull/673)
#### New Contributors
- [@siyuan0322](https://togithub.com/siyuan0322) made their first contribution in [https://github.com/actions/setup-python/pull/657](https://togithub.com/actions/setup-python/pull/657)
- [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-python/pull/668](https://togithub.com/actions/setup-python/pull/668)
**Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.6.1
### [`v4.6.0`](https://togithub.com/actions/setup-python/releases/tag/v4.6.0): Add allow-prereleases input
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.5.0...v4.6.0)
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 available](https://togithub.com/actions/setup-python/pull/414)
```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.12
allow-prereleases: true
```
Besides, we added such changes as:
- Fix bug to trim new line for PyPy version: [https://github.com/actions/setup-python/pull/610](https://togithub.com/actions/setup-python/pull/610)
- Added pip dependency file to generate hash from it: [https://github.com/actions/setup-python/pull/604](https://togithub.com/actions/setup-python/pull/604)
- Improved error handling for saving and restoring cache: [https://github.com/actions/setup-python/pull/618](https://togithub.com/actions/setup-python/pull/618)
- Add warning if cache paths are empty: [https://github.com/actions/setup-python/pull/642](https://togithub.com/actions/setup-python/pull/642)
### [`v4.5.0`](https://togithub.com/actions/setup-python/releases/tag/v4.5.0): Fix cache issue for Poetry projects located in subfolders
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.4.0...v4.5.0)
In scope of this release we fixed cache issue for Poetry projects located in subfolders ([https://github.com/actions/setup-python/issues/446](https://togithub.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](https://togithub.com/actions/setup-python/pull/579)).
### [`v4.4.0`](https://togithub.com/actions/setup-python/releases/tag/v4.4.0): Add support to install multiple python versions
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.3.1...v4.4.0)
In scope of this release we added support to [install multiple python versions](https://togithub.com/actions/setup-python/pull/567). For this you can try to use this snippet:
```yaml
- uses: actions/setup-python@v4
with:
python-version: |
3.8
3.9
3.10
```
Besides, we changed logic with throwing the error for GHES if cache is unavailable to warn ([https://github.com/actions/setup-python/pull/566](https://togithub.com/actions/setup-python/pull/566)).
### [`v4.3.1`](https://togithub.com/actions/setup-python/releases/tag/v4.3.1): Improve error handling and messages
[Compare Source](https://togithub.com/actions/setup-python/compare/v4.3.0...v4.3.1)
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](https://togithub.com/actions/setup-python/pull/559)). Besides, the release
- fixes issue about [specifying architecture for pypy-nightly on Windows](https://togithub.com/actions/setup-python/issues/518) with related [pull request](https://togithub.com/actions/setup-python/pull/520).
- improves error handling for Http Errors ([https://github.com/actions/setup-python/pull/511](https://togithub.com/actions/setup-python/pull/511)).
- updates minimatch ([https://github.com/actions/setup-python/pull/558](https://togithub.com/actions/setup-python/pull/558)).
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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v4.3.0
->v4.8.0
Release Notes
actions/setup-python (actions/setup-python)
### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0) #### What's Changed In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy: ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 'graalpy-22.3' - run: python my_script.py ``` Besides, the release contains such changes as: - Trim python version when reading from file by [@FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - Use non-deprecated versions in examples by [@jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) - Change deprecation comment to past tense by [@jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723) - Bump [@babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743) - advanced-usage.md: Encourage the use actions/checkout@v4 by [@cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729) - Examples now use checkout@v4 by [@simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738) - Update actions/checkout to v4 by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761) #### New Contributors - [@FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - [@timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694) - [@jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) **Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.8.0 ### [`v4.7.1`](https://togithub.com/actions/setup-python/releases/tag/v4.7.1) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.0...v4.7.1) #### What's Changed - Bump word-wrap from 1.2.3 to 1.2.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/702](https://togithub.com/actions/setup-python/pull/702) - Add range validation for toml files by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/726](https://togithub.com/actions/setup-python/pull/726) **Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.7.1 ### [`v4.7.0`](https://togithub.com/actions/setup-python/releases/tag/v4.7.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.6.1...v4.7.0) In scope of this release, the support for reading python version from pyproject.toml was added ([https://github.com/actions/setup-python/pull/669](https://togithub.com/actions/setup-python/pull/669)). ```yaml - name: Setup Python uses: actions/setup-python@v4 with: python-version-file: pyproject.toml ``` ##### Besides, it includes such changes as: - Bump tough-cookie and [@azure/ms-rest-js](https://togithub.com/azure/ms-rest-js) by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/697](https://togithub.com/actions/setup-python/pull/697) - Bump semver from 7.3.8 to 7.5.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/692](https://togithub.com/actions/setup-python/pull/692) - Fix typos found by codespell by [@DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) in [https://github.com/actions/setup-python/pull/650](https://togithub.com/actions/setup-python/pull/650) #### New Contributors - [@dariocurr](https://togithub.com/dariocurr) made their first contribution in [https://github.com/actions/setup-python/pull/669](https://togithub.com/actions/setup-python/pull/669) - [@DimitriPapadopoulos](https://togithub.com/DimitriPapadopoulos) made their first contribution in [https://github.com/actions/setup-python/pull/650](https://togithub.com/actions/setup-python/pull/650) **Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.7.0 ### [`v4.6.1`](https://togithub.com/actions/setup-python/releases/tag/v4.6.1) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.6.0...v4.6.1) #### What's Changed - Fix `allow-prereleases` sample configuration by [@mayeut](https://togithub.com/mayeut) in [https://github.com/actions/setup-python/pull/615](https://togithub.com/actions/setup-python/pull/615) - Fix a incorrect link advanced-usage.md by [@siyuan0322](https://togithub.com/siyuan0322) in [https://github.com/actions/setup-python/pull/657](https://togithub.com/actions/setup-python/pull/657) - Remove implicit dependency by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-python/pull/668](https://togithub.com/actions/setup-python/pull/668) - Automatic update of configuration files from 05/23/2023 by [@github-actions](https://togithub.com/github-actions) in [https://github.com/actions/setup-python/pull/671](https://togithub.com/actions/setup-python/pull/671) - Add warning for python 2.7 on release/v4 by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/673](https://togithub.com/actions/setup-python/pull/673) #### New Contributors - [@siyuan0322](https://togithub.com/siyuan0322) made their first contribution in [https://github.com/actions/setup-python/pull/657](https://togithub.com/actions/setup-python/pull/657) - [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-python/pull/668](https://togithub.com/actions/setup-python/pull/668) **Full Changelog**: https://github.com/actions/setup-python/compare/v4...v4.6.1 ### [`v4.6.0`](https://togithub.com/actions/setup-python/releases/tag/v4.6.0): Add allow-prereleases input [Compare Source](https://togithub.com/actions/setup-python/compare/v4.5.0...v4.6.0) 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 available](https://togithub.com/actions/setup-python/pull/414) ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: 3.12 allow-prereleases: true ``` Besides, we added such changes as: - Fix bug to trim new line for PyPy version: [https://github.com/actions/setup-python/pull/610](https://togithub.com/actions/setup-python/pull/610) - Added pip dependency file to generate hash from it: [https://github.com/actions/setup-python/pull/604](https://togithub.com/actions/setup-python/pull/604) - Improved error handling for saving and restoring cache: [https://github.com/actions/setup-python/pull/618](https://togithub.com/actions/setup-python/pull/618) - Add warning if cache paths are empty: [https://github.com/actions/setup-python/pull/642](https://togithub.com/actions/setup-python/pull/642) ### [`v4.5.0`](https://togithub.com/actions/setup-python/releases/tag/v4.5.0): Fix cache issue for Poetry projects located in subfolders [Compare Source](https://togithub.com/actions/setup-python/compare/v4.4.0...v4.5.0) In scope of this release we fixed cache issue for Poetry projects located in subfolders ([https://github.com/actions/setup-python/issues/446](https://togithub.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](https://togithub.com/actions/setup-python/pull/579)). ### [`v4.4.0`](https://togithub.com/actions/setup-python/releases/tag/v4.4.0): Add support to install multiple python versions [Compare Source](https://togithub.com/actions/setup-python/compare/v4.3.1...v4.4.0) In scope of this release we added support to [install multiple python versions](https://togithub.com/actions/setup-python/pull/567). For this you can try to use this snippet: ```yaml - uses: actions/setup-python@v4 with: python-version: | 3.8 3.9 3.10 ``` Besides, we changed logic with throwing the error for GHES if cache is unavailable to warn ([https://github.com/actions/setup-python/pull/566](https://togithub.com/actions/setup-python/pull/566)). ### [`v4.3.1`](https://togithub.com/actions/setup-python/releases/tag/v4.3.1): Improve error handling and messages [Compare Source](https://togithub.com/actions/setup-python/compare/v4.3.0...v4.3.1) 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](https://togithub.com/actions/setup-python/pull/559)). Besides, the release - fixes issue about [specifying architecture for pypy-nightly on Windows](https://togithub.com/actions/setup-python/issues/518) with related [pull request](https://togithub.com/actions/setup-python/pull/520). - improves error handling for Http Errors ([https://github.com/actions/setup-python/pull/511](https://togithub.com/actions/setup-python/pull/511)). - updates minimatch ([https://github.com/actions/setup-python/pull/558](https://togithub.com/actions/setup-python/pull/558)).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.