GitHub
12/23/2024, 1:55 PMastral-sh/setup-uv from 4 to 5
Release notes
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?image
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 whatdoes.enable-cache
*Add */requirements.txt to default cache-dependency-glob*
If caching is enabled we automatically searched for afile and when this changed we knew we had to refresh the cache. A lot of projects don't use this but rather the good olduv.lock. We now automatically search for both `uv.lock`andrequirements.txt(this means alsorequirements*.txt,requirements-test.txt, ...) files. You can change this withrequirements-dev.txtcache-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 withand activate it for the rest of the workflow ifuv venvis used. This means you can now dopython-version
- 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(#193)@eifinger
• Add */requirements.txt to default cache-dependency-glob(#185)@eifinger
🐛 Bug fixes
• Always use api.github.com(#191)@eifinger
🚀 Enhancements
• Auto activate venv when python-version is set(#194)@eifinger
• Add python version to cache key... (truncated) Commits •(#187)@eifinger
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)
• 856099c Add python version to cache key (#187)
• e3017a7 Default to enable-cache: true on GitHub hosted runners (#193)
• 3460fe1 Always use api.github.com (#191)
• Additional commits viewable in compare view
Updates commitizen-tools/commitizen-action from 0.23.0 to 0.23.1
Release notes
Sourced from commitizen-tools/commitizen-action's releases.
0.23.1 (2024-12-21)
[master a49cac8] bump: version 0.23.0 → 0.23.1 2 files changed, 3 insertions(+), 1 deletion(-)Changelog Sourced from commitizen-tools/commitizen-action's changelog.
0.23.1 (2024-12-21)Commits •
a49cac8 bump: version 0.23.0 → 0.23.1
• 721fe06 Merge pull request #97 from plockaby/patch-1
• <https://github.com/commitizen-tools/commit…
meltano/sdk
GitHub Actions: Upload files to release
GitHub Actions: Provenance
GitHub Actions: PyPI
GitHub Actions: Check tag
✅ 3 other checks have passed
3/7 successful checksGitHub
12/31/2024, 5:32 PM