Sourced from astral-sh/setup-uv's releases.
v5.0.0 🎄 Merry Christmas - Help fastly and users by default
Changes
This christmans 🎄 release is a bit early bit still full of presents 🎁 Since we are changing some of the defaults this can lead to breaking changes, thus the major version increase.
Here are the highlights:
Default to enable-cache: true on GitHub hosted runners
Did you know that that Fastly, the company hosting PyPI, theoretically has to pay $12.5 million per month and so far have served more than 2.41 exabytes of data?
This is why they asked us to turn on caching by default. After weighting the pros and cons we decided to automatically upload the cache to the GitHub Actions cache when running on GitHub hosted runners. You can still disable that with
enable-cache: false
.I remember when I first got into actions and didn't understand all the magic. I was baffled that some actions did something behind the scenes to make everything faster. I hope with this change we help a lot of users who are don't want to or are afraid to understand what
enable-cache
does.Add **/requirements*.txt to default cache-dependency-glob
If caching is enabled we automatically searched for a
uv.lock
file and when this changed we knew we had to refresh the cache. A lot of projects don't use this but rather the good oldrequirements.txt
. We now automatically search for bothuv.lock
andrequirements*.txt
(this means alsorequirements-test.txt
,requirements-dev.txt
, ...) files. You can change this withcache-dependency-glob
Auto activate venv when python-version is set
Some workflows install packages on the fly. This automatically works when using a python version that is already present on the runner. But if uv installs the version, e.g. because it is a free-threaded version or an old one, it is a standalone-build and installing packages "into the system" is not possible.
We now automatically create a new virtual environment with
uv venv
and activate it for the rest of the workflow ifpython-version
is used. This means you can now do- name: Install uv uses: astral-sh/setup-uv@auto-environment with: python-version: 3.13t - run: uv pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
🚨 Breaking changes
- Default to enable-cache: true on GitHub hosted runners
@eifinger
(#193)- Add **/requirements*.txt to default cache-dependency-glob
@eifinger
(#185)🐛 Bug fixes
- Always use api.github.com
@eifinger
(#191)🚀 Enhancements
- Auto activate venv when python-version is set
@eifinger
(#194)- Add python version to cache key
@eifinger
(#187)
... (truncated)
887a942
Set VIRTUAL_ENV to .venv instead of .venv/bin (#210)d174a24
Align use of actions/setup-python
with uv docu (#207)12c852e
Remove uv version from cache key (#206)180f8b4
Fix wrong cacheDependencyPathHash (#201)e3fb95a
Warn instead of fail for no-dependency-glob (#200)2af22b5
chore: update known checksums for 0.5.11 (#198)dd57877
Auto activate venv when python-version is set (#194)85aa0bf
chore: update known checksums for 0.5.10 (#196)1f2cbfa
Bump @types/node
from 22.10.1 to 22.10.2 (#189)25b3ce6
chore: update known checksums for 0.5.9 (#195)49a531d
all: make method and struct comments match the namesSourced from github.com/hashicorp/hc-install's releases.
v0.9.1
What's Changed
- build(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 by
@dependabot
in hashicorp/hc-install#268- build(deps): bump github.com/ProtonMail/go-crypto from 1.1.0 to 1.1.2 by
@dependabot
in hashicorp/hc-install#261- build(deps): bump github.com/ProtonMail/go-crypto from 1.1.0-alpha.2 to 1.1.0 by
@dependabot
in hashicorp/hc-install#259- build(deps): bump github.com/ProtonMail/go-crypto from 1.1.2 to 1.1.3 by
@dependabot
in hashicorp/hc-install#263- build(deps): bump golang.org/x/mod from 0.21.0 to 0.22.0 by
@dependabot
in hashicorp/hc-install#262New Contributors
@imakewebthings
made their first contribution in hashicorp/hc-install#252Full Changelog: https://github.com/hashicorp/hc-install/compare/v0.9.0...v0.9.1
a9cdf85
Prepare for 0.9.1 release (#269)18d08ba
build(deps): Bump workflows to latest trusted versions (#266)e716f0a
build(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 (#268)cca0f6d
ci: Report code coverage (#264)131f8ff
build(deps): bump github.com/ProtonMail/go-crypto from 1.1.2 to 1.1.3
(#263)2609a78
build(deps): bump golang.org/x/mod from 0.21.0 to 0.22.0 (#262)b9043f8
build(deps): bump github.com/ProtonMail/go-crypto from 1.1.0 to 1.1.2
(#261)c1dc8ac
build(deps): bump github.com/ProtonMail/go-crypto from 1.1.0-alpha.2 to
1.1.0...8ed2e0f
build(deps): Bump workflows to latest trusted versions (#258)7a0461e
build(deps): Bump workflows to latest trusted versions (#257)40b02d6
go.mod: update golang.org/x dependencies