Thanks to visit codestin.com
Credit goes to github.com

Skip to content

better usage of UV_PRERELEASE=allow#13716

Merged
sayakpaul merged 2 commits into
mainfrom
uv-prerelease-shenanigans
May 11, 2026
Merged

better usage of UV_PRERELEASE=allow#13716
sayakpaul merged 2 commits into
mainfrom
uv-prerelease-shenanigans

Conversation

@sayakpaul

Copy link
Copy Markdown
Member

What does this PR do?

The huggingface_hub RC-testing bot (which produces branches like ci-test-huggingface-hub-1.14.0.rc0-release) rewrites every uv pip install in our workflows to uv pip install --prerelease=allow via a text substitution. On lines that already carried --prerelease allow (added in #12395 so non-RC CI can still install transformers-from-main when it depends on a hub RC), this produced:

uv pip install --prerelease=allow --prerelease allow -U transformers@git+...

uv rejects this:

error: the argument '--prerelease <PRERELEASE>' cannot be used multiple times

Example: https://github.com/huggingface/diffusers/actions/runs/25439680072/job/74627420559

Switching to the UV_PRERELEASE=allow env-var prefix is equivalent and fixes the problem.

@github-actions github-actions Bot added size/S PR with diff < 50 LOC CI and removed size/S PR with diff < 50 LOC labels May 11, 2026
@github-actions github-actions Bot added the size/S PR with diff < 50 LOC label May 11, 2026
@sayakpaul sayakpaul merged commit 6382a3d into main May 11, 2026
13 of 16 checks passed
@sayakpaul sayakpaul deleted the uv-prerelease-shenanigans branch May 11, 2026 08:19
ADJB1212 pushed a commit to ADJB1212/diffusers that referenced this pull request May 12, 2026
@Wauplin

Wauplin commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

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

Labels

CI size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants