Fix studio.txt vs constraints.txt huggingface-hub conflict (PR #5754)

Round 25 P1 #5 bumped studio.txt huggingface-hub to >=1.3.0,<2.0 but

single-env/constraints.txt still pinned ==0.36.2, which made fresh

Studio Update CI / Mac Studio Update CI / Mac Studio UI CI fail at

the studio-deps install step with ResolutionImpossible. Bump the

constraint pin to ==1.8.0 to match the setup.sh / setup.ps1 t5

sub-env pins and satisfy the new studio.txt floor.
This commit is contained in:
Daniel Han-Chen 2026-05-25 12:40:35 +00:00
commit fd7d334d10

View file

@ -2,7 +2,12 @@
# Keep compatible with unsloth transformers bounds.
transformers==4.57.6
trl==0.23.1
huggingface-hub==0.36.2
# Round 25 P1 #5 follow-up: bumped from 0.36.2 because studio.txt now
# requires >=1.3.0,<2.0 (Flux2KleinPipeline transitively imports
# transformers 5.x which needs huggingface_hub.is_offline_mode,
# introduced in hub 1.x). 1.8.0 matches the explicit pin used by
# studio/setup.sh / setup.ps1 for the t5 sub-envs.
huggingface-hub==1.8.0
# Studio stack
datasets==4.3.0