⬆ Bump astral-sh/setup-uv from 5 to 6
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(12 months ago)
(12 months ago)
dependencies github_actions
Bumps astral-sh/setup-uv from 5 to 6.
Release notes
Sourced from astral-sh/setup-uv's releases.
v6.0.0 🌈 activate-environment and working-directory
Changes
This version contains some breaking changes which have been gathering up for a while. Lets dive into them:
- Activate environment
- Working Directory
- Default
cache-dependency-glob- Use default cache dir on self hosted runners
Activate environment
In previous versions using the input
python-versionautomatically 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):- name: Install the latest version of uv and activate the environment uses: astral-sh/setup-uv@v6 with: activate-environment: true - run: uv pip install pipThe venv gets created by the
uv venvcommand so the python version is controlled by thepython-versioninput or the filespyproject.toml,uv.toml,.python-versionin theworking-directory.Working Directory
The new input
working-directorycontrols where we look forpyproject.toml,uv.tomland.python-versionfiles which are used to determine the version of uv and python to install.It can also be used to control where the venv gets created.
- name: Install uv based on the config files in the working-directory uses: astral-sh/setup-uv@v6 with: working-directory: my/subproject/dir[!CAUTION]
The inputs
pyproject-fileanduv-filehave been removed.Default
cache-dependency-glob
@ssbarneafound out that the defaultcache-dependency-globwas not suitable for a lot of users.The old default
... (truncated)
Commits
f0ec1fcBump dependencies (#424)e3d2ea5Purge cache in cache key (#423)b3d7ca7chore: update known versions for 0.7.7 (#422)0e0f4bffeat: support custom github url (#414)71bb882chore: update known versions for 0.7.6 (#415)1417e89chore: update known versions for 0.7.5 (#412)1761eeachore: update known versions for 0.7.4 (#410)9864bc9chore: update known versions for 0.7.3 (#405)0e9cccbFix path to known-checksums.ts (#404)b6f9e9cBump typescript from 5.8.2 to 5.8.3 (#393)- Additional commits viewable 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+3
-3
Package Dependencies
Technical Details
| ID: | 1499736 |
| UUID: | 2586152063 |
| Node ID: | PR_kwDOL2WVUc6aJYx_ |
| Host: | GitHub |
| Repository: | fastapi/fastapi-cli |
| Merge State: | Unknown |