Title: Bump astral-sh/setup-uv from 5 to 6 by dependabot[bot] · Pull Request #82 · pythonpe/python.pe · GitHub
Open Graph Title: Bump astral-sh/setup-uv from 5 to 6 by dependabot[bot] · Pull Request #82 · pythonpe/python.pe
X Title: Bump astral-sh/setup-uv from 5 to 6 by dependabot[bot] · Pull Request #82 · pythonpe/python.pe
Description: 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-version automatically 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 pip
The venv gets created by the uv venv command so the python version is controlled by the python-version input or the files pyproject.toml, uv.toml, .python-version in the working-directory.
Working Directory
The new input working-directory controls where we look for pyproject.toml, uv.toml and .python-version files
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-file and uv-file have been removed.
Default cache-dependency-glob
@ssbarnea found out that the default cache-dependency-glob was not suitable for a lot of users.
The old default
... (truncated)
Commits
c7f87aa bump to v6 in README (#382)
aadfaf0 Change default cache-dependency-glob (#352)
a0f9da6 No default UV_CACHE_DIR on selfhosted runners (#380)
ec4c691 new inputs activate-environment and working-directory (#381)
aa12905 chore: update known checksums for 0.6.16 (#378)
fcaddda chore: update known checksums for 0.6.15 (#377)
fb3a0a9 log info on venv activation (#375)
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
Open Graph Description: 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...
X Description: 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 brea...
Opengraph URL: https://github.com/pythonpe/python.pe/pull/82
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0e781e19-a182-7ef4-adaa-3121c0ef5038 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E128:3F508E:9ED65E:CEE5FD:6B093E43 |
| html-safe-nonce | 8539defe9480a4d5867b3b585959ce1b076d32817f12ca34fc1f05da4e867e40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTI4OjNGNTA4RTo5RUQ2NUU6Q0VFNUZEOjZCMDkzRTQzIiwidmlzaXRvcl9pZCI6IjgyMDM3NjQ5NzQ1ODY3NzMwNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0b8c9f32faa3be729df50afdb1997fe70277d516b3b5510b5e0e4d9da96e96ca |
| hovercard-subject-tag | pull_request:2483352110 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pythonpe/python.pe/pull/82/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7e7304a38b6bc6a1ec0a7970f219ae1c71491302599b3c42088762d8889d94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonpe/python.pe git https://github.com/pythonpe/python.pe.git |
| octolytics-dimension-user_id | 1152221 |
| octolytics-dimension-user_login | pythonpe |
| octolytics-dimension-repository_id | 2648258 |
| octolytics-dimension-repository_nwo | pythonpe/python.pe |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2648258 |
| octolytics-dimension-repository_network_root_nwo | pythonpe/python.pe |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3cb927d1757a02e619a0eb62b036233d6d9cdc4 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width