chore(deps): update astral-sh/setup-uv action to v6 #20
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v5.4.2
->v6.3.1
Release Notes
astral-sh/setup-uv (astral-sh/setup-uv)
v6.3.1
: 🌈 Do not warn when version not in manifest-fileCompare Source
Changes
This is a hotfix to change the warning messages that a version could not be found in the local manifest-file to info level.
A
setup-uv
release contains a version-manifest.json file with infos in all availableuv
releases. When a newuv
version is released this is not contained in this file until the file gets updated and a newsetup-uv
release is made.We will overhaul this process in the future but for now the spamming of warnings is removed.
🐛 Bug fixes
🧰 Maintenance
v6.3.0
: 🌈 Use latest version from manifest-fileCompare Source
Changes
If a manifest-file is supplied the default value of the version input (latest) will get the latest version available in the manifest. That might not be the actual latest version available in the official uv repo.
🚀 Enhancements
v6.2.1
: 🌈 Fix "No such file or directory version-manifest.json"Compare Source
Changes
Release v6.2.0 contained a bug that slipped through the automated test. The action tried to look for the default version-manifest.json in the root of the repostory using this action instead of relative to the action itself.
🐛 Bug fixes
v6.2.0
: 🌈 New input manifest-fileCompare Source
Changes
This release adds a new input
manifest-file
.The
manifest-file
input allows you to specify a JSON manifest that lists available uv versions,architectures, and their download URLs. By default, this action uses the manifest file contained
in this repository, which is automatically updated with each release of uv.
The manifest file contains an array of objects, each describing a version,
architecture, platform, and the corresponding download URL.
You can supply a custom manifest file URL to define additional versions,
architectures, or different download URLs.
This is useful if you maintain your own uv builds or want to override the default sources.
For example:
🚀 Enhancements
activate-environment
@zanieb (#439)🧰 Maintenance
v6.1.0
: 🌈Compare Source
Changes
This release adds the input
server-url
which defaults tohttps://github.com
. You can set this to a custom url to control where this action downloads the uv release from. This is useful for users of gitea and comparable solutions.@sebadevo pointed out that we don't invalidate the cache when the
prune-cache
input is changed. This leads to unnessecarily big caches. The input is now used to compute the cache key, properly invalidating the cache when it is changed.🐛 Bug fixes
🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
v6.0.1
: 🌈 Fix default cache dependency globCompare Source
Changes
The new default in v6 used illegal patterns and therefore didn't match requirements files. This is now fixed.
🐛 Bug fixes
🧰 Maintenance
⬆️ Dependency updates
v6.0.0
: 🌈 activate-environment and working-directoryCompare Source
Changes
This version contains some breaking changes which have been gathering up for a while. Lets dive into them:
cache-dependency-glob
Activate environment
In previous versions using the input
python-version
automatically activated a venv at the repository root.This led to some unwanted side-effects, was sometimes unexpected and not flexible enough.
The venv activation is now explicitly controlled with the new input
activate-environment
(false by default):The venv gets created by the
uv venv
command so the python version is controlled by thepython-version
input or the filespyproject.toml
,uv.toml
,.python-version
in theworking-directory
.Working Directory
The new input
working-directory
controls where we look forpyproject.toml
,uv.toml
and.python-version
fileswhich are used to determine the version of uv and python to install.
It can also be used to control where the venv gets created.
Default
cache-dependency-glob
@ssbarnea found out that the default
cache-dependency-glob
was not suitable for a lot of users.The old default
is changed and should cover over 99.5% of use cases:
Use default cache dir on self hosted runners
The directory where uv stores its cache was always set to a directory in
RUNNER_TEMP
. For self-hosted runners this made no sense as this gets cleaned after every run and led to slower runs than necessary.On self-hosted runners
UV_CACHE_DIR
is no longer set and the default cache directory is used instead.🚨 Breaking changes
🧰 Maintenance
📚 Documentation
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.