chore(deps): update astral-sh/setup-uv action to v7 #10
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:
v6.0.1->v7.1.5v7.1.6Release Notes
astral-sh/setup-uv (astral-sh/setup-uv)
v7.1.5: 🌈 allow settingcache-local-pathwithoutenable-cache: trueCompare Source
Changes
#612 fixed a faulty behavior where this action set
UV_CACHE_DIReven thoughenable-cachewasfalse. It also fixed the cases were the cache dir is already configured in a settings file likepyproject.tomlorUV_CACHE_DIRwas already set. Here the action shouldn't overwrite or setUV_CACHE_DIR.These fixes introduced an unwanted behavior: You can still set
cache-local-pathbut this action didn't do anything. This release fixes that.You can now use
cache-local-pathto automatically setUV_CACHE_DIReven whenenable-cacheisfalse(or gets set to false by default e.g. on self-hosted runners)🐛 Bug fixes
🧰 Maintenance
npm ci --ignore-scriptseverywhere @woodruffw (#699)⬆️ Dependency updates
v7.1.4: 🌈 Fix libuv closing bug on WindowsCompare Source
Changes
This release fixes the bug
Assertion failed: !(handle->flags & UV_HANDLE_CLOSING)on Windows runners🐛 Bug fixes
🧰 Maintenance
v7.1.3: 🌈 Support actCompare Source
Changes
This bug fix release adds support for https://github.com/nektos/act
It was previously broken because of a too new
undiciversion and TS transpilation target.Compatibility with act is now automatically tested.
🐛 Bug fixes
🧰 Maintenance
📚 Documentation
cache-dependency-glob@allanlewis (#676)v7.1.2: 🌈 Speed up extraction on WindowsCompare 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 strategyCompare Source
Changes
This release fixes a bug where the
working-directoryinput was not used to detect an empty work dir. It also fixes thelowestresolution 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 casesCompare 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-strategylets 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-environmentthe path to the activated venv is now also exposed under the outputvenv.Downloaded python installations can now also be uploaded to the GitHub Actions cache backend. Useful if you are running in
actand 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
PATHon Windows.🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
v7.0.0: 🌈 node24 and a lot of bugfixesCompare 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-urlwhich 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
UV_CACHE_DIRis already set and does not overwrite it. It now also finds cache-dir settings in config files if you set them.uvprocesses running in the background. Starting with uv version0.8.24this action usesuv cache prune --ci --forceto ignore the running processesUV_NO_MODIFY_PATHUV_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
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.xthis 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
UV_CACHE_DIRhas changed @jamesbraza (#601)🚀 Enhancements
🧰 Maintenance
⬆️ Dependency updates
v6.8.0: 🌈 Add **/*.py.lock to cache-dependency-globCompare Source
Changes
Thanks to @parched the default
cache-dependency-globnow also find all lock files generated byuv lock --script🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
v6.7.0: 🌈 New inputsrestore-cacheandsave-cacheCompare Source
Changes
This release adds fine-grained control over the caching steps.
restore-cache(trueby default) can be set tofalseto skip restoring the cache while still allowing to save the cache.save-cache(trueby default) can be set tofalseto skip saving the cache.Skipping cache saving can be useful if you know, that you will never use this version of the cache again and don't want to waste storage space:
🚀 Enhancements
🧰 Maintenance
⬆️ Dependency updates
v6.6.1: 🌈 Fix exclusions in cache-dependency-globCompare Source
Changes
Exclusions with a leading
!in the cache-dependency-glob did not work and got fixed with this release. Thank you @KnisterPeter for raising this!🐛 Bug fixes
🧰 Maintenance
v6.6.0: 🌈 Support for .tools-versionsCompare Source
Changes
This release adds support for asdf
.tool-versionsin theversion-fileinput🐛 Bug fixes
🚀 Enhancements
🧰 Maintenance
v6.5.0: 🌈 Better error messages, bug fixes and copilot agent settingsCompare Source
Changes
This release brings better error messages in case the GitHub API is impacted, fixes a few bugs and allows to disable problem matchers for better use in Copilot Agent workspaces.
🐛 Bug fixes
🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
v6.4.3: 🌈 fix relative paths starting with dotsCompare Source
🐛 Bug fixes
v6.4.2: 🌈 Interpret relative inputs as under working-directoryCompare Source
Changes
This release will interpret relative paths in inputs as relative
to the value of
working-directory(default is${{ github.workspace }}) .This means the following configuration
will look for the
cache-dependency-globunder/my/path/uv.lock🐛 Bug fixes
🧰 Maintenance
v6.4.1: 🌈 Hotfix: Ignore deps starting with uv when finding uv versionCompare Source
Changes
Thank you @phpmypython for raising a PR to fix this issue!
🐛 Bug fixes
v6.4.0: 🌈 Add inputversion-fileCompare Source
Changes
You can now use the
version-fileinput to specify a file that contains the version of uv to install.This can either be a
pyproject.tomloruv.tomlfile which defines arequired-versionoruv defined as a dependency in
pyproject.tomlorrequirements.txt.🚀 Enhancements
🧰 Maintenance
📚 Documentation
⬆️ Dependency updates
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-uvrelease contains a version-manifest.json file with infos in all availableuvreleases. When a newuvversion is released this is not contained in this file until the file gets updated and a newsetup-uvrelease 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-fileinput 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:
[ { "version": "0.7.12-alpha.1", "artifactName": "uv-x86_64-unknown-linux-gnu.tar.gz", "arch": "x86_64", "platform": "unknown-linux-gnu", "downloadUrl": "https://release.pyx.dev/0.7.12-alpha.1/uv-x86_64-unknown-linux-gnu.tar.gz" }, ... ]🚀 Enhancements
activate-environment@zanieb (#439)🧰 Maintenance
v6.1.0: 🌈Compare Source
Changes
This release adds the input
server-urlwhich 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-cacheinput 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
Configuration
📅 Schedule: 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.
Need help?
You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.