Skip to content

Commit b006c9b

Browse files
bors[bot]dependabot[bot]alallema
authored
Merge #571
571: Bump actions/setup-python from 2 to 4 r=alallema a=dependabot[bot] Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h3>What's Changed</h3> <ul> <li>Support for <code>python-version-file</code> input: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/336">#336</a></li> </ul> <p>Example of usage:</p> <pre lang="yaml"><code>- uses: actions/setup-python@v4 with: python-version-file: '.python-version' # Read python version from a file - run: python my_script.py </code></pre> <p>There is no default python version for this <code>setup-python</code> major version, the action requires to specify either <code>python-version</code> input or <code>python-version-file</code> input. If the <code>python-version</code> input is not specified the action will try to read required version from file from <code>python-version-file</code> input.</p> <ul> <li>Use pypyX.Y for PyPy <code>python-version</code> input: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/349">#349</a></li> </ul> <p>Example of usage:</p> <pre lang="yaml"><code>- uses: actions/setup-python@v4 with: python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility - run: python my_script.py </code></pre> <ul> <li> <p><code>RUNNER_TOOL_CACHE</code> environment variable is equal <code>AGENT_TOOLSDIRECTORY</code>: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/338">#338</a></p> </li> <li> <p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/347">#347</a></p> </li> <li> <p><code>PKG_CONFIG_PATH</code> environment variable: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/400">#400</a></p> </li> <li> <p>Added <code>python-path</code> output: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/405">#405</a> <code>python-path</code> output contains Python executable path.</p> </li> <li> <p>Updated <code>zeit/ncc</code> to <code>vercel/ncc</code> package: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/393">#393</a></p> </li> <li> <p>Bugfix: fixed output for prerelease version of poetry: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/409">#409</a></p> </li> <li> <p>Made <code>pythonLocation</code> environment variable consistent for Python and PyPy: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/418">#418</a></p> </li> <li> <p>Bugfix for <code>3.x-dev</code> syntax: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/417">#417</a></p> </li> <li> <p>Other improvements: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/318">#318</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/396">#396</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/384">#384</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/387">#387</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/388">#388</a></p> </li> </ul> <h2>Update actions/cache version to 2.0.2</h2> <p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes related to GHES 3.5 (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/382">actions/setup-python#382</a>)</p> <h2>Add &quot;cache-hit&quot; output and fix &quot;python-version&quot; output for PyPy</h2> <p>This release introduces new output cache-hit (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/373">actions/setup-python#373</a>) and fix python-version output for PyPy (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/365">actions/setup-python#365</a>)</p> <p>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.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-python/commit/13ae5bb136fac2878aff31522b9efb785519f984"><code>13ae5bb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/517">#517</a> from rentziass/rentziass/update-actions-core</li> <li><a href="https://github.com/actions/setup-python/commit/0c4d7b878c451046f4c9003d4b7c6a28d18e16d7"><code>0c4d7b8</code></a> Update <code>`@​actions/core</code>` to 1.10.0</li> <li><a href="https://github.com/actions/setup-python/commit/13a464fa1180c0025831475fa35bb1878b1a4728"><code>13a464f</code></a> Fix typo (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/503">#503</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/b4fe97ecda6b7a5fcd2448cdbf6a8fc76b3bedb0"><code>b4fe97e</code></a> upgrade <code>`@​actions/cache</code>` so it respects SEGMENT_DOWNLOAD_TIMEOUT_MINS (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/499">#499</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/434aeabbb4286782ee8393c55a08efe7edd89027"><code>434aeab</code></a> Bump <code>`@​actions/core</code>` from 1.7.0 to 1.9.1 (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/495">#495</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/98c991d13f3149457a7c1ac4083885d0d9db98e1"><code>98c991d</code></a> Only use github.token on github.com (<a href="https://github-redirect.dependabot.com/actions/setup-python/issues/443">#443</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/397a35f9886aa9c6f22fb1dc41eefccf99deb2fb"><code>397a35f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/492">#492</a> from al-cheb/al-cheb/update-runner-link</li> <li><a href="https://github.com/actions/setup-python/commit/48a0f006ffb715bfd0eb1ae1a2d62f61a7fa231f"><code>48a0f00</code></a> Update runner links</li> <li><a href="https://github.com/actions/setup-python/commit/978fd06d1f249d7f080233457c2ae6324d08eac2"><code>978fd06</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/491">#491</a> from lkfortuna/patch-2</li> <li><a href="https://github.com/actions/setup-python/commit/050e616f665562657a663dd1cc4b9ac6fb194d28"><code>050e616</code></a> Update README.md</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-python/compare/v2...v4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=2&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Amélie <[email protected]>
2 parents cbf14b6 + 696ce4f commit b006c9b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fetch-depth: 0
1414
lfs: true
1515
- name: Install Python
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: '3.10'
1919
- name: Install pipenv

.github/workflows/pre-release-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v3
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v4
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Install pipenv

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: '3.7'
1717
- name: Check release validity

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v3
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v4
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install pipenv
@@ -41,7 +41,7 @@ jobs:
4141
steps:
4242
- uses: actions/checkout@v3
4343
- name: Set up Python 3.7
44-
uses: actions/setup-python@v2
44+
uses: actions/setup-python@v4
4545
with:
4646
python-version: 3.7
4747
- name: Install pipenv
@@ -57,7 +57,7 @@ jobs:
5757
steps:
5858
- uses: actions/checkout@v3
5959
- name: Set up Python 3.9
60-
uses: actions/setup-python@v2
60+
uses: actions/setup-python@v4
6161
with:
6262
python-version: 3.9
6363
- name: Install pipenv

0 commit comments

Comments
 (0)