Skip to content

Use HF CLI with Space Settings support - #11

Merged
BlueSkyXN merged 1 commit into
mainfrom
codex/librefs-hf-cli-20260728
Jul 28, 2026
Merged

Use HF CLI with Space Settings support#11
BlueSkyXN merged 1 commit into
mainfrom
codex/librefs-hf-cli-20260728

Conversation

@BlueSkyXN

@BlueSkyXN BlueSkyXN commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Root cause

huggingface_hub==1.5.0 does not provide the hf spaces variables command, so production deployment run 30325513317 failed before any wrapper upload.

Change

Pin huggingface_hub==1.24.0, the exact CLI version validated against the workflow command surface.

Validation

  • isolated venv: hf version reports 1.24.0
  • isolated venv: hf spaces variables --help succeeds
  • scripts/validate-contract.sh
  • git diff --check

This PR does not change Space Settings or deploy by itself.

@BlueSkyXN
BlueSkyXN merged commit 6ded066 into main Jul 28, 2026
1 check passed
@BlueSkyXN
BlueSkyXN deleted the codex/librefs-hf-cli-20260728 branch July 28, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant