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 v2.3.4 - autoclosed #34

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 12, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
actions/setup-python action minor v2.2.2 -> v2.3.4

Release Notes

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

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 https://github.com/actions/setup-python/pull/675 by @​dmitry-shibanov

For more information, check out https://github.com/actions/setup-python/issues/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: https://github.com/actions/setup-python/pull/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 (https://github.com/actions/setup-python/pull/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

Configuration

📅 Schedule: Branch creation - "after 1am and before 2am on saturday" in timezone Etc/UTC, 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from deusebio and welpaolo August 12, 2023 01:27
@renovate renovate bot changed the title Update actions/setup-python action to v2.3.4 Update actions/setup-python action to v2.3.4 - autoclosed Aug 14, 2023
@renovate renovate bot closed this Aug 14, 2023
@renovate renovate bot deleted the renovate/github-actions branch August 14, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants