Skip to content

ci: Use --clear in uv venv for 0.10.0#3462

Merged
dangotbanned merged 2 commits intomainfrom
ci-uv-0.10.0-compat
Feb 6, 2026
Merged

ci: Use --clear in uv venv for 0.10.0#3462
dangotbanned merged 2 commits intomainfrom
ci-uv-0.10.0-compat

Conversation

@dangotbanned
Copy link
Member

@dangotbanned dangotbanned commented Feb 6, 2026

Description

Since (https://github.com/astral-sh/uv/releases/tag/0.10.0), uv now has this change:

Breaking changes

  • Require --clear to remove existing virtual environments in uv venv (#17757)

    Previously, uv venv would prompt for confirmation before removing an existing virtual environment in interactive contexts, and remove it without confirmation in non-interactive contexts.
    Now, uv venv requires the --clear flag to remove an existing virtual environment. A warning for this change was added in uv 0.8.

    You can opt out of this behavior by passing the --clear flag or setting UV_VENV_CLEAR=1.

Apparently only broke the typing.yml workflow, so good news overall I guess

Related issues

@dangotbanned dangotbanned marked this pull request as ready for review February 6, 2026 10:22
Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

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

Sure! Thanks @dangotbanned

@dangotbanned dangotbanned merged commit 747ca38 into main Feb 6, 2026
34 of 36 checks passed
@dangotbanned dangotbanned deleted the ci-uv-0.10.0-compat branch February 6, 2026 11:50
@MarcoGorelli
Copy link
Member

@dangotbanned for the future, can we use the fix label for user-facing fixes? else it ends up in the "bug fixes" part of the release notes, even though users don't need to know about it. i'd suggest the "internal" label for this one

@dangotbanned
Copy link
Member Author

dangotbanned commented Feb 23, 2026

can we use the fix label for user-facing fixes? else it ends up in the "bug fixes" part of the release notes

@MarcoGorelli yeah sure thing!

Would it be worth adding something to the label description for those that have a special meaning?

Edit: jfc I didn't realise how big that screenshot was 😭 (shrunk it 4x now)

Screenshot_20260223-104211 Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants