Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update actions/setup-python action to v4.6.1 #201

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 12, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
actions/setup-python action minor v4 -> v4.6.1

Release Notes

actions/setup-python

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:

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 (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 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 (https://github.com/actions/setup-python/pull/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 (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 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

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:


Configuration

📅 Schedule: Branch creation - "before 6am every weekday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. github_actions labels Jun 12, 2023
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (6f48194) 100.00% compared to head (4ce5d78) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #201   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines           85        85           
  Branches         7         7           
=========================================
  Hits            85        85           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@renovate renovate bot force-pushed the renovate/actions-setup-python-4.x branch 2 times, most recently from 0d0cf1b to c0147c5 Compare June 12, 2023 08:54
@renovate renovate bot force-pushed the renovate/actions-setup-python-4.x branch from c0147c5 to 4ce5d78 Compare June 12, 2023 09:46
@klaasnicolaas klaasnicolaas merged commit 779f1a5 into main Jun 12, 2023
@renovate renovate bot deleted the renovate/actions-setup-python-4.x branch June 12, 2023 11:12
@github-actions github-actions bot locked and limited conversation to collaborators Jun 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Upgrade or downgrade of project dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant