Update astral-sh/setup-uv action to v10 #9

Merged
ocertat merged 1 commits from renovate/astral-sh-setup-uv-10.x into main 2026-10-30 02:40:41 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
astral-sh/setup-uv action major v6 → v10.3.3

Release Notes

astral-sh/setup-uv

v10.3.3: 🌈 Use Astral mirror for version manifests with GitHub fallback

Compare Source

Changes

This release contains something that should have been included a very long time ago. Sorry for sleeping on that.

This action now retrieves the release manifest that contains the available versions, their download links and checksums from the Astral mirror, rather than trying GitHub first. This should present much more stable.
(Known checksums are still checked, so the security impact does not change)

Also a big thank you to @​soujasK for a set of bugfixes 👏

🐛 Bug fixes

🧰 Maintenance

📚 Documentation

v10.3.2: 🌈 update known checksums for 0.13.5

Compare Source

Changes

🧰 Maintenance

📚 Documentation

v10.3.1: 🌈 preserve cache error class names in save-cache bundle

Compare Source

Changes

This release includes a fix so that multiple concurrent workflows trying to upload the same cache no longer warn

##[warning]Failed to save: Unable to reserve cache with key ..., another job may be creating this cache.

🐛 Bug fixes

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v10.3.0: 🌈 Add Python architecture selection

Compare Source

Changes

This release adds the python-arch input to select a Python architecture independently of the Python version. With uv 0.13.0 or later, set python-arch: x86_64 to use x64 Python on Windows ARM64 runners.

It also includes embedded checksums for uv releases through 0.13.0.

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

v10.2.0: 🌈 Disable automatic cache saves for merge queues

Compare Source

Changes

This release contains the known-checksum of the most recent uv releases and also disabled the uploading(saving) of the cache when in a merge queue since theses caches would almost never be used.

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v10.1.0: 🌈 New output python-runtime-idand respect NO_PROXY

Compare Source

Changes

This release adds more bheind the scene security improvements and also 2 small improvements.

NO_PROXY

This action now respects no_proxy/NO_PROXY environment variables which were previously ignored.

New output python-runtime-id

The new output python-runtime-id can be used to know which python version exactly was installed if you use activate-environment. See pyca/cryptography#15572 (comment) for details on why this can be useful.

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v10.0.1: 🌈 Tolerate transient manifest timeouts

Compare Source

Changes

Thank you @​arguile- for making this action more resilient.

🐛 Bug fixes

🧰 Maintenance

📚 Documentation

v10.0.0: 🌈 Disable automatic caching for sensitive events and new QOL features

Compare Source

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

version: latest-known
- 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 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
- 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

🚨 Breaking changes

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v9.0.0: 🌈 Change prune-cache default to false

Compare Source

Changes

This release disables the default cache cache pruning to ease the load on the PyPi infrastructure.
Since users might experience more GitHub Actions cache usage which might result in higher costs this is marked as a breaking change. To read more on why we did this (now) you can read the detailed analysis and reasoning in #​967

Besides this big breaking change we also have a small bugfix while building caches for linux distributions that behave a big different than the "big ones" and a speed up in version resolution by only reading the version manifest until a matching version is found saving runtime and network bandwith.

🚨 Breaking changes

🐛 Bug fixes

  • fix: fall back to distribution ID when os-release has no version field @​cxzhong (#​961)

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v8.3.2: 🌈 update known checksums for 0.11.28

Compare Source

Changes

Just a maintenance release

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v8.3.1: 🌈 update known checksums for 0.11.27

Compare Source

Changes

Just a maintenance release

🧰 Maintenance

📚 Documentation

v8.3.0: 🌈 Support uv.lock as a version-file source

Compare Source

Changes

Thanks to @​somaz94 you can now use the pinned version of uv itself in uv.lock. It gets picked up automatically.
If you have pinned another version of uv in your uv.lock you can use the inputs version or version-source to override this.

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v8.2.0: 🌈 New inputs quiet and download-from-astral-mirror

Compare Source

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

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

v8.1.0: 🌈 New input no-project

Compare Source

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

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v8.0.0: 🌈 Immutable releases and secure tags

Compare Source

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.

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.

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.

[!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

🧰 Maintenance

v7.6.0: 🌈 Fetch uv from Astral's mirror by default

Compare Source

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

🧰 Maintenance

⬆️ Dependency updates

v7.5.0: 🌈 Use astral-sh/versions as version provider

Compare Source

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:

{"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

🚀 Enhancements

📚 Documentation

v7.4.0: 🌈 Add riscv64 architecture support to platform detection

Compare Source

Changes

Thank you @​luhenry for adding support for riscv64 arch

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

v7.3.1: 🌈 fall back to VERSION_CODENAME when VERSION_ID is not available

Compare Source

Changes

This release adds support for running in containers like debian:testing or debian:unstable

🐛 Bug fixes

🧰 Maintenance

⬆️ Dependency updates

v7.3.0: 🌈 New features and bug fixes for activate-environment

Compare Source

Changes

This release contains a few bug fixes and a new feature for the activate-environment functionality.

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v7.2.1: 🌈 update known checksums up to 0.9.28

Compare Source

Changes

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v7.2.0: 🌈 add outputs python-version and python-cache-hit

Compare Source

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 (#​720)

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates

v7.1.6: 🌈 add OS version to cache key to prevent binary incompatibility

Compare Source

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

🧰 Maintenance

⬆️ Dependency updates

v7.1.5: 🌈 allow setting cache-local-path without enable-cache: true

Compare Source

Changes

#​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)

- name: This is now possible
  uses: astral-sh/setup-uv@v7
  with:
    enable-cache: false
    cache-local-path: "/path/to/cache"

🐛 Bug fixes

🧰 Maintenance

⬆️ Dependency updates

v7.1.4: 🌈 Fix libuv closing bug on Windows

Compare Source

Changes

This release fixes the bug Assertion failed: !(handle->flags & UV_HANDLE_CLOSING) on Windows runners

🐛 Bug fixes

🧰 Maintenance

v7.1.3: 🌈 Support act

Compare Source

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

🧰 Maintenance

📚 Documentation

v7.1.2: 🌈 Speed up extraction on Windows

Compare Source

Changes

@​lazka fixed a bug that caused extracting uv to take up to 30s. Thank you!

🐛 Bug fixes

🧰 Maintenance

⬆️ Dependency updates

v7.1.1: 🌈 Fix empty workdir detection and lowest resolution strategy

Compare Source

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 for the first contribution!

🐛 Bug fixes

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v7.1.0: 🌈 Support all the use cases

Compare Source

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

🧰 Maintenance

📚 Documentation

⬆️ Dependency updates

v7.0.0: 🌈 node24 and a lot of bugfixes

Compare Source

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 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 settings in config files if you set them.
  • Some users encountered problems that 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

[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

🐛 Bug fixes

🚀 Enhancements

🧰 Maintenance

⬆️ Dependency updates


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | action | major | `v6` → `v10.3.3` | --- ### Release Notes <details> <summary>astral-sh/setup-uv</summary> ### [`v10.3.3`](https://github.com/astral-sh/setup-uv/releases/tag/v10.3.3): 🌈 Use Astral mirror for version manifests with GitHub fallback [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.3.2...v10.3.3) #### Changes This release contains something that should have been included a very long time ago. Sorry for sleeping on that. This action now retrieves the release manifest that contains the available versions, their download links and checksums from the Astral mirror, rather than trying GitHub first. This should present much more stable. (Known checksums are still checked, so the security impact does not change) Also a big thank you to [@&#8203;soujasK](https://github.com/soujasK) for a set of bugfixes 👏 #### 🐛 Bug fixes - Use Astral mirror for version manifests with GitHub fallback [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1119](https://github.com/astral-sh/setup-uv/issues/1119)) - fix: allow whitespace in uv requirement specifiers [@&#8203;soujasK](https://github.com/soujasK) ([#&#8203;1112](https://github.com/astral-sh/setup-uv/issues/1112)) - fix: resolve \~= specifiers with PEP 440 semantics [@&#8203;soujasK](https://github.com/soujasK) ([#&#8203;1111](https://github.com/astral-sh/setup-uv/issues/1111)) - fix: only report a saved cache when saving succeeded [@&#8203;soujasK](https://github.com/soujasK) ([#&#8203;1110](https://github.com/astral-sh/setup-uv/issues/1110)) #### 🧰 Maintenance - chore: update known checksums for 0.13.6 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1117](https://github.com/astral-sh/setup-uv/issues/1117)) #### 📚 Documentation - docs: use JSDoc for compatible release specifier comment [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1113](https://github.com/astral-sh/setup-uv/issues/1113)) - docs: update version references to v10.3.2 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1104](https://github.com/astral-sh/setup-uv/issues/1104)) ### [`v10.3.2`](https://github.com/astral-sh/setup-uv/releases/tag/v10.3.2): 🌈 update known checksums for 0.13.5 [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.3.1...v10.3.2) #### Changes #### 🧰 Maintenance - chore: update known checksums for 0.13.5 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1103](https://github.com/astral-sh/setup-uv/issues/1103)) #### 📚 Documentation - docs: update version references to v10.3.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1102](https://github.com/astral-sh/setup-uv/issues/1102)) ### [`v10.3.1`](https://github.com/astral-sh/setup-uv/releases/tag/v10.3.1): 🌈 preserve cache error class names in save-cache bundle [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.3.0...v10.3.1) #### Changes This release includes a fix so that multiple concurrent workflows trying to upload the same cache no longer warn `##[warning]Failed to save: Unable to reserve cache with key ..., another job may be creating this cache.` #### 🐛 Bug fixes - fix: preserve cache error class names in save-cache bundle [@&#8203;dannyward630](https://github.com/dannyward630) ([#&#8203;1093](https://github.com/astral-sh/setup-uv/issues/1093)) #### 🧰 Maintenance - chore: update known checksums for 0.13.4 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1099](https://github.com/astral-sh/setup-uv/issues/1099)) - chore: update known checksums for 0.13.2/0.13.3 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1098](https://github.com/astral-sh/setup-uv/issues/1098)) - chore: update known checksums for 0.13.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1094](https://github.com/astral-sh/setup-uv/issues/1094)) - Verify npm dependency signatures before builds [@&#8203;zaniebot](https://github.com/zaniebot) ([#&#8203;1027](https://github.com/astral-sh/setup-uv/issues/1027)) #### 📚 Documentation - docs: cache-dependency-glob matches relative to the working directory [@&#8203;flange-ipb](https://github.com/flange-ipb) ([#&#8203;1092](https://github.com/astral-sh/setup-uv/issues/1092)) - docs: update version references to v10.3.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1090](https://github.com/astral-sh/setup-uv/issues/1090)) #### ⬆️ Dependency updates - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1101](https://github.com/astral-sh/setup-uv/issues/1101)) ### [`v10.3.0`](https://github.com/astral-sh/setup-uv/releases/tag/v10.3.0): 🌈 Add Python architecture selection [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.2.0...v10.3.0) #### Changes This release adds the `python-arch` input to select a Python architecture independently of the Python version. With `uv` 0.13.0 or later, set `python-arch: x86_64` to use x64 Python on Windows ARM64 runners. It also includes embedded checksums for `uv` releases through 0.13.0. - Use macOS 15 runners for tests [@&#8203;charliermarsh](https://github.com/charliermarsh) ([#&#8203;1081](https://github.com/astral-sh/setup-uv/issues/1081)) #### 🚀 Enhancements - Add `python-arch` support [@&#8203;zanieb](https://github.com/zanieb) ([#&#8203;1079](https://github.com/astral-sh/setup-uv/issues/1079)) #### 🧰 Maintenance - chore: update known checksums for 0.13.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1089](https://github.com/astral-sh/setup-uv/issues/1089)) - chore: update known checksums for 0.12.24 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1084](https://github.com/astral-sh/setup-uv/issues/1084)) - chore: update known checksums for 0.12.23 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1082](https://github.com/astral-sh/setup-uv/issues/1082)) - chore: update known checksums for 0.12.22 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1080](https://github.com/astral-sh/setup-uv/issues/1080)) - chore: update known checksums for 0.12.21 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1078](https://github.com/astral-sh/setup-uv/issues/1078)) - chore: update known checksums for 0.12.20 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1076](https://github.com/astral-sh/setup-uv/issues/1076)) - chore: update known checksums for 0.12.19 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1068](https://github.com/astral-sh/setup-uv/issues/1068)) - chore: update known checksums for 0.12.18 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1065](https://github.com/astral-sh/setup-uv/issues/1065)) #### ⬆️ Dependency updates - chore(deps): bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;1077](https://github.com/astral-sh/setup-uv/issues/1077)) ### [`v10.2.0`](https://github.com/astral-sh/setup-uv/releases/tag/v10.2.0): 🌈 Disable automatic cache saves for merge queues [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.1.0...v10.2.0) #### Changes This release contains the known-checksum of the most recent uv releases and also disabled the uploading(saving) of the cache when in a merge queue since theses caches would almost never be used. #### 🚀 Enhancements - Disable automatic cache saves for merge queues [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1056](https://github.com/astral-sh/setup-uv/issues/1056)) #### 🧰 Maintenance - chore: update known checksums for 0.12.17 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1058](https://github.com/astral-sh/setup-uv/issues/1058)) - chore: update known checksums for 0.12.16 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1057](https://github.com/astral-sh/setup-uv/issues/1057)) - chore: update known checksums for 0.12.15 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1054](https://github.com/astral-sh/setup-uv/issues/1054)) - chore: update known checksums for 0.12.14 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1053](https://github.com/astral-sh/setup-uv/issues/1053)) - chore: update known checksums for 0.12.13 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1045](https://github.com/astral-sh/setup-uv/issues/1045)) #### 📚 Documentation - docs: update version references to v10.1.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1044](https://github.com/astral-sh/setup-uv/issues/1044)) #### ⬆️ Dependency updates - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1059](https://github.com/astral-sh/setup-uv/issues/1059)) ### [`v10.1.0`](https://github.com/astral-sh/setup-uv/releases/tag/v10.1.0): 🌈 New output `python-runtime-id`and respect NO_PROXY [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.0.1...v10.1.0) #### Changes This release adds more bheind the scene security improvements and also 2 small improvements. ##### NO_PROXY This action now respects `no_proxy/NO_PROXY` environment variables which were previously ignored. ##### New output `python-runtime-id` The new output `python-runtime-id` can be used to know which python version exactly was installed if you use `activate-environment`. See [pyca/cryptography#15572 (comment)](https://github.com/pyca/cryptography/pull/15572#discussion_r3913508686) for details on why this can be useful. #### 🐛 Bug fixes - fix: respect no proxy directive [@&#8203;mj0nez](https://github.com/mj0nez) ([#&#8203;1037](https://github.com/astral-sh/setup-uv/issues/1037)) - Use JSON + a typed wrapper instead of TS codegen [@&#8203;woodruffw](https://github.com/woodruffw) ([#&#8203;1025](https://github.com/astral-sh/setup-uv/issues/1025)) #### 🚀 Enhancements - Expose a Python "identity" output [@&#8203;woodruffw](https://github.com/woodruffw) ([#&#8203;1036](https://github.com/astral-sh/setup-uv/issues/1036)) - Verify downloads with astral-sh/versions checksums [@&#8203;zaniebot](https://github.com/zaniebot) ([#&#8203;1033](https://github.com/astral-sh/setup-uv/issues/1033)) #### 🧰 Maintenance - chore: update known checksums for 0.12.12 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1041](https://github.com/astral-sh/setup-uv/issues/1041)) - chore: update known checksums for 0.12.10/0.12.11 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1038](https://github.com/astral-sh/setup-uv/issues/1038)) - chore: update known checksums for 0.12.9 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1035](https://github.com/astral-sh/setup-uv/issues/1035)) - chore: update known checksums for 0.12.7/0.12.8 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1031](https://github.com/astral-sh/setup-uv/issues/1031)) - chore: update known checksums for 0.12.6 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1030](https://github.com/astral-sh/setup-uv/issues/1030)) - chore: update known checksums for 0.12.5 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1020](https://github.com/astral-sh/setup-uv/issues/1020)) - Use self-repo syntax for all in-repo actions/reusable workflows [@&#8203;woodruffw](https://github.com/woodruffw) ([#&#8203;1024](https://github.com/astral-sh/setup-uv/issues/1024)) - Pin one-shot tools [@&#8203;woodruffw](https://github.com/woodruffw) ([#&#8203;1022](https://github.com/astral-sh/setup-uv/issues/1022)) - ci: remove obsolete direct push attempts [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1019](https://github.com/astral-sh/setup-uv/issues/1019)) #### 📚 Documentation - docs: update version references to v10.0.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1018](https://github.com/astral-sh/setup-uv/issues/1018)) #### ⬆️ Dependency updates - chore(deps-dev): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1043](https://github.com/astral-sh/setup-uv/issues/1043)) - Harden npm install defaults [@&#8203;zaniebot](https://github.com/zaniebot) ([#&#8203;1026](https://github.com/astral-sh/setup-uv/issues/1026)) - Add dependency cooldowns [@&#8203;woodruffw](https://github.com/woodruffw) ([#&#8203;1021](https://github.com/astral-sh/setup-uv/issues/1021)) ### [`v10.0.1`](https://github.com/astral-sh/setup-uv/releases/tag/v10.0.1): 🌈 Tolerate transient manifest timeouts [Compare Source](https://github.com/astral-sh/setup-uv/compare/v10.0.0...v10.0.1) #### Changes Thank you [@&#8203;arguile-](https://github.com/arguile-) for making this action more resilient. #### 🐛 Bug fixes - Tolerate transient manifest timeouts [@&#8203;arguile-](https://github.com/arguile-) ([#&#8203;1016](https://github.com/astral-sh/setup-uv/issues/1016)) #### 🧰 Maintenance - chore: update known checksums for 0.12.4 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1017](https://github.com/astral-sh/setup-uv/issues/1017)) #### 📚 Documentation - docs: update version references to v10.0.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;1014](https://github.com/astral-sh/setup-uv/issues/1014)) ### [`v10.0.0`](https://github.com/astral-sh/setup-uv/releases/tag/v10.0.0): 🌈 Disable automatic caching for sensitive events and new QOL features [Compare Source](https://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 [#&#8203;984](https://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://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://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;992](https://github.com/astral-sh/setup-uv/issues/992)) #### 🐛 Bug fixes - Reject paths in .tool-versions [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1007](https://github.com/astral-sh/setup-uv/issues/1007)) #### 🚀 Enhancements - Read Python version from .tool-versions [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;996](https://github.com/astral-sh/setup-uv/issues/996)) - Add latest-known version selector [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;993](https://github.com/astral-sh/setup-uv/issues/993)) #### 🧰 Maintenance - Require pull requests for Dependabot rollups [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1005](https://github.com/astral-sh/setup-uv/issues/1005)) - ci: pin Alpine container image [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;995](https://github.com/astral-sh/setup-uv/issues/995)) - chore: update known checksums for 0.12.3 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;991](https://github.com/astral-sh/setup-uv/issues/991)) - chore: update known checksums for 0.12.2 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;985](https://github.com/astral-sh/setup-uv/issues/985)) - chore: update known checksums for 0.12.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;982](https://github.com/astral-sh/setup-uv/issues/982)) - chore: update known checksums for 0.12.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;981](https://github.com/astral-sh/setup-uv/issues/981)) - chore: update known checksums for 0.11.31/0.11.32 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;972](https://github.com/astral-sh/setup-uv/issues/972)) #### 📚 Documentation - docs: update version references to v9.0.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;971](https://github.com/astral-sh/setup-uv/issues/971)) #### ⬆️ Dependency updates - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1013](https://github.com/astral-sh/setup-uv/issues/1013)) - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;1004](https://github.com/astral-sh/setup-uv/issues/1004)) - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;994](https://github.com/astral-sh/setup-uv/issues/994)) - chore(deps): bump zizmorcore/zizmor-action from 0.5.7 to 0.6.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;976](https://github.com/astral-sh/setup-uv/issues/976)) - chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;980](https://github.com/astral-sh/setup-uv/issues/980)) ### [`v9.0.0`](https://github.com/astral-sh/setup-uv/releases/tag/v9.0.0): 🌈 Change `prune-cache` default to `false` [Compare Source](https://github.com/astral-sh/setup-uv/compare/v8.3.2...v9.0.0) #### Changes This release disables the default cache cache pruning to ease the load on the PyPi infrastructure. Since users might experience more GitHub Actions cache usage which might result in higher costs this is marked as a breaking change. To read more on why we did this (now) you can read the detailed analysis and reasoning in [#&#8203;967](https://github.com/astral-sh/setup-uv/issues/967) Besides this big breaking change we also have a small bugfix while building caches for linux distributions that behave a big different than the "big ones" and a speed up in version resolution by only reading the version manifest until a matching version is found saving runtime and network bandwith. #### 🚨 Breaking changes - Change `prune-cache` default to `false` [@&#8203;charliermarsh](https://github.com/charliermarsh) ([#&#8203;967](https://github.com/astral-sh/setup-uv/issues/967)) #### 🐛 Bug fixes - fix: fall back to distribution ID when os-release has no version field [@&#8203;cxzhong](https://github.com/cxzhong) ([#&#8203;961](https://github.com/astral-sh/setup-uv/issues/961)) #### 🚀 Enhancements - Speed up version client by partial response reads [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;807](https://github.com/astral-sh/setup-uv/issues/807)) #### 🧰 Maintenance - chore: update known checksums for 0.11.30 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;968](https://github.com/astral-sh/setup-uv/issues/968)) - chore: update known checksums for 0.11.29 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;960](https://github.com/astral-sh/setup-uv/issues/960)) #### 📚 Documentation - docs: update version references to v8.3.2 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;949](https://github.com/astral-sh/setup-uv/issues/949)) #### ⬆️ Dependency updates - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;970](https://github.com/astral-sh/setup-uv/issues/970)) - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;962](https://github.com/astral-sh/setup-uv/issues/962)) ### [`v8.3.2`](https://github.com/astral-sh/setup-uv/releases/tag/v8.3.2): 🌈 update known checksums for 0.11.28 [Compare Source](https://github.com/astral-sh/setup-uv/compare/v8.3.1...v8.3.2) #### Changes Just a maintenance release #### 🧰 Maintenance - chore: update known checksums for 0.11.28 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;947](https://github.com/astral-sh/setup-uv/issues/947)) #### 📚 Documentation - docs: update version references to v8.3.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;946](https://github.com/astral-sh/setup-uv/issues/946)) #### ⬆️ Dependency updates - chore: roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;948](https://github.com/astral-sh/setup-uv/issues/948)) ### [`v8.3.1`](https://github.com/astral-sh/setup-uv/releases/tag/v8.3.1): 🌈 update known checksums for 0.11.27 [Compare Source](https://github.com/astral-sh/setup-uv/compare/v8.3.0...v8.3.1) #### Changes Just a maintenance release #### 🧰 Maintenance - Change update-docs PR labels from 'update-docs' to 'documentation' [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;945](https://github.com/astral-sh/setup-uv/issues/945)) - chore: update known checksums for 0.11.27 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;944](https://github.com/astral-sh/setup-uv/issues/944)) #### 📚 Documentation - docs: update version references to v8.3.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;939](https://github.com/astral-sh/setup-uv/issues/939)) ### [`v8.3.0`](https://github.com/astral-sh/setup-uv/releases/tag/v8.3.0): 🌈 Support uv.lock as a version-file source [Compare Source](https://github.com/astral-sh/setup-uv/compare/v8.2.0...v8.3.0) #### Changes Thanks to [@&#8203;somaz94](https://github.com/somaz94) you can now use the pinned version of uv itself in `uv.lock`. It gets picked up automatically. If you have pinned another version of uv in your `uv.lock` you can use the inputs `version` or `version-source` to override this. #### 🐛 Bug fixes - Strip environment markers from detected uv dependency pins [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;938](https://github.com/astral-sh/setup-uv/issues/938)) - Fix cache keys for Python version ranges [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;937](https://github.com/astral-sh/setup-uv/issues/937)) - fix: use BUILD_ID as backup for determining os version [@&#8203;hgaiser](https://github.com/hgaiser) ([#&#8203;912](https://github.com/astral-sh/setup-uv/issues/912)) #### 🚀 Enhancements - feat: support uv.lock as a version-file source [@&#8203;somaz94](https://github.com/somaz94) ([#&#8203;918](https://github.com/astral-sh/setup-uv/issues/918)) #### 🧰 Maintenance - ci: call docs update workflow from release [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;933](https://github.com/astral-sh/setup-uv/issues/933)) - chore: update known checksums for 0.11.26 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;930](https://github.com/astral-sh/setup-uv/issues/930)) - chore: update known checksums for 0.11.25 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;929](https://github.com/astral-sh/setup-uv/issues/929)) - chore: update known checksums for 0.11.24 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;925](https://github.com/astral-sh/setup-uv/issues/925)) - chore: update known checksums for 0.11.23 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;922](https://github.com/astral-sh/setup-uv/issues/922)) - chore: update known checksums for 0.11.22 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;921](https://github.com/astral-sh/setup-uv/issues/921)) - chore: update known checksums for 0.11.21 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;917](https://github.com/astral-sh/setup-uv/issues/917)) - chore: update known checksums for 0.11.20 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;915](https://github.com/astral-sh/setup-uv/issues/915)) - chore: update known checksums for 0.11.19 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;909](https://github.com/astral-sh/setup-uv/issues/909)) #### 📚 Documentation - docs: update version references to v8.2.0 [@&#8203;KRRT7](https://github.com/KRRT7) ([#&#8203;932](https://github.com/astral-sh/setup-uv/issues/932)) - Add a threat model for setup-uv [@&#8203;zsol](https://github.com/zsol) ([#&#8203;923](https://github.com/astral-sh/setup-uv/issues/923)) #### ⬆️ Dependency updates - chore(deps): roll up Dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;936](https://github.com/astral-sh/setup-uv/issues/936)) - chore(deps): bump release-drafter/release-drafter from 7.3.1 to 7.4.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;924](https://github.com/astral-sh/setup-uv/issues/924)) - chore(deps): bump actions/checkout from 6.0.2 to 7.0.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;926](https://github.com/astral-sh/setup-uv/issues/926)) ### [`v8.2.0`](https://github.com/astral-sh/setup-uv/releases/tag/v8.2.0): 🌈 New inputs `quiet` and `download-from-astral-mirror` [Compare Source](https://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;896](https://github.com/astral-sh/setup-uv/issues/896)) - fix: report unexpected setup failures [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;895](https://github.com/astral-sh/setup-uv/issues/895)) - fix: add timeout to fetch to prevent silent hangs [@&#8203;eifinger-bot](https://github.com/eifinger-bot) ([#&#8203;883](https://github.com/astral-sh/setup-uv/issues/883)) - Limit GitHub tokens to github.com download URLs [@&#8203;zsol](https://github.com/zsol) ([#&#8203;878](https://github.com/astral-sh/setup-uv/issues/878)) - increase libuv-workaround timeout to 100ms [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;880](https://github.com/astral-sh/setup-uv/issues/880)) #### 🚀 Enhancements - Add quiet input to suppress info-level log output [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;898](https://github.com/astral-sh/setup-uv/issues/898)) - feat: add `download-from-astral-mirror` input [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;897](https://github.com/astral-sh/setup-uv/issues/897)) #### 🧰 Maintenance - docs: update dependabot rollup biome guidance [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;902](https://github.com/astral-sh/setup-uv/issues/902)) - chore: update known checksums for 0.11.18 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;899](https://github.com/astral-sh/setup-uv/issues/899)) - chore: update known checksums for 0.11.17 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;892](https://github.com/astral-sh/setup-uv/issues/892)) - chore: update known checksums for 0.11.16 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;889](https://github.com/astral-sh/setup-uv/issues/889)) - chore: update known checksums for 0.11.15 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;885](https://github.com/astral-sh/setup-uv/issues/885)) - chore: update known checksums for 0.11.14 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;879](https://github.com/astral-sh/setup-uv/issues/879)) - chore: update known checksums for 0.11.13 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;877](https://github.com/astral-sh/setup-uv/issues/877)) - chore: update known checksums for 0.11.12 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;876](https://github.com/astral-sh/setup-uv/issues/876)) - chore: update known checksums for 0.11.11 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;873](https://github.com/astral-sh/setup-uv/issues/873)) - chore: update known checksums for 0.11.9/0.11.10 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;871](https://github.com/astral-sh/setup-uv/issues/871)) - chore: update known checksums for 0.11.8 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;867](https://github.com/astral-sh/setup-uv/issues/867)) - Bump setup-uv references to v8.1.0 SHA in docs [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;862](https://github.com/astral-sh/setup-uv/issues/862)) - Add update-docs.yml workflow [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;861](https://github.com/astral-sh/setup-uv/issues/861)) #### ⬆️ Dependency updates - chore(deps): roll up dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;903](https://github.com/astral-sh/setup-uv/issues/903)) - chore(deps): roll up dependabot updates [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;901](https://github.com/astral-sh/setup-uv/issues/901)) - chore(deps): bump release-drafter/release-drafter from 7.3.0 to 7.3.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;900](https://github.com/astral-sh/setup-uv/issues/900)) - chore(deps): bump eifinger/actionlint-action from 1.10.1 to 1.10.2 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;842](https://github.com/astral-sh/setup-uv/issues/842)) - chore(deps): bump github/codeql-action from 4.35.4 to 4.36.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;893](https://github.com/astral-sh/setup-uv/issues/893)) - chore(deps): bump zizmorcore/zizmor-action from 0.5.5 to 0.5.6 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;891](https://github.com/astral-sh/setup-uv/issues/891)) - chore(deps): bump release-drafter/release-drafter from 7.2.0 to 7.3.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;884](https://github.com/astral-sh/setup-uv/issues/884)) - chore(deps): bump zizmorcore/zizmor-action from 0.5.3 to 0.5.5 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;888](https://github.com/astral-sh/setup-uv/issues/888)) - chore(deps): bump github/codeql-action from 4.35.3 to 4.35.4 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;881](https://github.com/astral-sh/setup-uv/issues/881)) - chore(deps): bump github/codeql-action from 4.32.2 to 4.35.3 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;875](https://github.com/astral-sh/setup-uv/issues/875)) - chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;866](https://github.com/astral-sh/setup-uv/issues/866)) - chore(deps): bump zizmorcore/zizmor-action from 0.5.2 to 0.5.3 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;864](https://github.com/astral-sh/setup-uv/issues/864)) - chore(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;863](https://github.com/astral-sh/setup-uv/issues/863)) ### [`v8.1.0`](https://github.com/astral-sh/setup-uv/releases/tag/v8.1.0): 🌈 New input `no-project` [Compare Source](https://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://github.com/astral-sh/setup-uv/issues/854) #### 🚀 Enhancements - Add input no-project in combination with activate-environment [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;856](https://github.com/astral-sh/setup-uv/issues/856)) #### 🧰 Maintenance - fix: grant contents:write to validate-release job [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;860](https://github.com/astral-sh/setup-uv/issues/860)) - Add a release-gate step to the release workflow [@&#8203;zanieb](https://github.com/zanieb) ([#&#8203;859](https://github.com/astral-sh/setup-uv/issues/859)) - Draft commitish releases [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;858](https://github.com/astral-sh/setup-uv/issues/858)) - Add action-types.yml to instructions [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;857](https://github.com/astral-sh/setup-uv/issues/857)) - chore: update known checksums for 0.11.7 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;853](https://github.com/astral-sh/setup-uv/issues/853)) - Refactor version resolving [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;852](https://github.com/astral-sh/setup-uv/issues/852)) - chore: update known checksums for 0.11.6 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;850](https://github.com/astral-sh/setup-uv/issues/850)) - chore: update known checksums for 0.11.5 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;845](https://github.com/astral-sh/setup-uv/issues/845)) - chore: update known checksums for 0.11.4 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;843](https://github.com/astral-sh/setup-uv/issues/843)) - Add a release workflow [@&#8203;zanieb](https://github.com/zanieb) ([#&#8203;839](https://github.com/astral-sh/setup-uv/issues/839)) - chore: update known checksums for 0.11.3 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;836](https://github.com/astral-sh/setup-uv/issues/836)) #### 📚 Documentation - Update ignore-nothing-to-cache documentation [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;833](https://github.com/astral-sh/setup-uv/issues/833)) - Pin setup-uv docs to v8 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;829](https://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 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;855](https://github.com/astral-sh/setup-uv/issues/855)) ### [`v8.0.0`](https://github.com/astral-sh/setup-uv/releases/tag/v8.0.0): 🌈 Immutable releases and secure tags [Compare Source](https://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://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;826](https://github.com/astral-sh/setup-uv/issues/826)) - Remove deprecrated custom manifest [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;813](https://github.com/astral-sh/setup-uv/issues/813)) #### 🧰 Maintenance - Shortcircuit latest version from manifest [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;828](https://github.com/astral-sh/setup-uv/issues/828)) - Simplify inputs.ts [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;827](https://github.com/astral-sh/setup-uv/issues/827)) - Bump release-drafter to v7.1.1 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;825](https://github.com/astral-sh/setup-uv/issues/825)) - Refactor inputs [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;823](https://github.com/astral-sh/setup-uv/issues/823)) - Replace inline compile args with tsconfig [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;824](https://github.com/astral-sh/setup-uv/issues/824)) - chore: update known checksums for 0.11.2 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;821](https://github.com/astral-sh/setup-uv/issues/821)) - chore: update known checksums for 0.11.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;817](https://github.com/astral-sh/setup-uv/issues/817)) - chore: update known checksums for 0.11.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;815](https://github.com/astral-sh/setup-uv/issues/815)) - Fix latest-version workflow check [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;812](https://github.com/astral-sh/setup-uv/issues/812)) - chore: update known checksums for 0.10.11/0.10.12 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;811](https://github.com/astral-sh/setup-uv/issues/811)) ### [`v7.6.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.6.0): 🌈 Fetch uv from Astral's mirror by default [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.5.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 [@&#8203;zsol](https://github.com/zsol) ([#&#8203;809](https://github.com/astral-sh/setup-uv/issues/809)) #### 🧰 Maintenance - Switch to ESM for source and test, use CommonJS for dist [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;806](https://github.com/astral-sh/setup-uv/issues/806)) - chore: update known checksums for 0.10.10 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;804](https://github.com/astral-sh/setup-uv/issues/804)) #### ⬆️ Dependency updates - chore(deps): bump zizmorcore/zizmor-action from 0.5.0 to 0.5.2 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;808](https://github.com/astral-sh/setup-uv/issues/808)) - Bump deps [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;805](https://github.com/astral-sh/setup-uv/issues/805)) ### [`v7.5.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.5.0): 🌈 Use `astral-sh/versions` as version provider [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.4.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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;794](https://github.com/astral-sh/setup-uv/issues/794)) #### 🚀 Enhancements - Use astral-sh/versions as primary version provider [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;802](https://github.com/astral-sh/setup-uv/issues/802)) #### 📚 Documentation - docs: add cross-client dependabot rollup skill [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;793](https://github.com/astral-sh/setup-uv/issues/793)) ### [`v7.4.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.4.0): 🌈 Add riscv64 architecture support to platform detection [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.3.1...v7.4.0) #### Changes Thank you [@&#8203;luhenry](https://github.com/luhenry) for adding support for riscv64 arch #### 🚀 Enhancements - Add riscv64 architecture support to platform detection [@&#8203;luhenry](https://github.com/luhenry) ([#&#8203;791](https://github.com/astral-sh/setup-uv/issues/791)) #### 🧰 Maintenance - Delete .github/workflows/dependabot-build.yml [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;789](https://github.com/astral-sh/setup-uv/issues/789)) - Harden Dependabot build workflow [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;788](https://github.com/astral-sh/setup-uv/issues/788)) - Fix: check PR author instead of event sender for Dependabot detection [@&#8203;eifinger-bot](https://github.com/eifinger-bot) ([#&#8203;787](https://github.com/astral-sh/setup-uv/issues/787)) - chore: update known checksums for 0.10.9 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;783](https://github.com/astral-sh/setup-uv/issues/783)) - Add workflow to auto-build dist on Dependabot PRs [@&#8203;eifinger-bot](https://github.com/eifinger-bot) ([#&#8203;782](https://github.com/astral-sh/setup-uv/issues/782)) - chore: update known checksums for 0.10.8 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;779](https://github.com/astral-sh/setup-uv/issues/779)) - chore: update known checksums for 0.10.7 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;775](https://github.com/astral-sh/setup-uv/issues/775)) #### ⬆️ Dependency updates - chore(deps): bump versions [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;792](https://github.com/astral-sh/setup-uv/issues/792)) - Bump actions/setup-node from 6.2.0 to 6.3.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;790](https://github.com/astral-sh/setup-uv/issues/790)) - Bump eifinger/actionlint-action from 1.10.0 to 1.10.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;778](https://github.com/astral-sh/setup-uv/issues/778)) ### [`v7.3.1`](https://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://github.com/astral-sh/setup-uv/compare/v7.3.0...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 [@&#8203;eifinger-bot](https://github.com/eifinger-bot) ([#&#8203;774](https://github.com/astral-sh/setup-uv/issues/774)) #### 🧰 Maintenance - chore: update known checksums for 0.10.6 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;771](https://github.com/astral-sh/setup-uv/issues/771)) - chore: update known checksums for 0.10.5 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;770](https://github.com/astral-sh/setup-uv/issues/770)) - chore: update known checksums for 0.10.4 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;768](https://github.com/astral-sh/setup-uv/issues/768)) - chore: update known checksums for 0.10.3 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;767](https://github.com/astral-sh/setup-uv/issues/767)) - chore: update known checksums for 0.10.2 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;765](https://github.com/astral-sh/setup-uv/issues/765)) - chore: update known checksums for 0.10.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;764](https://github.com/astral-sh/setup-uv/issues/764)) #### ⬆️ Dependency updates - Bump github/codeql-action from 4.31.9 to 4.32.2 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;766](https://github.com/astral-sh/setup-uv/issues/766)) - Bump zizmorcore/zizmor-action from 0.4.1 to 0.5.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;763](https://github.com/astral-sh/setup-uv/issues/763)) ### [`v7.3.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.3.0): 🌈 New features and bug fixes for activate-environment [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.2.1...v7.3.0) #### 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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;762](https://github.com/astral-sh/setup-uv/issues/762)) - fix: use --clear to create venv [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;761](https://github.com/astral-sh/setup-uv/issues/761)) #### 🚀 Enhancements - feat: add venv-path input for activate-environment [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;746](https://github.com/astral-sh/setup-uv/issues/746)) #### 🧰 Maintenance - chore: update known checksums for 0.10.0 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;759](https://github.com/astral-sh/setup-uv/issues/759)) - refactor: tilde-expansion tests as unittests and no self-hosted tests [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;760](https://github.com/astral-sh/setup-uv/issues/760)) - chore: update known checksums for 0.9.30 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;756](https://github.com/astral-sh/setup-uv/issues/756)) - chore: update known checksums for 0.9.29 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;748](https://github.com/astral-sh/setup-uv/issues/748)) #### 📚 Documentation - Fix punctuation [@&#8203;pm-dev563](https://github.com/pm-dev563) ([#&#8203;747](https://github.com/astral-sh/setup-uv/issues/747)) #### ⬆️ Dependency updates - Bump typesafegithub/github-actions-typing from 2.2.1 to 2.2.2 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;753](https://github.com/astral-sh/setup-uv/issues/753)) - Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;751](https://github.com/astral-sh/setup-uv/issues/751)) - Bump actions/checkout from 6.0.1 to 6.0.2 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;740](https://github.com/astral-sh/setup-uv/issues/740)) - Bump release-drafter/release-drafter from 6.1.0 to 6.2.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;743](https://github.com/astral-sh/setup-uv/issues/743)) - Bump eifinger/actionlint-action from 1.9.3 to 1.10.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;731](https://github.com/astral-sh/setup-uv/issues/731)) - Bump actions/setup-node from 6.1.0 to 6.2.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;738](https://github.com/astral-sh/setup-uv/issues/738)) ### [`v7.2.1`](https://github.com/astral-sh/setup-uv/releases/tag/v7.2.1): 🌈 update known checksums up to 0.9.28 [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.2.0...v7.2.1) #### Changes #### 🧰 Maintenance - chore: update known checksums for 0.9.28 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;744](https://github.com/astral-sh/setup-uv/issues/744)) - chore: update known checksums for 0.9.27 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;742](https://github.com/astral-sh/setup-uv/issues/742)) - chore: update known checksums for 0.9.26 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;734](https://github.com/astral-sh/setup-uv/issues/734)) - chore: update known checksums for 0.9.25 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;733](https://github.com/astral-sh/setup-uv/issues/733)) - chore: update known checksums for 0.9.24 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;730](https://github.com/astral-sh/setup-uv/issues/730)) #### 📚 Documentation - Clarify impact of using actions/setup-python [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;732](https://github.com/astral-sh/setup-uv/issues/732)) #### ⬆️ Dependency updates - Bump zizmorcore/zizmor-action from 0.3.0 to 0.4.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;741](https://github.com/astral-sh/setup-uv/issues/741)) ### [`v7.2.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.2.0): 🌈 add outputs python-version and python-cache-hit [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.1.6...v7.2.0) #### 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 [@&#8203;akx](https://github.com/akx) ([#&#8203;720](https://github.com/astral-sh/setup-uv/issues/720)) #### 🚀 Enhancements - add outputs python-version and python-cache-hit [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;728](https://github.com/astral-sh/setup-uv/issues/728)) - Add action typings with validation [@&#8203;krzema12](https://github.com/krzema12) ([#&#8203;721](https://github.com/astral-sh/setup-uv/issues/721)) #### 🧰 Maintenance - fix: use uv_build backend for old-python-constraint-project [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;729](https://github.com/astral-sh/setup-uv/issues/729)) - chore: update known checksums for 0.9.22 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;727](https://github.com/astral-sh/setup-uv/issues/727)) - chore: update known checksums for 0.9.21 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;726](https://github.com/astral-sh/setup-uv/issues/726)) - chore: update known checksums for 0.9.20 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;725](https://github.com/astral-sh/setup-uv/issues/725)) - chore: update known checksums for 0.9.18 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;718](https://github.com/astral-sh/setup-uv/issues/718)) #### ⬆️ Dependency updates - Bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;719](https://github.com/astral-sh/setup-uv/issues/719)) - Bump github/codeql-action from 4.31.6 to 4.31.9 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;723](https://github.com/astral-sh/setup-uv/issues/723)) ### [`v7.1.6`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.6): 🌈 add OS version to cache key to prevent binary incompatibility [Compare Source](https://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;716](https://github.com/astral-sh/setup-uv/issues/716)) #### 🧰 Maintenance - chore: update known checksums for 0.9.17 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;714](https://github.com/astral-sh/setup-uv/issues/714)) #### ⬆️ Dependency updates - Bump actions/checkout from 5.0.0 to 6.0.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;712](https://github.com/astral-sh/setup-uv/issues/712)) - Bump actions/setup-node from 6.0.0 to 6.1.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;715](https://github.com/astral-sh/setup-uv/issues/715)) ### [`v7.1.5`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.5): 🌈 allow setting `cache-local-path` without `enable-cache: true` [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.1.4...v7.1.5) #### Changes [#&#8203;612](https://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;707](https://github.com/astral-sh/setup-uv/issues/707)) #### 🧰 Maintenance - set biome files.maxSize to 2MiB [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;708](https://github.com/astral-sh/setup-uv/issues/708)) - chore: update known checksums for 0.9.16 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;706](https://github.com/astral-sh/setup-uv/issues/706)) - chore: update known checksums for 0.9.15 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;704](https://github.com/astral-sh/setup-uv/issues/704)) - chore: use `npm ci --ignore-scripts` everywhere [@&#8203;woodruffw](https://github.com/woodruffw) ([#&#8203;699](https://github.com/astral-sh/setup-uv/issues/699)) - chore: update known checksums for 0.9.14 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;700](https://github.com/astral-sh/setup-uv/issues/700)) - chore: update known checksums for 0.9.13 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;694](https://github.com/astral-sh/setup-uv/issues/694)) - chore: update known checksums for 0.9.12 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;693](https://github.com/astral-sh/setup-uv/issues/693)) - chore: update known checksums for 0.9.11 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;688](https://github.com/astral-sh/setup-uv/issues/688)) #### ⬆️ Dependency updates - Bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;695](https://github.com/astral-sh/setup-uv/issues/695)) - bump dependencies [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;709](https://github.com/astral-sh/setup-uv/issues/709)) - Bump github/codeql-action from 4.30.9 to 4.31.6 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;698](https://github.com/astral-sh/setup-uv/issues/698)) - Bump zizmorcore/zizmor-action from 0.2.0 to 0.3.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;696](https://github.com/astral-sh/setup-uv/issues/696)) - Bump eifinger/actionlint-action from 1.9.2 to 1.9.3 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;690](https://github.com/astral-sh/setup-uv/issues/690)) ### [`v7.1.4`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.4): 🌈 Fix libuv closing bug on Windows [Compare Source](https://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;689](https://github.com/astral-sh/setup-uv/issues/689)) #### 🧰 Maintenance - chore: update known checksums for 0.9.10 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;681](https://github.com/astral-sh/setup-uv/issues/681)) - chore: update known checksums for 0.9.9 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;679](https://github.com/astral-sh/setup-uv/issues/679)) ### [`v7.1.3`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.3): 🌈 Support act [Compare Source](https://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;678](https://github.com/astral-sh/setup-uv/issues/678)) #### 🧰 Maintenance - chore: update known checksums for 0.9.8 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;677](https://github.com/astral-sh/setup-uv/issues/677)) - chore: update known checksums for 0.9.7 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;671](https://github.com/astral-sh/setup-uv/issues/671)) - chore: update known checksums for 0.9.6 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;670](https://github.com/astral-sh/setup-uv/issues/670)) #### 📚 Documentation - Correct description of `cache-dependency-glob` [@&#8203;allanlewis](https://github.com/allanlewis) ([#&#8203;676](https://github.com/astral-sh/setup-uv/issues/676)) ### [`v7.1.2`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.2): 🌈 Speed up extraction on Windows [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.1.1...v7.1.2) #### Changes [@&#8203;lazka](https://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 [@&#8203;lazka](https://github.com/lazka) ([#&#8203;660](https://github.com/astral-sh/setup-uv/issues/660)) #### 🧰 Maintenance - chore: update known checksums for 0.9.5 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;663](https://github.com/astral-sh/setup-uv/issues/663)) #### ⬆️ Dependency updates - Bump dependencies [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;664](https://github.com/astral-sh/setup-uv/issues/664)) - Bump github/codeql-action from 4.30.8 to 4.30.9 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;652](https://github.com/astral-sh/setup-uv/issues/652)) ### [`v7.1.1`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.1): 🌈 Fix empty workdir detection and lowest resolution strategy [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.1.0...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 [@&#8203;tpgillam](https://github.com/tpgillam) for the first contribution! #### 🐛 Bug fixes - Fix "lowest" resolution strategy with lower-bound only [@&#8203;tpgillam](https://github.com/tpgillam) ([#&#8203;649](https://github.com/astral-sh/setup-uv/issues/649)) - Use working-directory to detect empty workdir [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;645](https://github.com/astral-sh/setup-uv/issues/645)) #### 🧰 Maintenance - chore: update known checksums for 0.9.4 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;651](https://github.com/astral-sh/setup-uv/issues/651)) - chore: update known checksums for 0.9.3 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;644](https://github.com/astral-sh/setup-uv/issues/644)) #### 📚 Documentation - Change version in docs to v7 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;647](https://github.com/astral-sh/setup-uv/issues/647)) #### ⬆️ Dependency updates - Bump github/codeql-action from 4.30.7 to 4.30.8 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;639](https://github.com/astral-sh/setup-uv/issues/639)) - Bump actions/setup-node from 5.0.0 to 6.0.0 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;641](https://github.com/astral-sh/setup-uv/issues/641)) - Bump eifinger/actionlint-action from 1.9.1 to 1.9.2 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;634](https://github.com/astral-sh/setup-uv/issues/634)) - Update lockfile with latest npm [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;636](https://github.com/astral-sh/setup-uv/issues/636)) ### [`v7.1.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.1.0): 🌈 Support all the use cases [Compare Source](https://github.com/astral-sh/setup-uv/compare/v7.0.0...v7.1.0) #### 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 @&#8203;[copilot-swe-agent\[bot\]](https://github.com/apps/copilot-swe-agent) ([#&#8203;631](https://github.com/astral-sh/setup-uv/issues/631)) - Add value of UV_PYTHON_INSTALL_DIR to path [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;628](https://github.com/astral-sh/setup-uv/issues/628)) - Set output venv when activate-environment is used [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;627](https://github.com/astral-sh/setup-uv/issues/627)) - Cache python installs [@&#8203;merlinz01](https://github.com/merlinz01) ([#&#8203;621](https://github.com/astral-sh/setup-uv/issues/621)) #### 🧰 Maintenance - Add copilot-instructions.md [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;630](https://github.com/astral-sh/setup-uv/issues/630)) - chore: update known checksums for 0.9.2 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;626](https://github.com/astral-sh/setup-uv/issues/626)) - chore: update known checksums for 0.9.1 @&#8203;[github-actions\[bot\]](https://github.com/apps/github-actions) ([#&#8203;625](https://github.com/astral-sh/setup-uv/issues/625)) - Fall back to PR for updating known versions [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;623](https://github.com/astral-sh/setup-uv/issues/623)) #### 📚 Documentation - Split up documentation [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;632](https://github.com/astral-sh/setup-uv/issues/632)) #### ⬆️ Dependency updates - Bump deps [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;633](https://github.com/astral-sh/setup-uv/issues/633)) - Bump github/codeql-action from 3.30.6 to 4.30.7 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;614](https://github.com/astral-sh/setup-uv/issues/614)) ### [`v7.0.0`](https://github.com/astral-sh/setup-uv/releases/tag/v7.0.0): 🌈 node24 and a lot of bugfixes [Compare Source](https://github.com/astral-sh/setup-uv/compare/v6.8.0...v7.0.0) #### 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://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://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 [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;608](https://github.com/astral-sh/setup-uv/issues/608)) - Remove deprecated input server-url [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;607](https://github.com/astral-sh/setup-uv/issues/607)) #### 🐛 Bug fixes - Respect UV_CACHE_DIR and cache-dir [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;612](https://github.com/astral-sh/setup-uv/issues/612)) - Use --force when pruning cache [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;611](https://github.com/astral-sh/setup-uv/issues/611)) - Respect UV_NO_MODIFY_PATH [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;603](https://github.com/astral-sh/setup-uv/issues/603)) - Warn when `UV_CACHE_DIR` has changed [@&#8203;jamesbraza](https://github.com/jamesbraza) ([#&#8203;601](https://github.com/astral-sh/setup-uv/issues/601)) #### 🚀 Enhancements - Shortcut to latest version for minimum version specifier [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;598](https://github.com/astral-sh/setup-uv/issues/598)) #### 🧰 Maintenance - Bump dependencies [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;613](https://github.com/astral-sh/setup-uv/issues/613)) - Fix test-uv-no-modify-path [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;604](https://github.com/astral-sh/setup-uv/issues/604)) - Don't assume all test passed if cancelled [@&#8203;eifinger](https://github.com/eifinger) ([#&#8203;599](https://github.com/astral-sh/setup-uv/issues/599)) #### ⬆️ Dependency updates - Bump github/codeql-action from 3.30.5 to 3.30.6 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;605](https://github.com/astral-sh/setup-uv/issues/605)) - Bump github/codeql-action from 3.30.3 to 3.30.5 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;594](https://github.com/astral-sh/setup-uv/issues/594)) - Bump [@&#8203;renovatebot/pep440](https://github.com/renovatebot/pep440) from 4.2.0 to 4.2.1 @&#8203;[dependabot\[bot\]](https://github.com/apps/dependabot) ([#&#8203;581](https://github.com/astral-sh/setup-uv/issues/581)) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - 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 has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
ocertat added 1 commit 2026-10-30 02:36:25 +00:00
ocertat merged commit da644b3a7a into main 2026-10-30 02:40:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ocertat/profile-stats#9