Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump the actions group with 2 updates #118

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

Bumps the actions group with 2 updates: astral-sh/setup-uv and mamba-org/setup-micromamba.

Updates astral-sh/setup-uv from 4.2.0 to 5.1.0

Release notes

Sourced from astral-sh/setup-uv's releases.

v5.1.0 🌈 Fewer cache invalidations

Changes

This release includes less frequently invalidated caches and a fix for setting the correct VIRTUAL_ENV

🐛 Bug fixes

🚀 Enhancements

📚 Documentation

v5.0.1 🌈 The christmas elves overlooked something

Changes

With so many breaking changes so close to the end of the year we missed something.

Thank you @​ryanhiebert for quickly reporting that our new defaults fail the workflow if neither a uv.lock nor a requirements*.txt can be found. This is now a warning instead.

🐛 Bug fixes

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 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 old requirements.txt. We now automatically search for both uv.lockand requirements*.txt (this means also requirements-test.txt, requirements-dev.txt, ...) files. You can change this with cache-dependency-glob

... (truncated)

Commits
  • 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)
  • Additional commits viewable in compare view

Updates mamba-org/setup-micromamba from 2.0.2 to 2.0.3

Release notes

Sourced from mamba-org/setup-micromamba's releases.

v2.0.3

What's Changed

Bug fixes

Documentation

Dependency updates

Full Changelog: mamba-org/setup-micromamba@v2.0.2...v2.0.3

Commits
  • 068f1ab Fixed regex for matching versions (#253)
  • c8d39fb Bump softprops/action-gh-release from 2.0.9 to 2.1.0 in the actions group (#252)
  • 8415864 Test cmd.exe for older micromamba version (#236)
  • 1d8f116 docs: Mention v2 in README.md (#249)
  • a580d2e Bump softprops/action-gh-release from 2.0.8 to 2.0.9 in the actions group (#239)
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the actions group with 2 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba).


Updates `astral-sh/setup-uv` from 4.2.0 to 5.1.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@38f3f10...887a942)

Updates `mamba-org/setup-micromamba` from 2.0.2 to 2.0.3
- [Release notes](https://github.com/mamba-org/setup-micromamba/releases)
- [Commits](mamba-org/setup-micromamba@06375d8...068f1ab)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: mamba-org/setup-micromamba
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of changes in the uv action, and as I'm not an uv user myself, I would rather leave the review of it to someone who is more familiar with it.

So the whole purpose of this review is to state that I would be more comfortable if someone actually look into the changes and then merge this, rather than we just blindly merge it.

@matthewfeickert matthewfeickert self-assigned this Jan 6, 2025
Copy link
Member

@matthewfeickert matthewfeickert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Sorry was AFK for holidays and then sick, so only starting to come back online now.)

Thanks for flagging this @bsipocz.

This is all fine. The uv changes seem to be mostly low level stuff and the way that uv is used in the repo is only through the high level uv tool run CLI API to provide equivalent functionality to pipx. 👍

@matthewfeickert matthewfeickert merged commit a715c4f into main Jan 6, 2025
1 of 2 checks passed
@matthewfeickert matthewfeickert deleted the dependabot/github_actions/actions-c87f0b0a03 branch January 6, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants