Skip to content

Commit

Permalink
Bump astral-sh/setup-uv from 3 to 4 (#2355)
Browse files Browse the repository at this point in the history
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 3
to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0 🌈 Fail when cache local path does not exist when trying to
cache</h2>
<h1>🚨 Breaking change 🚨</h1>
<p>By default, the action will now fail if caching is enabled but there
is nothing to upload (the uv cache directory does not exist).
If you want to ignore this, set the <code>ignore-nothing-to-cache</code>
input to <code>true</code>.</p>
<pre lang="yaml"><code>- name: Ignore nothing to cache
  uses: astral-sh/setup-uv@v3
  with:
    enable-cache: true
    ignore-nothing-to-cache: true
</code></pre>
<hr />
<p>In previous releases only an error got logged when saving the cache
failed. In most cases users did not realize something was wrong with
their config.</p>
<!-- raw HTML omitted -->
<h2>Changes</h2>
<h2>🚨 Breaking changes</h2>
<ul>
<li>Fail when cache local path does not exist when trying to cache <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li>
</ul>
<h2>🐛 Bug fixes</h2>
<ul>
<li>Fail when cache local path does not exist when trying to cache <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li>
<li>Remove working dir from cacheDependencyGlob error message <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/162">#162</a>)</li>
</ul>
<h2>📚 Documentation</h2>
<ul>
<li>Change some formulations in README.md <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/164">#164</a>)</li>
<li>Add comment to clarify process.exit(0) <a
href="https://github.com/eifinger"><code>@​eifinger</code></a> (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/161">#161</a>)</li>
</ul>
<h2>v3.2.4 🌈 Expand <code>~</code> tilde in input paths</h2>
<p>This release adds support for expanding the <code>~</code> character
to the user's home directory for the following inputs:</p>
<ul>
<li><code>cache-local-path</code></li>
<li><code>tool-dir</code></li>
<li><code>tool-bin-dir</code></li>
<li><code>cache-dependency-glob</code></li>
</ul>
<pre lang="yaml"><code>- name: Expand the tilde character
  uses: astral-sh/setup-uv@v3
  with:
    cache-local-path: &quot;~/path/to/cache&quot;
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/38f3f104447c67c051c4a08e39b64a148898af3a"><code>38f3f10</code></a>
Resolve latest version instead of downloading latest release (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/178">#178</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/8bdd012be50ea391c968b486f6510cfe82922108"><code>8bdd012</code></a>
Add test for python-version (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/177">#177</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/5f42d5af6c403a722299fda36d451c39f302a433"><code>5f42d5a</code></a>
Replace v3 with v4 in README.md (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/176">#176</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/26ddfef6e1ae64783f1f3b5227362e4c024732cf"><code>26ddfef</code></a>
Add matrix example for python-version (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/175">#175</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/ee4fa33003f3367d2ce38897d73042bd77c51a3c"><code>ee4fa33</code></a>
Add input python-version (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/174">#174</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/420915557ece42591269f71651dc30ec0389261c"><code>4209155</code></a>
Reduce test matrices (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/173">#173</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/9839fa9fb5f32f6d3d5571d8070a1c2964e89e6d"><code>9839fa9</code></a>
chore: update known checksums for 0.5.5 (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/170">#170</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/196fe5f09868e07f4162735fb2456ee36cc1da1d"><code>196fe5f</code></a>
Speed up updating known checksums (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/166">#166</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/49d8a3d9a881f1ce1e20a028ee845acbab45fbfb"><code>49d8a3d</code></a>
Clarify caching will only fail when enabled and nothing to cache (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/165">#165</a>)</li>
<li><a
href="https://github.com/astral-sh/setup-uv/commit/d8db0a86d3d88f3017a4e6b8a1e2b234e7a0a1b5"><code>d8db0a8</code></a>
Change some formulations in README.md (<a
href="https://redirect.github.com/astral-sh/setup-uv/issues/164">#164</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/setup-uv/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astral-sh/setup-uv&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 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 2, 2024
1 parent b78b6bd commit 164b73d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
# remove -dev suffix
python_version=$(echo ${{ matrix.python-version }} | sed -e s/-dev//)
echo "PYTHON_VERSION=$python_version" >> "${GITHUB_ENV}"
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v4
- name: Install python packages
run: |
uv tool install virtualenv
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: maturin-build
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v4
- run: uv tool install nox
- name: Setup Pyodide
run: nox -s setup-pyodide
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
- 'MANIFEST.in'
- 'Cargo.toml'
- '.github/workflows/test.yml'
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v4
# Caching
- name: Sccache Setup
if: ${{ steps.changes.outputs.changed == 'true' || contains(github.event.pull_request.labels.*.name, 'release') }}
Expand Down

0 comments on commit 164b73d

Please sign in to comment.