Skip to content

Commit

Permalink
Bump actions/setup-python from 3 to 4 (#45)
Browse files Browse the repository at this point in the history
Bumps [actions/setup-python](https://github.com/actions/setup-python)
from 3 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://redirect.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://redirect.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://redirect.github.com/actions/setup-python/issues/338">#338</a></p>
</li>
<li>
<p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a
href="https://redirect.github.com/actions/setup-python/issues/347">#347</a></p>
</li>
<li>
<p><code>PKG_CONFIG_PATH</code> environment variable: <a
href="https://redirect.github.com/actions/setup-python/issues/400">#400</a></p>
</li>
<li>
<p>Added <code>python-path</code> output: <a
href="https://redirect.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://redirect.github.com/actions/setup-python/issues/393">#393</a></p>
</li>
<li>
<p>Bugfix: fixed output for prerelease version of poetry: <a
href="https://redirect.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://redirect.github.com/actions/setup-python/issues/418">#418</a></p>
</li>
<li>
<p>Bugfix for <code>3.x-dev</code> syntax: <a
href="https://redirect.github.com/actions/setup-python/issues/417">#417</a></p>
</li>
<li>
<p>Other improvements: <a
href="https://redirect.github.com/actions/setup-python/issues/318">#318</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/396">#396</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/384">#384</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/387">#387</a>
<a
href="https://redirect.github.com/actions/setup-python/issues/388">#388</a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/setup-python/commit/d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435"><code>d27e3f3</code></a>
Fix outdated ref to actions/setup-python@v3 in doc (<a
href="https://redirect.github.com/actions/setup-python/issues/581">#581</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/dec86ecf4e7508d3930ae42abcdc575f35ea490d"><code>dec86ec</code></a>
Bump json5 from 2.2.0 to 2.2.3 (<a
href="https://redirect.github.com/actions/setup-python/issues/579">#579</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/4dcd67678fa3503efac0834f974a48946bcc8037"><code>4dcd676</code></a>
Update CODEOWNERS (<a
href="https://redirect.github.com/actions/setup-python/issues/576">#576</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/8b89ef08a08c1818d354fdb6c8af1ae93a2acb01"><code>8b89ef0</code></a>
Use correct Poetry config when collecting Poetry projects (<a
href="https://redirect.github.com/actions/setup-python/issues/447">#447</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/5ccb29d8773c3f3f653e1705f474dfaa8a06a912"><code>5ccb29d</code></a>
Install multiple python versions (<a
href="https://redirect.github.com/actions/setup-python/issues/567">#567</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/c3e033939cccc2ea50f0194cbc59de6fc5265be6"><code>c3e0339</code></a>
Update action to use reusable workflows (<a
href="https://redirect.github.com/actions/setup-python/issues/569">#569</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/206e984b94c0532e57811bc170b0832bc4515975"><code>206e984</code></a>
refactor: Use early return pattern to avoid nested conditions (<a
href="https://redirect.github.com/actions/setup-python/issues/566">#566</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/2c3dd9e7e29afd70cc0950079bde6c979d1f69f9"><code>2c3dd9e</code></a>
Add OS info to the error message (<a
href="https://redirect.github.com/actions/setup-python/issues/559">#559</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/76bbdfadd7792e54db5b82bd04a77913663d4dd6"><code>76bbdfa</code></a>
Update minimatch (<a
href="https://redirect.github.com/actions/setup-python/issues/558">#558</a>)</li>
<li><a
href="https://github.com/actions/setup-python/commit/1aafadcfb96443dc8b2c66d464369fad6ead5571"><code>1aafadc</code></a>
Caching projects that use setup.py (<a
href="https://redirect.github.com/actions/setup-python/issues/549">#549</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-python/compare/v3...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=3&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 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Apr 1, 2023
1 parent 83ba279 commit 1630594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
with:
path: arrow
repository: apache/arrow
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Setup Archery
Expand Down

0 comments on commit 1630594

Please sign in to comment.