Skip to content

Update actions/setup-python action to v6 - autoclosed#11

Closed
renovate[bot] wants to merge 1 commit intodevfrom
renovate/actions-setup-python-6.x
Closed

Update actions/setup-python action to v6 - autoclosed#11
renovate[bot] wants to merge 1 commit intodevfrom
renovate/actions-setup-python-6.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 20, 2025

This PR contains the following updates:

Package Type Update Change
actions/setup-python action major v2v6
actions/setup-python action major v1v6

Release Notes

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

v6.2.0

Compare Source

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

v6

Compare Source

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

v5

Compare Source

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

v4.0.0

Compare Source

What's Changed
  • Support for python-version-file input: #​336

Example of usage:

- 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

Example of usage:

- 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

  • Bugfix: create missing pypyX.Y symlinks: #​347

  • PKG_CONFIG_PATH environment variable: #​400

  • Added python-path output: #​405
    python-path output contains Python executable path.

  • Updated zeit/ncc to vercel/ncc package: #​393

  • Bugfix: fixed output for prerelease version of poetry: #​409

  • Made pythonLocation environment variable consistent for Python and PyPy: #​418

  • Bugfix for 3.x-dev syntax: #​417

  • Other improvements: #​318 #​396 #​384 #​387 #​388

v4

Compare Source

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 #​674 by @​dmitry-shibanov

For more information, check out #​672

Full Changelog: actions/setup-python@v3...v3.1.4

v3.1.3: Update actions/core to 1.10.0 for v3

Compare Source

In scope of this release we update actions/core to 1.10.0 for v3 major tag: #​624

v3.1.2: Update actions/cache version to 2.0.2

Compare Source

In scope of this release we updated actions/cache package as the new version contains fixes related to GHES 3.5 (#​382)

v3.1.1: Add "cache-hit" output and fix "python-version" output for PyPy

Compare Source

This release introduces new output cache-hit (#​373) and fix python-version output for PyPy (#​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.5

Compare Source

steps:
- uses: actions/checkout@v3
- name: Install poetry
  run: pipx install poetry
- uses: actions/setup-python@v3
  with:
    python-version: '3.9'
    cache: 'poetry'
- run: poetry install
- run: poetry run pytest

v3.0.0

Compare Source

What's Changed

  • Update default runtime to node16 (#​340)
  • Update package-lock.json file version to 2, @types/node to 16.11.25 and typescript to 4.2.3 (#​341)
  • Remove legacy pypy2 and pypy3 keywords (#​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 and pypy3 keywords. Please use more specific and flexible syntax to specify a PyPy version:

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version:
        - 'pypy-2.7' # the latest available version of PyPy that supports Python 2.7
        - 'pypy-3.8' # the latest available version of PyPy that supports Python 3.8
        - 'pypy-3.8-v7.3.8' # Python 3.8 and PyPy 7.3.8
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v3
      with:
        python-version: ${{ matrix.python-version }}

See more usage examples in the documentation

v3

Compare Source

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 #​675 by @​dmitry-shibanov

For more information, check out #​672

Full Changelog: actions/setup-python@v2...v2.3.4

v2.3.3: Update actions/core to 1.10.0 for v2

Compare Source

In scope of this release we update actions/core to 1.10.0 for v2 major tag: #​533.

v2.3.2: Update primary and restore keys for pip

Compare 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.8

Compare Source

We have updated actions/cache dependency version to 1.0.8 to support 10GB cache upload

v2.3.0: Support caching dependencies

Compare Source

This release introduces dependency caching support (#​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:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
- run: pip install -r requirements.txt
- run: pip test
Caching pipenv dependencies:
steps:
- uses: actions/checkout@v2
- name: Install pipenv
  run: pipx install pipenv
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pipenv'
- run: pipenv install
- run: pipenv test
Change dependency file:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
  with:
    python-version: '3.9'
    cache: 'pip'
    cache-dependency-path: '**/requirements-dev.txt'
- run: pip install -r subdirectory/requirements-dev.txt
- run: pip test

v2.2.2

Compare Source

Address PyPy installation issues on Windows: #​196

v2.2.1

Compare Source

  • Fix PyPy3 issues with Windows

v2.2.0

Compare Source

  • Support for PyPy 3.7 in addition to the current 3.6 support
  • Support for Pre-Release distributions of PyPy
  • Support for PyPy Nighly

v2.1.4

Compare Source

  • Improvements for more reliable setup on self-hosted runners

v2.1.3

Compare Source

  • Updates to NPM dependencies
  • Updates to licenses

v2.1.2

Compare Source

  • Add Third Party License Information

v2.1.1

Compare Source

Fix installation logic to prevent leaving files in GITHUB_WORKSPACE
Related issue: #​101

v2.1.0

Compare Source

  • Support for pre-release Python distributions

v2.0.2

Compare Source

  • Improved logs & output when downloading and setting up Python versions
  • Improvements and updates to downloading Python versions from actions/python-versions

v2.0.1

Compare Source


Configuration

📅 Schedule: (UTC)

  • 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Dec 20, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot changed the title Update actions/setup-python action to v6 chore(deps): update actions/setup-python action to v6 Mar 24, 2026
@renovate renovate Bot force-pushed the renovate/actions-setup-python-6.x branch from e240dd4 to 12e241f Compare March 26, 2026 16:29
@renovate renovate Bot force-pushed the renovate/actions-setup-python-6.x branch from 12e241f to 1f549b5 Compare April 8, 2026 19:59
@renovate renovate Bot changed the title chore(deps): update actions/setup-python action to v6 Update actions/setup-python action to v6 Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/actions-setup-python-6.x branch from 1f549b5 to 5259f28 Compare April 21, 2026 18:33
@renovate renovate Bot changed the title Update actions/setup-python action to v6 Update actions/setup-python action to v6 - autoclosed Apr 21, 2026
@renovate renovate Bot closed this Apr 21, 2026
@renovate renovate Bot deleted the renovate/actions-setup-python-6.x branch April 21, 2026 18:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 21, 2026

Look what I found! The automated check results are in. 🔍

I've aggregated the results of the automated checks for this PR below.

🔒 Security (pip-audit)

Evaluating the risk associated with these changes. ⚖️

✅ No known vulnerabilities found (72 packages scanned).

🔍 Lint

I've finished the analysis you requested. 💡

ruff: issues found — see job log

⚖️ License Check

Checking if the licenses are compatible with OVOS. 🧩

❌ License violations detected (53 packages) — review required before merging.

Dependency                          License Name                                            License Type         Misc                                    
ovos-ddg-plugin                     Error                                                   Error                                                        

License Type                        Found                                                  
Error                               1

License distribution: 15× MIT License, 9× MIT, 7× Apache Software License, 6× Apache-2.0, 2× BSD-3-Clause, 2× ISC License (ISCL), 2× PSF-2.0, 2× Python Software Foundation License, +8 more

Full breakdown — 53 packages
Package Version License URL
annotated-types 0.7.0 MIT License link
audioop-lts 0.2.2 PSF-2.0 link
build 1.4.3 MIT link
certifi 2026.2.25 Mozilla Public License 2.0 (MPL 2.0) link
charset-normalizer 3.4.7 MIT link
click 8.3.2 BSD-3-Clause link
combo_lock 0.3.1 Apache-2.0 link
dateparser 1.4.0 BSD License link
filelock 3.29.0 MIT link
idna 3.12 BSD-3-Clause link
importlib_metadata 9.0.0 Apache-2.0 link
json-database 0.10.1 MIT link
kthread 0.2.3 MIT License link
langcodes 3.5.1 MIT License link
markdown-it-py 4.0.0 MIT License link
mdurl 0.1.2 MIT License link
memory-tempfile 2.2.3 MIT License link
ovos-config 1.2.2 Apache-2.0 link
ovos-date-parser 0.6.5 Apache Software License link
ovos-ddg-plugin ⚠️ 1.0.0a1 Apache-2.0 link
ovos-number-parser 0.5.1 Apache Software License link
ovos-plugin-manager 2.4.0a1 Apache-2.0 link
ovos-utils 0.8.5 Apache-2.0 link
ovos_bus_client 1.5.0 Apache Software License link
packaging 26.1 Apache-2.0 OR BSD-2-Clause link
padacioso 1.0.0 apache-2.0 link
pexpect 4.9.0 ISC License (ISCL) link
ptyprocess 0.7.0 ISC License (ISCL) link
pydantic 2.13.3 MIT link
pydantic_core 2.46.3 MIT link
pyee 12.1.1 MIT License link
Pygments 2.20.0 BSD-2-Clause link
pyproject_hooks 1.2.0 MIT License link
python-dateutil 2.9.0.post0 Apache Software License; BSD License link
pytz 2026.1.post1 MIT License link
PyYAML 6.0.3 MIT License link
quebra-frases 0.3.7 Apache Software License link
regex 2026.4.4 Apache-2.0 AND CNRI-Python link
requests 2.33.1 Apache Software License link
rich 13.9.4 MIT License link
rich-click 1.9.7 MIT License

Copyright (c) 2022 Phil Ewels

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
| link |
| simplematch | 1.4 | MIT License | link |
| six | 1.17.0 | MIT License | link |
| standard-aifc | 3.13.0 | Python Software Foundation License | link |
| standard-chunk | 3.13.0 | Python Software Foundation License | link |
| typing-inspection | 0.4.2 | MIT | link |
| typing_extensions | 4.15.0 | PSF-2.0 | link |
| tzlocal | 5.3.1 | MIT License | link |
| unicode-rbnf | 2.4.0 | MIT License | |
| urllib3 | 2.6.3 | MIT | link |
| watchdog | 6.0.0 | Apache Software License | link |
| websocket-client | 1.9.0 | Apache Software License | link |
| zipp | 3.23.1 | MIT | link |

Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed.

📋 Repo Health

Checking for any cluttered files or folders. 🧹

✅ All required files present.

Latest Version: 1.0.0a1

ovos_ddg_plugin/version.py — Version file
README.md — README
LICENSE — License file
pyproject.toml — pyproject.toml
⚠️ setup.py — setup.py
CHANGELOG.md — Changelog
ovos_ddg_plugin/version.py has valid version block markers

🔌 Plugin Detection

I've checked the plugin's 'logging' output. 🪵

ℹ️ Not an OVOS plugin — OPM check skipped.

🔨 Build Tests

Running the forge to see if the code tempers correctly. 🔥

✅ All versions pass

Python Build Install Tests
3.10
3.11
3.12
3.13
3.14

📊 Coverage

Ensuring our code is as robust as it looks. 💎

86.9% total coverage

Per-file coverage (2 files)
File Coverage Missing lines
ovos_ddg_plugin/version.py 0.0% 5
ovos_ddg_plugin/__init__.py 89.2% 20

Full report: download the coverage-report artifact.


From the digital workshop of OpenVoiceOS. 🛠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants