actions/setup-python
### [`v4.0.0`](https://togithub.com/actions/setup-python/releases/tag/v4.0.0)
[Compare Source](https://togithub.com/actions/setup-python/compare/v3.1.2...v4.0.0)
##### What's Changed
- Support for `python-version-file` input: [#336](https://togithub.com/actions/setup-python/issues/336)
Example of usage:
```yaml
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version' # Read python version from a file
- run: python my_script.py
```
There is no default python version for this `setup-python` major version, the action requires to specify either `python-version` input or `python-version-file` input. If the `python-version` input is not specified the action will try to read required version from file from `python-version-file` input.
- Use pypyX.Y for PyPy `python-version` input: [#349](https://togithub.com/actions/setup-python/issues/349)
Example of usage:
```yaml
- uses: actions/setup-python@v4
with:
python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
- run: python my_script.py
```
- `RUNNER_TOOL_CACHE` environment variable is equal `AGENT_TOOLSDIRECTORY`: [#338](https://togithub.com/actions/setup-python/issues/338)
- Bugfix: create missing `pypyX.Y` symlinks: [#347](https://togithub.com/actions/setup-python/issues/347)
- `PKG_CONFIG_PATH` environment variable: [#400](https://togithub.com/actions/setup-python/issues/400)
- Added `python-path` output: [#405](https://togithub.com/actions/setup-python/issues/405)
`python-path` output contains Python executable path.
- Updated `zeit/ncc` to `vercel/ncc` package: [#393](https://togithub.com/actions/setup-python/issues/393)
- Bugfix: fixed output for prerelease version of poetry: [#409](https://togithub.com/actions/setup-python/issues/409)
- Made `pythonLocation` environment variable consistent for Python and PyPy: [#418](https://togithub.com/actions/setup-python/issues/418)
- Bugfix for `3.x-dev` syntax: [#417](https://togithub.com/actions/setup-python/issues/417)
- Other improvements: [#318](https://togithub.com/actions/setup-python/issues/318) [#396](https://togithub.com/actions/setup-python/issues/396) [#384](https://togithub.com/actions/setup-python/issues/384) [#387](https://togithub.com/actions/setup-python/issues/387) [#388](https://togithub.com/actions/setup-python/issues/388)
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, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v3.1.2
->v4.0.0
Release Notes
actions/setup-python
### [`v4.0.0`](https://togithub.com/actions/setup-python/releases/tag/v4.0.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v3.1.2...v4.0.0) ##### What's Changed - Support for `python-version-file` input: [#336](https://togithub.com/actions/setup-python/issues/336) Example of usage: ```yaml - uses: actions/setup-python@v4 with: python-version-file: '.python-version' # Read python version from a file - run: python my_script.py ``` There is no default python version for this `setup-python` major version, the action requires to specify either `python-version` input or `python-version-file` input. If the `python-version` input is not specified the action will try to read required version from file from `python-version-file` input. - Use pypyX.Y for PyPy `python-version` input: [#349](https://togithub.com/actions/setup-python/issues/349) Example of usage: ```yaml - uses: actions/setup-python@v4 with: python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility - run: python my_script.py ``` - `RUNNER_TOOL_CACHE` environment variable is equal `AGENT_TOOLSDIRECTORY`: [#338](https://togithub.com/actions/setup-python/issues/338) - Bugfix: create missing `pypyX.Y` symlinks: [#347](https://togithub.com/actions/setup-python/issues/347) - `PKG_CONFIG_PATH` environment variable: [#400](https://togithub.com/actions/setup-python/issues/400) - Added `python-path` output: [#405](https://togithub.com/actions/setup-python/issues/405) `python-path` output contains Python executable path. - Updated `zeit/ncc` to `vercel/ncc` package: [#393](https://togithub.com/actions/setup-python/issues/393) - Bugfix: fixed output for prerelease version of poetry: [#409](https://togithub.com/actions/setup-python/issues/409) - Made `pythonLocation` environment variable consistent for Python and PyPy: [#418](https://togithub.com/actions/setup-python/issues/418) - Bugfix for `3.x-dev` syntax: [#417](https://togithub.com/actions/setup-python/issues/417) - Other improvements: [#318](https://togithub.com/actions/setup-python/issues/318) [#396](https://togithub.com/actions/setup-python/issues/396) [#384](https://togithub.com/actions/setup-python/issues/384) [#387](https://togithub.com/actions/setup-python/issues/387) [#388](https://togithub.com/actions/setup-python/issues/388)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 has been generated by Mend Renovate. View repository job log here.