Skip to content

Commit

Permalink
Bump actions/setup-python from 3.1.2 to 4.3.0 (aio-libs#7023)
Browse files Browse the repository at this point in the history
Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 3.1.2 to 4.3.0.
<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.3.0</h2>
<ul>
<li>Update <code>@​actions/core</code> to 1.10.0 version <a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/517">#517</a></li>
<li>Update <code>@​actions/cache</code> to 3.0.4 version <a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/499">#499</a></li>
<li>Only use github.token on github.com <a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/443">#443</a></li>
<li>Improvement of documentation <a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/477">#477</a>
<a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/479">#479</a>
<a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/491">#491</a>
<a
href="https://github-redirect.dependabot.com/actions/setup-python/issues/492">#492</a></li>
</ul>
<h2>Add check-latest input and bug fixes</h2>
<p>In scope of this release we add the <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/406">check-latest</a> 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 <a
href="https://github.com/actions/python-versions">python-versions</a> repository.
By default check-latest is set to false. For PyPy it will to try to
reach <a
href="https://downloads.python.org/pypy/versions.json">https://downloads.python.org/pypy/versions.json</a></p>
<h3>Example of usage:</h3>
<pre lang="yaml"><code>steps:
  - uses: actions/checkout@v3
  - uses: actions/setup-python@v4
    with:
      python-version: '3.9'
      check-latest: true
  - run: python --version
</code></pre>
<p>Besides, it includes such changes as</p>
<ul>
<li>Resolved logs for python-version and file inputs: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/465">actions/setup-python#465</a></li>
<li>Added linux os release info to primary key: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/467">actions/setup-python#467</a></li>
<li>Added fix to change Python versions for poetry: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/445">actions/setup-python#445</a></li>
<li>Fix Tool Path handling for self-hosted runners: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/466">actions/setup-python#466</a></li>
</ul>
<h2>v4.1.0</h2>
<p>In scope of this pull request we updated <code>actions/cache</code>
package as the new version contains fixes for <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/448">caching
error handling</a>. Moreover, we added a new input <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/411">update-environment</a>.
This option allows to specify if the action shall update environment
variables (default) or not.</p>
<h3>Update-environment input</h3>
<pre lang="yaml"><code>    - name: setup-python 3.9
      uses: actions/setup-python@v4
      with:
        python-version: 3.9
        update-environment: false
</code></pre>
<p><strong>Besides, we added such changes as:</strong></p>
<ul>
<li>Allow python-version-file to be a relative path: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/431">actions/setup-python#431</a></li>
<li>Added new environment variables for <code>Cmake</code>: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/440">actions/setup-python#440</a></li>
<li>Updated error message for resolveVersion: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/450">actions/setup-python#450</a></li>
<li>Assign default value of <code>AGENT_TOOLSDIRECTORY</code> if not
set: <a
href="https://github-redirect.dependabot.com/actions/setup-python/pull/394">actions/setup-python#394</a></li>
</ul>
<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>
<!-- 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/v3.1.2...v4.3.0">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=3.1.2&new-version=4.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually 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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 14, 2022
1 parent c0b5589 commit 3e51059
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
submodules: true
- name: Setup Python 3.8
uses: actions/setup-python@v4
uses: actions/setup-python@v4.3.0
with:
python-version: 3.8
- name: Cache PyPI
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
submodules: true
- name: Setup Python ${{ matrix.pyver }}
id: python-install
uses: actions/setup-python@v4
uses: actions/setup-python@v4.3.0
with:
python-version: ${{ matrix.pyver }}
- name: Get pip cache dir
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
with:
submodules: true
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v4.3.0
- name: Update pip, wheel, setuptools, build, twine
run: |
python -m pip install -U pip wheel setuptools build twine
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
fi
shell: bash
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v4.3.0
with:
python-version: 3.x
- name: Update pip, wheel, setuptools, build, twine
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
gh pr checkout ${{ github.event.pull_request.number }}
- name: Setup Python
uses: actions/setup-python@v3.1.2
uses: actions/setup-python@v4.3.0
- name: Cache PyPI
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 3e51059

Please sign in to comment.