Update astral-sh/setup-uv action to v5.4.1 (#17262)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) |
action | minor | `v5` -> `v5.4.1` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary>
###
[`v5.4.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.4.1):
🌈 Add support for pep440 version specifiers
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.4.0...v5.4.1)
##### Changes
With this release you can also use [pep440 version
specifiers](https://peps.python.org/pep-0440/#version-specifiers) as
`required-version` in files`uv.toml`, `pyroject.toml` and in the
`version` input:
```yaml
- name: Install a pep440-specifier-satisfying version of uv
uses: astral-sh/setup-uv@v5
with:
version: ">=0.4.25,<0.5"
```
##### 🐛 Bug fixes
- Add support for pep440 version identifiers
[@​eifinger](https://redirect.github.com/eifinger)
([#​353](https://redirect.github.com/astral-sh/setup-uv/issues/353))
##### 🧰 Maintenance
- chore: update known checksums for 0.6.10
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​345](https://redirect.github.com/astral-sh/setup-uv/issues/345))
##### 📚 Documentation
- Add pep440 to docs header
[@​eifinger](https://redirect.github.com/eifinger)
([#​355](https://redirect.github.com/astral-sh/setup-uv/issues/355))
- Fix glob syntax link
[@​flying-sheep](https://redirect.github.com/flying-sheep)
([#​349](https://redirect.github.com/astral-sh/setup-uv/issues/349))
- Add link to supported glob patterns
[@​eifinger](https://redirect.github.com/eifinger)
([#​348](https://redirect.github.com/astral-sh/setup-uv/issues/348))
###
[`v5.4.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.4.0):
🌈 uv and uvx path as outputs
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.3.1...v5.4.0)
#### Changes
The absolute paths to the uv and uvx binaries can now be accessed via
the outputs `uv-path` and `uvx-path`.
`setup-uv` now also issues a warning if the working directory is empty.
This makes users aware of the common mistake to run `setup-uv` before
`actions/checkout`. You can remove the warning by setting
`ignore-empty-workdir: true`
#### 🚀 Enhancements
- Add uv-path and uvx-path output
[@​eifinger](https://redirect.github.com/eifinger)
([#​341](https://redirect.github.com/astral-sh/setup-uv/issues/341))
- Warn when the workdir is empty
[@​eifinger](https://redirect.github.com/eifinger)
([#​322](https://redirect.github.com/astral-sh/setup-uv/issues/322))
#### 🧰 Maintenance
- chore: update known checksums for 0.6.9
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​339](https://redirect.github.com/astral-sh/setup-uv/issues/339))
- Merge workflows and add all-tests-passed
[@​eifinger](https://redirect.github.com/eifinger)
([#​331](https://redirect.github.com/astral-sh/setup-uv/issues/331))
- chore: update known checksums for 0.6.8
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​332](https://redirect.github.com/astral-sh/setup-uv/issues/332))
- chore: update known checksums for 0.6.7
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​330](https://redirect.github.com/astral-sh/setup-uv/issues/330))
- Set required workflow permissions
[@​eifinger](https://redirect.github.com/eifinger)
([#​329](https://redirect.github.com/astral-sh/setup-uv/issues/329))
- Add workflow_dispatch triggers to every workflow
[@​eifinger](https://redirect.github.com/eifinger)
([#​326](https://redirect.github.com/astral-sh/setup-uv/issues/326))
- Bump dependencies
[@​eifinger](https://redirect.github.com/eifinger)
([#​324](https://redirect.github.com/astral-sh/setup-uv/issues/324))
- Inline action-update-semver
[@​eifinger](https://redirect.github.com/eifinger)
([#​323](https://redirect.github.com/astral-sh/setup-uv/issues/323))
- chore: update known checksums for 0.6.6
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​318](https://redirect.github.com/astral-sh/setup-uv/issues/318))
- chore: update known checksums for 0.6.5
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​313](https://redirect.github.com/astral-sh/setup-uv/issues/313))
#### 📚 Documentation
- Fix wrong warning message in FAQ
[@​eifinger](https://redirect.github.com/eifinger)
([#​337](https://redirect.github.com/astral-sh/setup-uv/issues/337))
- Warn when the workdir is empty
[@​eifinger](https://redirect.github.com/eifinger)
([#​322](https://redirect.github.com/astral-sh/setup-uv/issues/322))
- Remove apk add python3 for musl test
[@​eifinger](https://redirect.github.com/eifinger)
([#​319](https://redirect.github.com/astral-sh/setup-uv/issues/319))
#### ⬆️ Dependency updates
- Bump
[@​actions/cache](https://redirect.github.com/actions/cache) from
4.0.2 to 4.0.3
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​334](https://redirect.github.com/astral-sh/setup-uv/issues/334))
###
[`v5.3.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.3.1):
🌈 - Fix issues with GHES and HTTP proxies
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.3.0...v5.3.1)
##### Changes
This release fixes some issues when this action was used behind a HTTP
proxy or with GHES.
If you have been seeing `ENOTFOUND` or timeout errors, this release
should fix that.
A huge thank you to everyone who helped investigating this and testing
the fixes:
- [@​siryessuhr](https://redirect.github.com/siryessuhr)
- [@​my1e5](https://redirect.github.com/my1e5)
- [@​dennis-m-e](https://redirect.github.com/dennis-m-e)
- [@​PaarthShah](https://redirect.github.com/PaarthShah)
##### 🐛 Bug fixes
- Always fall back to anonymous download
[@​eifinger](https://redirect.github.com/eifinger)
([#​304](https://redirect.github.com/astral-sh/setup-uv/issues/304))
##### 🧰 Maintenance
- chore: update known checksums for 0.6.3
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​300](https://redirect.github.com/astral-sh/setup-uv/issues/300))
##### 📚 Documentation
- 📚 Document automatically enabled cache on GitHub-hosted runners
[@​jerr0328](https://redirect.github.com/jerr0328)
([#​302](https://redirect.github.com/astral-sh/setup-uv/issues/302))
##### ⬆️ Dependency updates
- bump dependencies
[@​eifinger](https://redirect.github.com/eifinger)
([#​308](https://redirect.github.com/astral-sh/setup-uv/issues/308))
- Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​299](https://redirect.github.com/astral-sh/setup-uv/issues/299))
###
[`v5.3.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.3.0):
🌈 Support MUSL, s390x and powerpc
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.2.2...v5.3.0)
In this release we add support for MUSL based systems.
This is helpful if you are running your workflow inside a docker image
based on [alpine](https://hub.docker.com/\_/alpine).
> \[!TIP]
> Please be aware that you have to make sure a python interpreter is
already present (`apk add python3`), see also
https://docs.astral.sh/uv/concepts/python-versions/#cpython-distributions
and
[https://github.com/astral-sh/uv/issues/6890](https://redirect.github.com/astral-sh/uv/issues/6890)
[@​Zxilly](https://redirect.github.com/Zxilly) also added support
for running this action on self-hosted runners using s390x and powerpc
architectures. Thank you!
This release also includes more debug logs which makes tracking down
issues easier in the future.
##### 🐛 Bug fixes
- Add more debug logs
[@​eifinger](https://redirect.github.com/eifinger)
([#​297](https://redirect.github.com/astral-sh/setup-uv/issues/297))
##### 🚀 Enhancements
- Support OS using musl
[@​eifinger](https://redirect.github.com/eifinger)
([#​284](https://redirect.github.com/astral-sh/setup-uv/issues/284))
- feat: support s390x and powerpc
[@​Zxilly](https://redirect.github.com/Zxilly)
([#​289](https://redirect.github.com/astral-sh/setup-uv/issues/289))
##### 🧰 Maintenance
- chore: update known checksums for 0.6.2
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​295](https://redirect.github.com/astral-sh/setup-uv/issues/295))
- chore: update known checksums for 0.6.1
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​293](https://redirect.github.com/astral-sh/setup-uv/issues/293))
- chore: update known checksums for 0.6.0
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​288](https://redirect.github.com/astral-sh/setup-uv/issues/288))
- chore: update known checksums for 0.5.31
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​277](https://redirect.github.com/astral-sh/setup-uv/issues/277))
- Run update-known-checksums every night
[@​eifinger](https://redirect.github.com/eifinger)
([#​273](https://redirect.github.com/astral-sh/setup-uv/issues/273))
- chore: update known checksums for 0.5.29
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​272](https://redirect.github.com/astral-sh/setup-uv/issues/272))
- chore: update known checksums for 0.5.28
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​270](https://redirect.github.com/astral-sh/setup-uv/issues/270))
- chore: update known checksums for 0.5.27
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​267](https://redirect.github.com/astral-sh/setup-uv/issues/267))
- chore: update known checksums for 0.5.26
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​263](https://redirect.github.com/astral-sh/setup-uv/issues/263))
##### 📚 Documentation
- Add FAQ on resolution strategy and cache not found warnings
[@​eifinger](https://redirect.github.com/eifinger)
([#​296](https://redirect.github.com/astral-sh/setup-uv/issues/296))
###
[`v5.2.2`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.2.2):
🌈 Full support for GHES
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.2.1...v5.2.2)
##### Changes
This release fixes some issues that prevented use with GitHub Enterprise
Server instances.
##### 🐛 Bug fixes
- Do not expect GITHUB_TOKEN to be set or valid
[@​eifinger](https://redirect.github.com/eifinger)
([#​262](https://redirect.github.com/astral-sh/setup-uv/issues/262))
- Fallback if toml file parsing failed
[@​eifinger](https://redirect.github.com/eifinger)
([#​246](https://redirect.github.com/astral-sh/setup-uv/issues/246))
##### 🧰 Maintenance
- chore: update known checksums for 0.5.25
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​259](https://redirect.github.com/astral-sh/setup-uv/issues/259))
- chore: update known checksums for 0.5.24
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​256](https://redirect.github.com/astral-sh/setup-uv/issues/256))
- chore: update known checksums for 0.5.23
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​252](https://redirect.github.com/astral-sh/setup-uv/issues/252))
- chore: update known checksums for 0.5.22
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​250](https://redirect.github.com/astral-sh/setup-uv/issues/250))
- chore: update known checksums for 0.5.21
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#​247](https://redirect.github.com/astral-sh/setup-uv/issues/247))
##### 📚 Documentation
- Fix TOC [@​eifinger](https://redirect.github.com/eifinger)
([#​257](https://redirect.github.com/astral-sh/setup-uv/issues/257))
##### ⬆️ Dependency updates
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.10 to 22.12.0
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​258](https://redirect.github.com/astral-sh/setup-uv/issues/258))
- Bump release-drafter/release-drafter from 6.0.0 to 6.1.0
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​249](https://redirect.github.com/astral-sh/setup-uv/issues/249))
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.9 to 22.10.10
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​254](https://redirect.github.com/astral-sh/setup-uv/issues/254))
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.7 to 22.10.9
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​253](https://redirect.github.com/astral-sh/setup-uv/issues/253))
- Bump
[@​actions/tool-cache](https://redirect.github.com/actions/tool-cache)
from 2.0.1 to 2.0.2
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​244](https://redirect.github.com/astral-sh/setup-uv/issues/244))
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.6 to 22.10.7
@​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot)
([#​243](https://redirect.github.com/astral-sh/setup-uv/issues/243))
###
[`v5.2.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.2.1):
🌈 Support toml spec 1.0.0
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.2.0...v5.2.1)
v5.2.0 introduced TOML parsing using
[@​iarna/toml](https://www.npmjs.com/package/@​iarna/toml)
because we already found out in `astral-sh/ruff-action` that
[toml](https://www.npmjs.com/package/toml) has missing features.
As it turns out
[@​iarna/toml](https://www.npmjs.com/package/@​iarna/toml)
also is not fully TOML spec (1.0.0) compliant.
We now use [smol-toml](https://www.npmjs.com/package/smol-toml)
##### 🐛 Bug fixes
- Support toml spec 1.0.0
[@​eifinger](https://redirect.github.com/eifinger)
([#​245](https://redirect.github.com/astral-sh/setup-uv/issues/245))
###
[`v5.2.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.2.0):
🌈 Detect required-version from config file
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.1.0...v5.2.0)
This release adds support to derive the version of uv to be installed
from `pyproject.toml` and `uv.toml` files.
If no `version` input is defined the default is now to look for a
[required-version](https://docs.astral.sh/uv/reference/settings/#required-version)
in `uv.toml` and then `pyproject.toml` in the repository root. If it
cannot find any it falls back to `latest`.
If your files are at a different place you can use the new inputs
`uv-file` or `pyproject-file`.
##### 🐛 Bug fixes
- Add venv/bin as absolute path to PATH
[@​op](https://redirect.github.com/op)
([#​241](https://redirect.github.com/astral-sh/setup-uv/issues/241))
- fix: make sure VIRTUAL_ENV is an absolute path
[@​samypr100](https://redirect.github.com/samypr100)
([#​224](https://redirect.github.com/astral-sh/setup-uv/issues/224))
##### 🚀 Enhancements
- Detect required-version from config file
[@​eifinger](https://redirect.github.com/eifinger)
([#​233](https://redirect.github.com/astral-sh/setup-uv/issues/233))
##### 🧰 Maintenance
- chore: update known checksums for 0.5.20
[@​github-actions](https://redirect.github.com/github-actions)
([#​238](https://redirect.github.com/astral-sh/setup-uv/issues/238))
- chore: update known checksums for 0.5.19
[@​github-actions](https://redirect.github.com/github-actions)
([#​237](https://redirect.github.com/astral-sh/setup-uv/issues/237))
- chore: update known checksums for 0.5.18
[@​github-actions](https://redirect.github.com/github-actions)
([#​232](https://redirect.github.com/astral-sh/setup-uv/issues/232))
- chore: update known checksums for 0.5.17
[@​github-actions](https://redirect.github.com/github-actions)
([#​231](https://redirect.github.com/astral-sh/setup-uv/issues/231))
- chore: update known checksums for 0.5.16
[@​github-actions](https://redirect.github.com/github-actions)
([#​228](https://redirect.github.com/astral-sh/setup-uv/issues/228))
- chore: update known checksums for 0.5.15
[@​github-actions](https://redirect.github.com/github-actions)
([#​225](https://redirect.github.com/astral-sh/setup-uv/issues/225))
- chore: update known checksums for 0.5.14
[@​github-actions](https://redirect.github.com/github-actions)
([#​222](https://redirect.github.com/astral-sh/setup-uv/issues/222))
- chore: update known checksums for 0.5.12
[@​github-actions](https://redirect.github.com/github-actions)
([#​214](https://redirect.github.com/astral-sh/setup-uv/issues/214))
##### 📚 Documentation
- docs: bump `astral-sh/setup-uv` to `v5`
[@​njzjz](https://redirect.github.com/njzjz)
([#​205](https://redirect.github.com/astral-sh/setup-uv/issues/205))
##### ⬆️ Dependency updates
- Bump [@​octokit/rest](https://redirect.github.com/octokit/rest)
from 21.0.2 to 21.1.0
[@​dependabot](https://redirect.github.com/dependabot)
([#​229](https://redirect.github.com/astral-sh/setup-uv/issues/229))
- Bump typescript from 5.7.2 to 5.7.3
[@​dependabot](https://redirect.github.com/dependabot)
([#​230](https://redirect.github.com/astral-sh/setup-uv/issues/230))
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.5 to 22.10.6
[@​dependabot](https://redirect.github.com/dependabot)
([#​236](https://redirect.github.com/astral-sh/setup-uv/issues/236))
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.3 to 22.10.5
[@​dependabot](https://redirect.github.com/dependabot)
([#​223](https://redirect.github.com/astral-sh/setup-uv/issues/223))
- Bump [@​types/node](https://redirect.github.com/types/node) from
22.10.2 to 22.10.3
[@​dependabot](https://redirect.github.com/dependabot)
([#​220](https://redirect.github.com/astral-sh/setup-uv/issues/220))
- Bump peter-evans/create-pull-request from 7.0.5 to 7.0.6
[@​dependabot](https://redirect.github.com/dependabot)
([#​218](https://redirect.github.com/astral-sh/setup-uv/issues/218))
###
[`v5.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.1.0):
🌈 Fewer cache invalidations
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5.0.1...v5.1.0)
##### Changes
This release includes less frequently invalidated caches and a fix for
setting the correct `VIRTUAL_ENV`
##### 🐛 Bug fixes
- Set VIRTUAL_ENV to .venv instead of .venv/bin
[@​eifinger](https://redirect.github.com/eifinger)
([#​210](https://redirect.github.com/astral-sh/setup-uv/issues/210))
##### 🚀 Enhancements
- Remove uv version from cache key
[@​eifinger](https://redirect.github.com/eifinger)
([#​206](https://redirect.github.com/astral-sh/setup-uv/issues/206))
##### 📚 Documentation
- Align use of `actions/setup-python` with uv docu
[@​eifinger](https://redirect.github.com/eifinger)
([#​207](https://redirect.github.com/astral-sh/setup-uv/issues/207))
###
[`v5.0.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v5.0.1):
🌈 The christmas elves overlooked something
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v5...v5.0.1)
##### Changes
With so many breaking changes so close to the end of the year we missed
something.
Thank you [@​ryanhiebert](https://redirect.github.com/ryanhiebert)
for quickly reporting that our new defaults fail the workflow if neither
a `uv.lock` nor a `requirements*.txt` can be found. This is now a
warning instead.
##### 🐛 Bug fixes
- Fix wrong cacheDependencyPathHash
[@​eifinger](https://redirect.github.com/eifinger)
([#​201](https://redirect.github.com/astral-sh/setup-uv/issues/201))
- Warn instead of fail for no-dependency-glob
[@​eifinger](https://redirect.github.com/eifinger)
([#​200](https://redirect.github.com/astral-sh/setup-uv/issues/200))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>