build(deps): update astral-sh/setup-uv action to v10 (main)
Metadata
Current evaluation
Closed without merging. The dependency update was abandoned, and Renovate will ignore all future 10.x releases for this repository.
Suggested action: —
No scores available.
Issue body
> ℹ️ **Note**
>
> This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | major | `v5` → `v10.0.1` |
---
### Release Notes
<details>
<summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary>
### [`v10.0.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v10.0.1): 🌈 Tolerate transient manifest timeouts
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v10.0.0...v10.0.1)
##### Changes
Thank you [@​arguile-](https://redirect.github.com/arguile-) for making this action more resilient.
##### 🐛 Bug fixes
- Tolerate transient manifest timeouts [@​arguile-](https://redirect.github.com/arguile-) ([#​1016](https://redirect.github.com/astral-sh/setup-uv/issues/1016))
##### 🧰 Maintenance
- chore: update known checksums for 0.12.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​1017](https://redirect.github.com/astral-sh/setup-uv/issues/1017))
##### 📚 Documentation
- docs: update version references to v10.0.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​1014](https://redirect.github.com/astral-sh/setup-uv/issues/1014))
### [`v10.0.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v10.0.0): 🌈 Disable automatic caching for sensitive events and new QOL features
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v9.0.0...v10.0.0)
##### Changes
Another breaking release, directly after v9.0.0 but we think the added security justifies that.
##### Extra security by default
If you use the default `enable-cache: auto` this will now **DISABLE THE CACHE** to protect against cache poisoning for the following events:
- `pull_request_target`
- `workflow_run`
- `release`
You can read the full reasoning in [#​984](https://redirect.github.com/astral-sh/setup-uv/issues/984)
##### `version: latest-known`
```yaml
- name: Install the latest version of uv known to setup-uv
uses: astral-sh/setup-uv@v10.0.0
with:
version: "latest-known"
```
This will now install the latest version with a checksum that is known by this action. The [known `uv` checksums](https://redirect.github.com/astral-sh/setup-uv/blob/4f6036f71cec78afb113b323f220c9185d983c12/src/download/checksum/known-checksums.ts) are automatically updated but will take a release of this action to take effect. You won't be always using the latest & greatest but you will have an extra level of security.
##### Read python version from `.tool-versions`
```yaml
- name: Install uv based on the version defined in .tool-versions and also set python
uses: astral-sh/setup-uv@v10.0.0
with:
version-file: "pyproject.toml"
```
Will now also set the python version if it is defined in `.tool-versions`. You can read the details [in the docs](https://redirect.github.com/astral-sh/setup-uv/blob/main/docs/advanced-version-configuration.md#install-a-version-defined-in-a-requirements-or-config-file)
##### 🚨 Breaking changes
- Disable automatic caching for sensitive events [@​eifinger](https://redirect.github.com/eifinger) ([#​992](https://redirect.github.com/astral-sh/setup-uv/issues/992))
##### 🐛 Bug fixes
- Reject paths in .tool-versions [@​eifinger](https://redirect.github.com/eifinger) ([#​1007](https://redirect.github.com/astral-sh/setup-uv/issues/1007))
##### 🚀 Enhancements
- Read Python version from .tool-versions [@​eifinger](https://redirect.github.com/eifinger) ([#​996](https://redirect.github.com/astral-sh/setup-uv/issues/996))
- Add latest-known version selector [@​eifinger](https://redirect.github.com/eifinger) ([#​993](https://redirect.github.com/astral-sh/setup-uv/issues/993))
##### 🧰 Maintenance
- Require pull requests for Dependabot rollups [@​eifinger](https://redirect.github.com/eifinger) ([#​1005](https://redirect.github.com/astral-sh/setup-uv/issues/1005))
- ci: pin Alpine container image [@​eifinger](https://redirect.github.com/eifinger) ([#​995](https://redirect.github.com/astral-sh/setup-uv/issues/995))
- chore: update known checksums for 0.12.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​991](https://redirect.github.com/astral-sh/setup-uv/issues/991))
- chore: update known checksums for 0.12.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​985](https://redirect.github.com/astral-sh/setup-uv/issues/985))
- chore: update known checksums for 0.12.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​982](https://redirect.github.com/astral-sh/setup-uv/issues/982))
- chore: update known checksums for 0.12.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​981](https://redirect.github.com/astral-sh/setup-uv/issues/981))
- chore: update known checksums for 0.11.31/0.11.32 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​972](https://redirect.github.com/astral-sh/setup-uv/issues/972))
##### 📚 Documentation
- docs: update version references to v9.0.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​971](https://redirect.github.com/astral-sh/setup-uv/issues/971))
##### ⬆️ Dependency updates
- chore(deps): roll up Dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​1013](https://redirect.github.com/astral-sh/setup-uv/issues/1013))
- chore(deps): roll up Dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​1004](https://redirect.github.com/astral-sh/setup-uv/issues/1004))
- chore(deps): roll up Dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​994](https://redirect.github.com/astral-sh/setup-uv/issues/994))
- chore(deps): bump zizmorcore/zizmor-action from 0.5.7 to 0.6.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​976](https://redirect.github.com/astral-sh/setup-uv/issues/976))
- chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​980](https://redirect.github.com/astral-sh/setup-uv/issues/980))
### [`v9.0.0`](https://redirect.github.com/astral-sh/setup-uv/compare/v8.3.2...v9.0.0)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.3.2...v9.0.0)
### [`v8.3.2`](https://redirect.github.com/astral-sh/setup-uv/compare/v8.3.1...v8.3.2)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.3.1...v8.3.2)
### [`v8.3.1`](https://redirect.github.com/astral-sh/setup-uv/compare/v8.3.0...v8.3.1)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.3.0...v8.3.1)
### [`v8.3.0`](https://redirect.github.com/astral-sh/setup-uv/compare/v8.2.0...v8.3.0)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.2.0...v8.3.0)
### [`v8.2.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v8.2.0): 🌈 New inputs `quiet` and `download-from-astral-mirror`
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.1.0...v8.2.0)
##### Changes
This release brings two new inputs and a few bug fixes.
##### New inputs
Lets talk about the new inputs first.
##### quiet
Pretty simple. It turns of all `info` loggings. Useful if you use this in a composite action and are not interested in all the details.
In the upcoming releases we will add log groups to fully implement support for "less noise"
> \[!NOTE]\
> Warnings and errors are always logged.
##### download-from-astral-mirror
In some cases you may want to directly use the fallback of checking for available versions and downloading releases from GitHub instead of using the astral.sh mirror. Setting `download-from-astral-mirror: false` allows you to do that.
##### Bugfixes
When using the astral.sh mirror to query available versions and download releases (done by default) we now stop sending the GitHub token in the header. The mirror never looked at it but we shouldn't be handing out that data even if it is just a short lived token.
All other bugfixes try to limit the impact of failed GitHub queries due to retries and other faults.
We couldn't pinpoint all rootcauses yet but added more logging for error cases to track them down.
##### 🐛 Bug fixes
- fix: report unexpected cache save failures [@​eifinger](https://redirect.github.com/eifinger) ([#​896](https://redirect.github.com/astral-sh/setup-uv/issues/896))
- fix: report unexpected setup failures [@​eifinger](https://redirect.github.com/eifinger) ([#​895](https://redirect.github.com/astral-sh/setup-uv/issues/895))
- fix: add timeout to fetch to prevent silent hangs [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​883](https://redirect.github.com/astral-sh/setup-uv/issues/883))
- Limit GitHub tokens to github.com download URLs [@​zsol](https://redirect.github.com/zsol) ([#​878](https://redirect.github.com/astral-sh/setup-uv/issues/878))
- increase libuv-workaround timeout to 100ms [@​eifinger](https://redirect.github.com/eifinger) ([#​880](https://redirect.github.com/astral-sh/setup-uv/issues/880))
##### 🚀 Enhancements
- Add quiet input to suppress info-level log output [@​eifinger](https://redirect.github.com/eifinger) ([#​898](https://redirect.github.com/astral-sh/setup-uv/issues/898))
- feat: add `download-from-astral-mirror` input [@​eifinger](https://redirect.github.com/eifinger) ([#​897](https://redirect.github.com/astral-sh/setup-uv/issues/897))
##### 🧰 Maintenance
- docs: update dependabot rollup biome guidance [@​eifinger](https://redirect.github.com/eifinger) ([#​902](https://redirect.github.com/astral-sh/setup-uv/issues/902))
- chore: update known checksums for 0.11.18 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​899](https://redirect.github.com/astral-sh/setup-uv/issues/899))
- chore: update known checksums for 0.11.17 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​892](https://redirect.github.com/astral-sh/setup-uv/issues/892))
- chore: update known checksums for 0.11.16 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​889](https://redirect.github.com/astral-sh/setup-uv/issues/889))
- chore: update known checksums for 0.11.15 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​885](https://redirect.github.com/astral-sh/setup-uv/issues/885))
- chore: update known checksums for 0.11.14 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​879](https://redirect.github.com/astral-sh/setup-uv/issues/879))
- chore: update known checksums for 0.11.13 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​877](https://redirect.github.com/astral-sh/setup-uv/issues/877))
- chore: update known checksums for 0.11.12 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​876](https://redirect.github.com/astral-sh/setup-uv/issues/876))
- chore: update known checksums for 0.11.11 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​873](https://redirect.github.com/astral-sh/setup-uv/issues/873))
- chore: update known checksums for 0.11.9/0.11.10 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​871](https://redirect.github.com/astral-sh/setup-uv/issues/871))
- chore: update known checksums for 0.11.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​867](https://redirect.github.com/astral-sh/setup-uv/issues/867))
- Bump setup-uv references to v8.1.0 SHA in docs [@​eifinger](https://redirect.github.com/eifinger) ([#​862](https://redirect.github.com/astral-sh/setup-uv/issues/862))
- Add update-docs.yml workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​861](https://redirect.github.com/astral-sh/setup-uv/issues/861))
##### ⬆️ Dependency updates
- chore(deps): roll up dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​903](https://redirect.github.com/astral-sh/setup-uv/issues/903))
- chore(deps): roll up dependabot updates [@​eifinger](https://redirect.github.com/eifinger) ([#​901](https://redirect.github.com/astral-sh/setup-uv/issues/901))
- chore(deps): bump release-drafter/release-drafter from 7.3.0 to 7.3.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​900](https://redirect.github.com/astral-sh/setup-uv/issues/900))
- chore(deps): bump eifinger/actionlint-action from 1.10.1 to 1.10.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​842](https://redirect.github.com/astral-sh/setup-uv/issues/842))
- chore(deps): bump github/codeql-action from 4.35.4 to 4.36.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​893](https://redirect.github.com/astral-sh/setup-uv/issues/893))
- chore(deps): bump zizmorcore/zizmor-action from 0.5.5 to 0.5.6 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​891](https://redirect.github.com/astral-sh/setup-uv/issues/891))
- chore(deps): bump release-drafter/release-drafter from 7.2.0 to 7.3.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​884](https://redirect.github.com/astral-sh/setup-uv/issues/884))
- chore(deps): bump zizmorcore/zizmor-action from 0.5.3 to 0.5.5 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​888](https://redirect.github.com/astral-sh/setup-uv/issues/888))
- chore(deps): bump github/codeql-action from 4.35.3 to 4.35.4 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​881](https://redirect.github.com/astral-sh/setup-uv/issues/881))
- chore(deps): bump github/codeql-action from 4.32.2 to 4.35.3 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​875](https://redirect.github.com/astral-sh/setup-uv/issues/875))
- chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​866](https://redirect.github.com/astral-sh/setup-uv/issues/866))
- chore(deps): bump zizmorcore/zizmor-action from 0.5.2 to 0.5.3 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​864](https://redirect.github.com/astral-sh/setup-uv/issues/864))
- chore(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​863](https://redirect.github.com/astral-sh/setup-uv/issues/863))
### [`v8.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v8.1.0): 🌈 New input `no-project`
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v8.0.0...v8.1.0)
##### Changes
This add the a new boolean input `no-project`.
It only makes sense to use in combination with `activate-environment: true` and will append `--no project` to the `uv venv` call. This is for example useful [if you have a pyproject.toml file with parts unparseable by uv](https://redirect.github.com/astral-sh/setup-uv/issues/854)
##### 🚀 Enhancements
- Add input no-project in combination with activate-environment [@​eifinger](https://redirect.github.com/eifinger) ([#​856](https://redirect.github.com/astral-sh/setup-uv/issues/856))
##### 🧰 Maintenance
- fix: grant contents:write to validate-release job [@​eifinger](https://redirect.github.com/eifinger) ([#​860](https://redirect.github.com/astral-sh/setup-uv/issues/860))
- Add a release-gate step to the release workflow [@​zanieb](https://redirect.github.com/zanieb) ([#​859](https://redirect.github.com/astral-sh/setup-uv/issues/859))
- Draft commitish releases [@​eifinger](https://redirect.github.com/eifinger) ([#​858](https://redirect.github.com/astral-sh/setup-uv/issues/858))
- Add action-types.yml to instructions [@​eifinger](https://redirect.github.com/eifinger) ([#​857](https://redirect.github.com/astral-sh/setup-uv/issues/857))
- chore: update known checksums for 0.11.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​853](https://redirect.github.com/astral-sh/setup-uv/issues/853))
- Refactor version resolving [@​eifinger](https://redirect.github.com/eifinger) ([#​852](https://redirect.github.com/astral-sh/setup-uv/issues/852))
- chore: update known checksums for 0.11.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​850](https://redirect.github.com/astral-sh/setup-uv/issues/850))
- chore: update known checksums for 0.11.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​845](https://redirect.github.com/astral-sh/setup-uv/issues/845))
- chore: update known checksums for 0.11.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​843](https://redirect.github.com/astral-sh/setup-uv/issues/843))
- Add a release workflow [@​zanieb](https://redirect.github.com/zanieb) ([#​839](https://redirect.github.com/astral-sh/setup-uv/issues/839))
- chore: update known checksums for 0.11.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​836](https://redirect.github.com/astral-sh/setup-uv/issues/836))
##### 📚 Documentation
- Update ignore-nothing-to-cache documentation [@​eifinger](https://redirect.github.com/eifinger) ([#​833](https://redirect.github.com/astral-sh/setup-uv/issues/833))
- Pin setup-uv docs to v8 [@​eifinger](https://redirect.github.com/eifinger) ([#​829](https://redirect.github.com/astral-sh/setup-uv/issues/829))
##### ⬆️ Dependency updates
- chore(deps): bump release-drafter/release-drafter from 7.1.1 to 7.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​855](https://redirect.github.com/astral-sh/setup-uv/issues/855))
### [`v8.0.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v8.0.0): 🌈 Immutable releases and secure tags
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.6.0...v8.0.0)
##### This is the first immutable release of `setup-uv` 🥳
All future releases are also immutable, if you want to know more about what this means checkout [the docs](https://docs.github.com/en/code-security/concepts/supply-chain-security/immutable-releases).
This release also has two breaking changes
##### New format for `manifest-file`
The previously deprecated way of defining a custom version manifest to control which `uv` versions are available and where to download them from got removed. The functionality is still there but you have to use the [new format](https://redirect.github.com/astral-sh/setup-uv/blob/main/docs/customization.md#format).
##### No more major and minor tags
To increase **security** even more we will **stop publishing minor tags**. You won't be able to use `@v8` or `@v8.0` any longer. We do this because pinning to major releases opens up users to supply chain attacks like what happened to [tj-actions](https://unit42.paloaltonetworks.com/github-actions-supply-chain-attack/).
> \[!TIP]
> Use the immutable tag as a version `astral-sh/setup-uv@v8.0.0`
> Or even better the githash `astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57`
##### 🚨 Breaking changes
- Remove update-major-minor-tags workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​826](https://redirect.github.com/astral-sh/setup-uv/issues/826))
- Remove deprecrated custom manifest [@​eifinger](https://redirect.github.com/eifinger) ([#​813](https://redirect.github.com/astral-sh/setup-uv/issues/813))
##### 🧰 Maintenance
- Shortcircuit latest version from manifest [@​eifinger](https://redirect.github.com/eifinger) ([#​828](https://redirect.github.com/astral-sh/setup-uv/issues/828))
- Simplify inputs.ts [@​eifinger](https://redirect.github.com/eifinger) ([#​827](https://redirect.github.com/astral-sh/setup-uv/issues/827))
- Bump release-drafter to v7.1.1 [@​eifinger](https://redirect.github.com/eifinger) ([#​825](https://redirect.github.com/astral-sh/setup-uv/issues/825))
- Refactor inputs [@​eifinger](https://redirect.github.com/eifinger) ([#​823](https://redirect.github.com/astral-sh/setup-uv/issues/823))
- Replace inline compile args with tsconfig [@​eifinger](https://redirect.github.com/eifinger) ([#​824](https://redirect.github.com/astral-sh/setup-uv/issues/824))
- chore: update known checksums for 0.11.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​821](https://redirect.github.com/astral-sh/setup-uv/issues/821))
- chore: update known checksums for 0.11.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​817](https://redirect.github.com/astral-sh/setup-uv/issues/817))
- chore: update known checksums for 0.11.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​815](https://redirect.github.com/astral-sh/setup-uv/issues/815))
- Fix latest-version workflow check [@​eifinger](https://redirect.github.com/eifinger) ([#​812](https://redirect.github.com/astral-sh/setup-uv/issues/812))
- chore: update known checksums for 0.10.11/0.10.12 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​811](https://redirect.github.com/astral-sh/setup-uv/issues/811))
### [`v7.6.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.6.0): 🌈 Fetch uv from Astral's mirror by default
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.6.0...v7.6.0)
##### Changes
We now default to download uv from `releases.astral.sh`.
This means by default we don't hit the GitHub API at all and shouldn't see any rate limits and timeouts any more.
##### 🚀 Enhancements
- Fetch uv from Astral's mirror by default [@​zsol](https://redirect.github.com/zsol) ([#​809](https://redirect.github.com/astral-sh/setup-uv/issues/809))
##### 🧰 Maintenance
- Switch to ESM for source and test, use CommonJS for dist [@​eifinger](https://redirect.github.com/eifinger) ([#​806](https://redirect.github.com/astral-sh/setup-uv/issues/806))
- chore: update known checksums for 0.10.10 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​804](https://redirect.github.com/astral-sh/setup-uv/issues/804))
##### ⬆️ Dependency updates
- chore(deps): bump zizmorcore/zizmor-action from 0.5.0 to 0.5.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​808](https://redirect.github.com/astral-sh/setup-uv/issues/808))
- Bump deps [@​eifinger](https://redirect.github.com/eifinger) ([#​805](https://redirect.github.com/astral-sh/setup-uv/issues/805))
### [`v7.6`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.5.0...v7.6.0)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.5.0...v7.6.0)
### [`v7.5.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.5.0): 🌈 Use `astral-sh/versions` as version provider
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.5.0...v7.5.0)
##### No more rate-limits
This release addresses a long-standing source of timeouts and rate-limit failures in setup-uv.
Previously, the action resolved version identifiers like 0.5.x by iterating over available uv releases via the GitHub API to find the best match. In contrast, latest and exact versions such as 0.5.0 skipped version resolution entirely and downloaded uv directly.
The `manifest-file` input was an earlier attempt to improve this. It allows providing an url to a file that lists available versions, checksums, and even custom download URLs. The action also shipped with such a manifest.
However, because that bundled file could become outdated whenever new uv releases were published, the action still had to fall back to the GitHub API in many cases.
This release solves the problem by sourcing version data from Astral’s versions repository via the raw content endpoint:
<https://raw.githubusercontent.com/astral-sh/versions/refs/heads/main/v1/uv.ndjson>
By using the raw endpoint instead of the GitHub API, version resolution no longer depends on API authentication and is much less likely to run into rate limits or timeouts.
***
> \[!TIP]
> The next section is only interesting for users of the `manifest-file` input
The `manifest-file` input lets you override that source with your own URL, for example to test custom uv builds or alternate download locations.
The manifest file must be in NDJSON format, where each line is a JSON object representing a version and its artifacts. For example:
```json
{"version":"0.10.7","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://example.com/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"..."}]}
{"version":"0.10.6","artifacts":[{"platform":"x86_64-unknown-linux-gnu","variant":"default","url":"https://example.com/uv-x86_64-unknown-linux-gnu.tar.gz","archive_format":"tar.gz","sha256":"..."}]}
```
> \[!WARNING]\
> The old format still works but is deprecated. A warning will be logged when you use it.
##### Changes
- docs: replace copilot instructions with AGENTS.md [@​eifinger](https://redirect.github.com/eifinger) ([#​794](https://redirect.github.com/astral-sh/setup-uv/issues/794))
##### 🚀 Enhancements
- Use astral-sh/versions as primary version provider [@​eifinger](https://redirect.github.com/eifinger) ([#​802](https://redirect.github.com/astral-sh/setup-uv/issues/802))
##### 📚 Documentation
- docs: add cross-client dependabot rollup skill [@​eifinger](https://redirect.github.com/eifinger) ([#​793](https://redirect.github.com/astral-sh/setup-uv/issues/793))
### [`v7.5`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4.0...v7.5.0)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4.0...v7.5.0)
### [`v7.4.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.4.0): 🌈 Add riscv64 architecture support to platform detection
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.4.0...v7.4.0)
##### Changes
Thank you [@​luhenry](https://redirect.github.com/luhenry) for adding support for riscv64 arch
##### 🚀 Enhancements
- Add riscv64 architecture support to platform detection [@​luhenry](https://redirect.github.com/luhenry) ([#​791](https://redirect.github.com/astral-sh/setup-uv/issues/791))
##### 🧰 Maintenance
- Delete .github/workflows/dependabot-build.yml [@​eifinger](https://redirect.github.com/eifinger) ([#​789](https://redirect.github.com/astral-sh/setup-uv/issues/789))
- Harden Dependabot build workflow [@​eifinger](https://redirect.github.com/eifinger) ([#​788](https://redirect.github.com/astral-sh/setup-uv/issues/788))
- Fix: check PR author instead of event sender for Dependabot detection [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​787](https://redirect.github.com/astral-sh/setup-uv/issues/787))
- chore: update known checksums for 0.10.9 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​783](https://redirect.github.com/astral-sh/setup-uv/issues/783))
- Add workflow to auto-build dist on Dependabot PRs [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​782](https://redirect.github.com/astral-sh/setup-uv/issues/782))
- chore: update known checksums for 0.10.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​779](https://redirect.github.com/astral-sh/setup-uv/issues/779))
- chore: update known checksums for 0.10.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​775](https://redirect.github.com/astral-sh/setup-uv/issues/775))
##### ⬆️ Dependency updates
- chore(deps): bump versions [@​eifinger](https://redirect.github.com/eifinger) ([#​792](https://redirect.github.com/astral-sh/setup-uv/issues/792))
- Bump actions/setup-node from 6.2.0 to 6.3.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​790](https://redirect.github.com/astral-sh/setup-uv/issues/790))
- Bump eifinger/actionlint-action from 1.10.0 to 1.10.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​778](https://redirect.github.com/astral-sh/setup-uv/issues/778))
### [`v7.4`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3.1...v7.4.0)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3.1...v7.4.0)
### [`v7.3.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.3.1): 🌈 fall back to VERSION_CODENAME when VERSION_ID is not available
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3...v7.3.1)
##### Changes
This release adds support for running in containers like `debian:testing` or `debian:unstable`
##### 🐛 Bug fixes
- fix: fall back to VERSION\_CODENAME when VERSION\_ID is not available [@​eifinger-bot](https://redirect.github.com/eifinger-bot) ([#​774](https://redirect.github.com/astral-sh/setup-uv/issues/774))
##### 🧰 Maintenance
- chore: update known checksums for 0.10.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​771](https://redirect.github.com/astral-sh/setup-uv/issues/771))
- chore: update known checksums for 0.10.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​770](https://redirect.github.com/astral-sh/setup-uv/issues/770))
- chore: update known checksums for 0.10.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​768](https://redirect.github.com/astral-sh/setup-uv/issues/768))
- chore: update known checksums for 0.10.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​767](https://redirect.github.com/astral-sh/setup-uv/issues/767))
- chore: update known checksums for 0.10.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​765](https://redirect.github.com/astral-sh/setup-uv/issues/765))
- chore: update known checksums for 0.10.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​764](https://redirect.github.com/astral-sh/setup-uv/issues/764))
##### ⬆️ Dependency updates
- Bump github/codeql-action from 4.31.9 to 4.32.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​766](https://redirect.github.com/astral-sh/setup-uv/issues/766))
- Bump zizmorcore/zizmor-action from 0.4.1 to 0.5.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​763](https://redirect.github.com/astral-sh/setup-uv/issues/763))
### [`v7.3.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.3.0): 🌈 New features and bug fixes for activate-environment
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.3...v7.3)
##### Changes
This release contains a few bug fixes and a new feature for the activate-environment functionality.
##### 🐛 Bug fixes
- fix: warn instead of error when no python to cache [@​eifinger](https://redirect.github.com/eifinger) ([#​762](https://redirect.github.com/astral-sh/setup-uv/issues/762))
- fix: use --clear to create venv [@​eifinger](https://redirect.github.com/eifinger) ([#​761](https://redirect.github.com/astral-sh/setup-uv/issues/761))
##### 🚀 Enhancements
- feat: add venv-path input for activate-environment [@​eifinger](https://redirect.github.com/eifinger) ([#​746](https://redirect.github.com/astral-sh/setup-uv/issues/746))
##### 🧰 Maintenance
- chore: update known checksums for 0.10.0 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​759](https://redirect.github.com/astral-sh/setup-uv/issues/759))
- refactor: tilde-expansion tests as unittests and no self-hosted tests [@​eifinger](https://redirect.github.com/eifinger) ([#​760](https://redirect.github.com/astral-sh/setup-uv/issues/760))
- chore: update known checksums for 0.9.30 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​756](https://redirect.github.com/astral-sh/setup-uv/issues/756))
- chore: update known checksums for 0.9.29 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​748](https://redirect.github.com/astral-sh/setup-uv/issues/748))
##### 📚 Documentation
- Fix punctuation [@​pm-dev563](https://redirect.github.com/pm-dev563) ([#​747](https://redirect.github.com/astral-sh/setup-uv/issues/747))
##### ⬆️ Dependency updates
- Bump typesafegithub/github-actions-typing from 2.2.1 to 2.2.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​753](https://redirect.github.com/astral-sh/setup-uv/issues/753))
- Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​751](https://redirect.github.com/astral-sh/setup-uv/issues/751))
- Bump actions/checkout from 6.0.1 to 6.0.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​740](https://redirect.github.com/astral-sh/setup-uv/issues/740))
- Bump release-drafter/release-drafter from 6.1.0 to 6.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​743](https://redirect.github.com/astral-sh/setup-uv/issues/743))
- Bump eifinger/actionlint-action from 1.9.3 to 1.10.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​731](https://redirect.github.com/astral-sh/setup-uv/issues/731))
- Bump actions/setup-node from 6.1.0 to 6.2.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​738](https://redirect.github.com/astral-sh/setup-uv/issues/738))
### [`v7.3`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2.1...v7.3)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2.1...v7.3)
### [`v7.2.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.2.1): 🌈 update known checksums up to 0.9.28
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2...v7.2.1)
##### Changes
##### 🧰 Maintenance
- chore: update known checksums for 0.9.28 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​744](https://redirect.github.com/astral-sh/setup-uv/issues/744))
- chore: update known checksums for 0.9.27 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​742](https://redirect.github.com/astral-sh/setup-uv/issues/742))
- chore: update known checksums for 0.9.26 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​734](https://redirect.github.com/astral-sh/setup-uv/issues/734))
- chore: update known checksums for 0.9.25 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​733](https://redirect.github.com/astral-sh/setup-uv/issues/733))
- chore: update known checksums for 0.9.24 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​730](https://redirect.github.com/astral-sh/setup-uv/issues/730))
##### 📚 Documentation
- Clarify impact of using actions/setup-python [@​eifinger](https://redirect.github.com/eifinger) ([#​732](https://redirect.github.com/astral-sh/setup-uv/issues/732))
##### ⬆️ Dependency updates
- Bump zizmorcore/zizmor-action from 0.3.0 to 0.4.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​741](https://redirect.github.com/astral-sh/setup-uv/issues/741))
### [`v7.2.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.2.0): 🌈 add outputs python-version and python-cache-hit
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.2...v7.2)
##### Changes
Among some minor typo fixes and quality of life features for developers of actions the main feature of this release are new outputs:
- **python-version:** The Python version that was set (same content as existing `UV_PYTHON`)
- **python-cache-hit:** A boolean value to indicate the Python cache entry was found
While implementing this it became clear, that it is easier to handle the Python binaries in a separate cache entry. The added benefit for users is that the "normal" cache containing the dependencies can be used in all runs no matter if these cache the Python binaries or not.
> \[!NOTE]\
> This release will invalidate caches that contain the Python binaries. This happens a single time.
##### 🐛 Bug fixes
- chore: remove stray space from UV\_PYTHON\_INSTALL\_DIR message [@​akx](https://redirect.github.com/akx) ([#​720](https://redirect.github.com/astral-sh/setup-uv/issues/720))
##### 🚀 Enhancements
- add outputs python-version and python-cache-hit [@​eifinger](https://redirect.github.com/eifinger) ([#​728](https://redirect.github.com/astral-sh/setup-uv/issues/728))
- Add action typings with validation [@​krzema12](https://redirect.github.com/krzema12) ([#​721](https://redirect.github.com/astral-sh/setup-uv/issues/721))
##### 🧰 Maintenance
- fix: use uv\_build backend for old-python-constraint-project [@​eifinger](https://redirect.github.com/eifinger) ([#​729](https://redirect.github.com/astral-sh/setup-uv/issues/729))
- chore: update known checksums for 0.9.22 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​727](https://redirect.github.com/astral-sh/setup-uv/issues/727))
- chore: update known checksums for 0.9.21 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​726](https://redirect.github.com/astral-sh/setup-uv/issues/726))
- chore: update known checksums for 0.9.20 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​725](https://redirect.github.com/astral-sh/setup-uv/issues/725))
- chore: update known checksums for 0.9.18 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​718](https://redirect.github.com/astral-sh/setup-uv/issues/718))
##### ⬆️ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​719](https://redirect.github.com/astral-sh/setup-uv/issues/719))
- Bump github/codeql-action from 4.31.6 to 4.31.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​723](https://redirect.github.com/astral-sh/setup-uv/issues/723))
### [`v7.2`](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.6...v7.2)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.6...v7.2)
### [`v7.1.6`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.6): 🌈 add OS version to cache key to prevent binary incompatibility
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.5...v7.1.6)
##### Changes
This release will invalidate your cache existing keys!
The os version e.g. `ubuntu-22.04` is now part of the cache key. This prevents failing builds when a cache got populated with wheels built with different tools (e.g. glibc) than are present on the runner where the cache got restored.
##### 🐛 Bug fixes
- feat: add OS version to cache key to prevent binary incompatibility [@​eifinger](https://redirect.github.com/eifinger) ([#​716](https://redirect.github.com/astral-sh/setup-uv/issues/716))
##### 🧰 Maintenance
- chore: update known checksums for 0.9.17 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​714](https://redirect.github.com/astral-sh/setup-uv/issues/714))
##### ⬆️ Dependency updates
- Bump actions/checkout from 5.0.0 to 6.0.1 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​712](https://redirect.github.com/astral-sh/setup-uv/issues/712))
- Bump actions/setup-node from 6.0.0 to 6.1.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​715](https://redirect.github.com/astral-sh/setup-uv/issues/715))
### [`v7.1.5`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.5): 🌈 allow setting `cache-local-path` without `enable-cache: true`
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.4...v7.1.5)
##### Changes
[#​612](https://redirect.github.com/astral-sh/setup-uv/pull/612) fixed a faulty behavior where this action set `UV_CACHE_DIR` even though `enable-cache` was `false`. It also fixed the cases were the cache dir is already configured in a settings file like `pyproject.toml` or `UV_CACHE_DIR` was already set. Here the action shouldn't overwrite or set `UV_CACHE_DIR`.
These fixes introduced an unwanted behavior: You can still set `cache-local-path` but this action didn't do anything. This release fixes that.
You can now use `cache-local-path` to automatically set `UV_CACHE_DIR` even when `enable-cache` is `false` (or gets set to false by default e.g. on self-hosted runners)
```yaml
- name: This is now possible
uses: astral-sh/setup-uv@v7
with:
enable-cache: false
cache-local-path: "/path/to/cache"
```
##### 🐛 Bug fixes
- allow cache-local-path w/o enable-cache [@​eifinger](https://redirect.github.com/eifinger) ([#​707](https://redirect.github.com/astral-sh/setup-uv/issues/707))
##### 🧰 Maintenance
- set biome files.maxSize to 2MiB [@​eifinger](https://redirect.github.com/eifinger) ([#​708](https://redirect.github.com/astral-sh/setup-uv/issues/708))
- chore: update known checksums for 0.9.16 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​706](https://redirect.github.com/astral-sh/setup-uv/issues/706))
- chore: update known checksums for 0.9.15 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​704](https://redirect.github.com/astral-sh/setup-uv/issues/704))
- chore: use `npm ci --ignore-scripts` everywhere [@​woodruffw](https://redirect.github.com/woodruffw) ([#​699](https://redirect.github.com/astral-sh/setup-uv/issues/699))
- chore: update known checksums for 0.9.14 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​700](https://redirect.github.com/astral-sh/setup-uv/issues/700))
- chore: update known checksums for 0.9.13 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​694](https://redirect.github.com/astral-sh/setup-uv/issues/694))
- chore: update known checksums for 0.9.12 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​693](https://redirect.github.com/astral-sh/setup-uv/issues/693))
- chore: update known checksums for 0.9.11 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​688](https://redirect.github.com/astral-sh/setup-uv/issues/688))
##### ⬆️ Dependency updates
- Bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​695](https://redirect.github.com/astral-sh/setup-uv/issues/695))
- bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​709](https://redirect.github.com/astral-sh/setup-uv/issues/709))
- Bump github/codeql-action from 4.30.9 to 4.31.6 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​698](https://redirect.github.com/astral-sh/setup-uv/issues/698))
- Bump zizmorcore/zizmor-action from 0.2.0 to 0.3.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​696](https://redirect.github.com/astral-sh/setup-uv/issues/696))
- Bump eifinger/actionlint-action from 1.9.2 to 1.9.3 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​690](https://redirect.github.com/astral-sh/setup-uv/issues/690))
### [`v7.1.4`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.4): 🌈 Fix libuv closing bug on Windows
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.3...v7.1.4)
##### Changes
This release fixes the bug `Assertion failed: !(handle->flags & UV_HANDLE_CLOSING)` on Windows runners
##### 🐛 Bug fixes
- Wait 50ms before exit to fix libuv bug [@​eifinger](https://redirect.github.com/eifinger) ([#​689](https://redirect.github.com/astral-sh/setup-uv/issues/689))
##### 🧰 Maintenance
- chore: update known checksums for 0.9.10 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​681](https://redirect.github.com/astral-sh/setup-uv/issues/681))
- chore: update known checksums for 0.9.9 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​679](https://redirect.github.com/astral-sh/setup-uv/issues/679))
### [`v7.1.3`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.3): 🌈 Support act
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.2...v7.1.3)
##### Changes
This bug fix release adds support for <https://github.com/nektos/act>
It was previously broken because of a too new `undici` version and TS transpilation target.
Compatibility with act is now automatically tested.
##### 🐛 Bug fixes
- use old undici and ES2022 target for act support [@​eifinger](https://redirect.github.com/eifinger) ([#​678](https://redirect.github.com/astral-sh/setup-uv/issues/678))
##### 🧰 Maintenance
- chore: update known checksums for 0.9.8 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​677](https://redirect.github.com/astral-sh/setup-uv/issues/677))
- chore: update known checksums for 0.9.7 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​671](https://redirect.github.com/astral-sh/setup-uv/issues/671))
- chore: update known checksums for 0.9.6 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​670](https://redirect.github.com/astral-sh/setup-uv/issues/670))
##### 📚 Documentation
- Correct description of `cache-dependency-glob` [@​allanlewis](https://redirect.github.com/allanlewis) ([#​676](https://redirect.github.com/astral-sh/setup-uv/issues/676))
### [`v7.1.2`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.2): 🌈 Speed up extraction on Windows
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.1...v7.1.2)
##### Changes
[@​lazka](https://redirect.github.com/lazka) fixed a bug that caused extracting uv to take up to 30s. Thank you!
##### 🐛 Bug fixes
- Use tar for extracting the uv zip file on Windows too [@​lazka](https://redirect.github.com/lazka) ([#​660](https://redirect.github.com/astral-sh/setup-uv/issues/660))
##### 🧰 Maintenance
- chore: update known checksums for 0.9.5 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​663](https://redirect.github.com/astral-sh/setup-uv/issues/663))
##### ⬆️ Dependency updates
- Bump dependencies [@​eifinger](https://redirect.github.com/eifinger) ([#​664](https://redirect.github.com/astral-sh/setup-uv/issues/664))
- Bump github/codeql-action from 4.30.8 to 4.30.9 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​652](https://redirect.github.com/astral-sh/setup-uv/issues/652))
### [`v7.1.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.1): 🌈 Fix empty workdir detection and lowest resolution strategy
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1...v7.1.1)
##### Changes
This release fixes a bug where the `working-directory` input was not used to detect an empty work dir. It also fixes the `lowest` resolution strategy resolving to latest when only a lower bound was specified.
Special thanks to [@​tpgillam](https://redirect.github.com/tpgillam) for the first contribution!
##### 🐛 Bug fixes
- Fix "lowest" resolution strategy with lower-bound only [@​tpgillam](https://redirect.github.com/tpgillam) ([#​649](https://redirect.github.com/astral-sh/setup-uv/issues/649))
- Use working-directory to detect empty workdir [@​eifinger](https://redirect.github.com/eifinger) ([#​645](https://redirect.github.com/astral-sh/setup-uv/issues/645))
##### 🧰 Maintenance
- chore: update known checksums for 0.9.4 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​651](https://redirect.github.com/astral-sh/setup-uv/issues/651))
- chore: update known checksums for 0.9.3 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​644](https://redirect.github.com/astral-sh/setup-uv/issues/644))
##### 📚 Documentation
- Change version in docs to v7 [@​eifinger](https://redirect.github.com/eifinger) ([#​647](https://redirect.github.com/astral-sh/setup-uv/issues/647))
##### ⬆️ Dependency updates
- Bump github/codeql-action from 4.30.7 to 4.30.8 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​639](https://redirect.github.com/astral-sh/setup-uv/issues/639))
- Bump actions/setup-node from 5.0.0 to 6.0.0 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​641](https://redirect.github.com/astral-sh/setup-uv/issues/641))
- Bump eifinger/actionlint-action from 1.9.1 to 1.9.2 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​634](https://redirect.github.com/astral-sh/setup-uv/issues/634))
- Update lockfile with latest npm [@​eifinger](https://redirect.github.com/eifinger) ([#​636](https://redirect.github.com/astral-sh/setup-uv/issues/636))
### [`v7.1.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.0): 🌈 Support all the use cases
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1...v7.1)
##### Changes
**Support all the use cases!!!**
... well, that we know of.
This release adds support for some use cases that most users don't encounter but are useful for e.g. people running Gitea.
The input `resolution-strategy` lets you use the lowest possible version of uv from a version range. Useful if you want to test your tool with different versions of uv.
If you use `activate-environment` the path to the activated venv is now also exposed under the output `venv`.
Downloaded python installations can now also be uploaded to the GitHub Actions cache backend. Useful if you are running in `act` and have configured your own backend and don't want to download python again, and again over a slow internet connection.
Finally the path to installed python interpreters is now added to the `PATH` on Windows.
##### 🚀 Enhancements
- Add resolution-strategy input to support oldest compatible version selection @​[copilot-swe-agent\[bot\]](https://redirect.github.com/apps/copilot-swe-agent) ([#​631](https://redirect.github.com/astral-sh/setup-uv/issues/631))
- Add value of UV\_PYTHON\_INSTALL\_DIR to path [@​eifinger](https://redirect.github.com/eifinger) ([#​628](https://redirect.github.com/astral-sh/setup-uv/issues/628))
- Set output venv when activate-environment is used [@​eifinger](https://redirect.github.com/eifinger) ([#​627](https://redirect.github.com/astral-sh/setup-uv/issues/627))
- Cache python installs [@​merlinz01](https://redirect.github.com/merlinz01) ([#​621](https://redirect.github.com/astral-sh/setup-uv/issues/621))
##### 🧰 Maintenance
- Add copilot-instructions.md [@​eifinger](https://redirect.github.com/eifinger) ([#​630](https://redirect.github.com/astral-sh/setup-uv/issues/630))
- chore: update known checksums for 0.9.2 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​626](https://redirect.github.com/astral-sh/setup-uv/issues/626))
- chore: update known checksums for 0.9.1 @​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#​625](https://redirect.github.com/astral-sh/setup-uv/issues/625))
- Fall back to PR for updating known versions [@​eifinger](https://redirect.github.com/eifinger) ([#​623](https://redirect.github.com/astral-sh/setup-uv/issues/623))
##### 📚 Documentation
- Split up documentation [@​eifinger](https://redirect.github.com/eifinger) ([#​632](https://redirect.github.com/astral-sh/setup-uv/issues/632))
##### ⬆️ Dependency updates
- Bump deps [@​eifinger](https://redirect.github.com/eifinger) ([#​633](https://redirect.github.com/astral-sh/setup-uv/issues/633))
- Bump github/codeql-action from 3.30.6 to 4.30.7 @​[dependabot\[bot\]](https://redirect.github.com/apps/dependabot) ([#​614](https://redirect.github.com/astral-sh/setup-uv/issues/614))
### [`v7.1`](https://redirect.github.com/astral-sh/setup-uv/compare/v7...v7.1)
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7...v7.1)
### [`v7.0.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.0.0): 🌈 node24 and a lot of bugfixes
[Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7...v7)
##### Changes
This release comes with a load of bug fixes and a speed up. Because of switching from node20 to node24 it is also a breaking change. If you are running on GitHub hosted runners this will just work, if you are using self-hosted runners make sure, that your runners are up to date. If you followed the normal installation instructions your self-hosted runner will keep itself updated.
This release also removes the deprecated input `server-url` which was used to download uv releases from a different server.
The [manifest-file](https://redirect.github.com/astral-sh/setup-uv?tab=readme-ov-file#manifest-file) input supersedes that functionality by adding a flexible way to define available versions and where they should be downloaded from.
##### Fixes
- The action now respects when the environment variable `UV_CACHE_DIR` is already set and does not overwrite it. It now also finds [cache-dir](https://docs.astral.sh/uv/reference/settings/#cache-dir) settings in config files if you set them.
- Some users encountered problems that [cache pruning](https://redirect.github.com/astral-sh/setup-uv?tab=readme-ov-file#disable-cache-pruning) took forever because they had some `uv` processes running in the background. Starting with uv version `0.8.24` this action uses `uv cache prune --ci --force` to ignore the running processes
- If you just want to install uv but not have it available in path, this action now respects `UV_NO_MODIFY_PATH`
- Some other actions also set the env var `UV_CACHE_DIR`. This action can now deal with that but as this could lead to unwanted behavior in some edgecases a warning is now displayed.
##### Improvements
If you are using minimum version specifiers for the version of uv to install for example
```toml
[tool.uv]
required-version = ">=0.8.17"
```
This action now detects that and directly uses the latest version. Previously it would download all available releases from the uv repo
to determine the highest matching candidate for the version specifier, which took much more time.
If you are using other specifiers like `0.8.x` this action still needs to download all available releases because the specifier defines an upper bound (not 0.9.0 or later) and "latest" would possibly not satisfy that.
##### 🚨 Breaking changes
- Use node24 instead of node20 [@​eifinger](https://redirect.github.com/eifinger) ([#​608](https://redirect.github.com/astral-sh/setup-uv/issues/608))
- Remove deprecated input server-url [@​eifinger](https://redirect.github.com/eifinger) ([#​607](https://redirect.github.com/astral-sh/setup-uv/issues/607))
##### 🐛 Bug fixes
> ✂ **Note**
>
> PR body was truncated to here.
</details>
---
### Configuration
📅 **Schedule**: (in timezone Etc/UTC)
- Branch creation
- "every weekend"
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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/canonical/craft-store).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yOS41IiwidXBkYXRlZEluVmVyIjoiNDQuMjkuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUFI6IERlcGVuZGVuY2llcyJdfQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without merging. The dependency update was abandoned, and Renovate will ignore all future 10.x releases for this repository. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
10
Confidence:
85
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.1. Introduces breaking changes including disabled auto-caching for sensitive events and a Node 24 requirement. Currently pending maintainer review with two failing CI checks and one unresolved comment. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
85
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.1. Awaiting maintainer review with zero comments. CI reports a failing lint / files check. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.1. Includes breaking changes like disabling auto-cache for sensitive events and requiring Node 24. Currently pending review with automerge enabled, but CI shows failing lint checks. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.1. Generated by Renovate with automerge enabled. CI tests pass but lint checks are failing. Awaiting maintainer review. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
10
Confidence:
85
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.1. CI passes most tests but fails lint/files checks. Awaiting maintainer review. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
80
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.1, introducing breaking changes like disabled auto-caching for sensitive events and a node24 upgrade. Currently pending maintainer review with automerge enabled, but blocked by failing lint/files CI checks. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.0. Includes security improvements and breaking changes. Currently pending review with 0 comments. CI shows failing lint checks. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
0
Complexity:
5
Confidence:
85
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.0. Currently pending maintainer review with CI failing on lint checks. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
5
Confidence:
90
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.0. All CI tests pass except a lint check. PR is fresh and awaiting maintainer review. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
0
Complexity:
0
Confidence:
90
|
needs review | Updates astral-sh/setup-uv GitHub Action from v5 to v10.0.0. Currently pending maintainer review with functional tests passing and a minor lint check failing. |
Update history
| Date | Change |
|---|---|
| closed | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #214 build(deps): update astral-sh/setup-uv action to v10 (main) - autoclosed | craft-grammar | merged | Merged into main after passing CI and two approvals. Updates astral-sh/setup-uv from v9.0.0 to v10.0.1, adding security hardening, a latest-known version selector, and disabling automatic caching for sensitive events. | |
| #82 build(deps): update astral-sh/setup-uv action to v8 (main) | craft-artifacts | merged | Merged automated dependency update upgrading astral-sh/setup-uv action from v7 to v8.1.0. Approved by reviewers, passed CI checks, and automatically merged into main by Renovate. | |
| #1654 build(deps): update actions/setup-node action to v7 (main) | craft-parts | closed | Updating actions/setup-node to v7 was closed without merging. The change was abandoned because a starbase update will handle it instead. Renovate will ignore future v7 releases unless manually upgraded. | |
| #152 build(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.11.12 (main) | craft-archives | closed | Closed without merging. The dependency update to v0.11.12 was abandoned after a maintainer noted Renovate confusion. The bot will ignore this version and wait for a newer release. | |
| #417 build(deps): update setup-uv action to v10 | craft-store | merged | Merged upgrade of the setup-uv GitHub Action to v10. Supersedes PR #413 by resolving zizmor security audit warnings. Approved by two reviewers and passed CI checks prior to merge. | |
| #43 build(deps): update astral-sh/setup-uv action to v7 | craft-artifacts | merged | Merged an automated dependency update upgrading the astral-sh/setup-uv GitHub Action from v6 to v7. Approved by two reviewers, all CI checks passed, and the change was automatically merged into the main branch. | |
| #5948 build(deps): update dependency sphinx-prompt to ~=1.10.2 (main) | snapcraft | closed | Closed without merging due to a uv lock dependency resolution failure. The artifact update failed, prompting the bot to advise against merging. Renovate will ignore this update and wait for a newer version. | |
| #1138 build(deps): update dependency sphinx-substitution-extensions to v2025.12.15 (main) | rockcraft | closed | Closed without merging due to dependency resolution failures in uv.lock. The automated update was abandoned, and Renovate will ignore this specific version. | |
| #345 build(deps): update bugfixes | craft-cli | closed | Closed without merging due to failing lint checks. Proposed updating astral-sh/ruff-pre-commit to v0.12.8 and pytest-mock to v3.14.1. The Renovate bot will automatically recreate these dependency updates. | |
| #1489 build(deps): update dependency sphinx-substitution-extensions to v2025.12.15 (main) | craft-parts | closed | Closed without merging due to uv.lock dependency resolution failure. Renovate will ignore this update until a newer version is released. |