Skip to content

Commit

Permalink
Bump actions/setup-python from 2 to 4 in /.github/actions/lint (#21925)
Browse files Browse the repository at this point in the history
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.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.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.com/actions/setup-python/issues/338">#338</a></p>
</li>
<li>
<p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a
href="https://github.com/actions/setup-python/issues/347">#347</a></p>
</li>
<li>
<p><code>PKG_CONFIG_PATH</code> environment variable: <a
href="https://github.com/actions/setup-python/issues/400">#400</a></p>
</li>
<li>
<p>Added <code>python-path</code> output: <a
href="https://github.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.com/actions/setup-python/issues/393">#393</a></p>
</li>
<li>
<p>Bugfix: fixed output for prerelease version of poetry: <a
href="https://github.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.com/actions/setup-python/issues/418">#418</a></p>
</li>
<li>
<p>Bugfix for <code>3.x-dev</code> syntax: <a
href="https://github.com/actions/setup-python/issues/417">#417</a></p>
</li>
<li>
<p>Other improvements: <a
href="https://github.com/actions/setup-python/issues/318">#318</a>
<a
href="https://github.com/actions/setup-python/issues/396">#396</a>
<a
href="https://github.com/actions/setup-python/issues/384">#384</a>
<a
href="https://github.com/actions/setup-python/issues/387">#387</a>
<a
href="https://github.com/actions/setup-python/issues/388">#388</a></p>
</li>
</ul>
<h2>v3.1.4</h2>
<h2>What's Changed</h2>
<p>In the scope of this patch release, the warning for deprecating
Python 2.x was added in <a
href="https://github.com/actions/setup-python/pull/674">actions/setup-python#674</a>
by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a></p>
<p>For more information, check out <a
href="https://github.com/actions/setup-python/issues/672">actions/setup-python#672</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/61a6322f88396a6271a6ee3565807d608ecaddd1"><code>61a6322</code></a>
Fix typos found by codespell (<a
href="https://github.com/actions/setup-python/issues/650">#650</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/ea5b57fccc93aea0d77e6225efa19adaec3fce0d"><code>ea5b57f</code></a>
Bump semver from 7.3.8 to 7.5.2 (<a
href="https://github.com/actions/setup-python/issues/692">#692</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/014d32a83013b439dd2a147051d855831576a3ef"><code>014d32a</code></a>
Bump tough-cookie and <code>@​azure/ms-rest-js</code> (<a
href="https://github.com/actions/setup-python/issues/697">#697</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/c16c4b8d1828103eda022b2cade091238fe08311"><code>c16c4b8</code></a>
Fix pipenv jobs (<a
href="https://github.com/actions/setup-python/issues/699">#699</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0d5da6a89a3aa5b4dbd48e38b0c9d678b0caa0e5"><code>0d5da6a</code></a>
Read python version from pyproject.toml (fix <a
href="https://github.com/actions/setup-python/issues/542">#542</a>)
(<a
href="https://github.com/actions/setup-python/issues/669">#669</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/3f824b7ca6388f5e27e362d31352e6456c8e3bfb"><code>3f824b7</code></a>
remove python 2.7 from the tests (<a
href="https://github.com/actions/setup-python/issues/687">#687</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/bd6b4b6205c4dbad673328db7b31b7fab9e241c0"><code>bd6b4b6</code></a>
Add warning for python 2.7 (<a
href="https://github.com/actions/setup-python/issues/673">#673</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/0cbcb9a3d7c0b228a2c4fbde82b6e8855233cd92"><code>0cbcb9a</code></a>
Merge pull request <a
href="https://github.com/actions/setup-python/issues/668">#668</a>
from akv-platform/disallow-implicit-dependencies</li>
<li><a
href="https://github.com/actions/setup-python/commit/669664dac1a46a4bb872089e1a90e4ad5dc232a6"><code>669664d</code></a>
Merge branch 'tool-config-auto-update' into
disallow-implicit-dependencies</li>
<li><a
href="https://github.com/actions/setup-python/commit/9cbf792a3cbbd9c37749da21d3b171b927451bb0"><code>9cbf792</code></a>
Update configuration files</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)

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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 Sep 6, 2023
1 parent b5d4249 commit 835bc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
shell: bash

- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip'
Expand Down

0 comments on commit 835bc16

Please sign in to comment.