Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Sep 4, 2025

This PR contains the following updates:

Package Type Update Change
actions/setup-python action major v4 -> v6.1.0

Release Notes

actions/setup-python (actions/setup-python)

v6.1.0

Compare Source

What's Changed
Enhancements:
Dependency and Documentation updates:
New Contributors

Full Changelog: actions/setup-python@v6...v6.1.0

v6.0.0

Compare Source

What's Changed

Breaking Changes

Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. See Release Notes

Enhancements:
Bug fixes:
Dependency updates:

New Contributors

Full Changelog: actions/setup-python@v5...v6.0.0

v5.6.0

Compare Source

What's Changed

Full Changelog: actions/setup-python@v5...v5.6.0

v5.5.0

Compare Source

What's Changed

Enhancements:
Bug fixes:
  • Fix architecture for pypy on Linux ARM64 by @​mayeut in #​1011
    This update maps arm64 to aarch64 for Linux ARM64 PyPy installations.
Dependency updates:

New Contributors

Full Changelog: actions/setup-python@v5...v5.5.0

v5.4.0

Compare Source

What's Changed

Enhancements:
Documentation changes:
Dependency updates:

New Contributors

Full Changelog: actions/setup-python@v5...v5.4.0

v5.3.0

Compare Source

What's Changed

Bug Fixes:
Enhancements:

New Contributors

Full Changelog: actions/setup-python@v5...v5.3.0

v5.2.0

Compare Source

What's Changed

Bug fixes:
  • Add .zip extension to Windows package downloads for Expand-Archive Compatibility by @​priyagupta108 in #​916
    This addresses compatibility issues on Windows self-hosted runners by ensuring that the filenames for Python and PyPy package downloads explicitly include the .zip extension, allowing the Expand-Archive command to function correctly.
  • Add arch to cache key by @​Zxilly in #​896
    This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts.
    Note: This change may break previous cache keys as they will no longer be compatible with the new format.
Documentation changes:
Dependency updates:

New Contributors

Full Changelog: actions/setup-python@v5...v5.2.0

v5.1.1

Compare Source

What's Changed

Bug fixes:
  • fix(ci): update all failing workflows by @​mayeut in #​863
    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 (#​772). Besides, we update dependencies to the latest versions.

Full Changelog: actions/setup-python@v4.8.0...v5.0.0

v4.9.1

Compare Source

What's Changed

Full Changelog: actions/setup-python@v4...v4.9.1

v4.9.0

Compare Source

What's Changed

  • Upgrade actions/cache to 4.0.3 by @​priya-kinthali in #​1073
    In scope of this release we updated actions/cache package to ensure continued support and compatibility, as older versions of the package are now deprecated. For more information please refer to the toolkit/cache.

Full Changelog: actions/setup-python@v4.8.0...v4.9.0

v4.8.0

Compare Source

What's Changed

In scope of this release we added support for GraalPy (#​694). You can use this snippet to set up GraalPy:

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:

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 (#​669).

      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version-file: pyproject.toml
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

New Contributors

Full Changelog: actions/setup-python@v4...v4.6.1

v4.6.0: Add allow-prereleases input

Compare 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 available

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: #​610
  • Added pip dependency file to generate hash from it: #​604
  • Improved error handling for saving and restoring cache: #​618
  • Add warning if cache paths are empty: #​642

v4.5.0: Fix cache issue for Poetry projects located in subfolders

Compare Source

In scope of this release we fixed cache issue for Poetry projects located in subfolders (#​446). Besides that we updated json5 version from 2.2.0 to 2.2.3 (#​579).

v4.4.0: Add support to install multiple python versions

Compare Source

In scope of this release we added support to install multiple python versions. For this you can try to use this snippet:

    - 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 (#​566).

v4.3.1: Improve error handling and messages

Compare Source

In scope of this release we added improved error message to put operating system and its version in the logs (#​559). Besides, the release

v4.3.0

Compare Source

v4.2.0: Add check-latest input and bug fixes

Compare 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:
steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-python@v4
    with:
      python-version: '3.9'
      check-latest: true
  - run: python --version

Besides, it includes such changes as

  • Resolved logs for python-version and file inputs: #​465
  • Added linux os release info to primary key: #​467
  • Added fix to change Python versions for poetry: #​445
  • Fix Tool Path handling for self-hosted runners: #​466

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
    - name: setup-python 3.9
      uses: actions/setup-python@v4
      with:
        python-version: 3.9
        update-environment: false

Besides, we added such changes as:

  • Allow python-version-file to be a relative path: #​431
  • Added new environment variables for Cmake: #​440
  • Updated error message for resolveVersion: #​450
  • Assign default value of AGENT_TOOLSDIRECTORY if not set: #​394

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label Sep 4, 2025
@renovate renovate bot force-pushed the renovate/actions-setup-python-6.x branch 2 times, most recently from 85ca68f to 1e75f56 Compare October 22, 2025 05:15
@renovate renovate bot force-pushed the renovate/actions-setup-python-6.x branch from 1e75f56 to d1259e4 Compare November 25, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant