chore(deps): update dependency huggingface-hub to v1.14.0#1513
chore(deps): update dependency huggingface-hub to v1.14.0#1513red-hat-konflux[bot] wants to merge 1 commit into
Conversation
|
🎉 Welcome to the Kubeflow Model Registry! 🎉 Here's what happens next:
Join the community:
Feel free to ask questions in the comments if you need any help or clarification! Note for: @Al-Pragliola @adysenrothman @fege @jonburdo @pboyd @rareddy @tarilabs |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: red-hat-konflux[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @red-hat-konflux[bot]. Thanks for your PR. I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1513 +/- ##
=======================================
Coverage 38.78% 38.78%
=======================================
Files 195 195
Lines 23236 23236
Branches 261 261
=======================================
Hits 9011 9011
Misses 13479 13479
Partials 746 746 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
This PR contains the following updates:
1.10.1→1.14.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
huggingface/huggingface_hub (huggingface-hub)
v1.14.0: [v1.14.0] Handle Spaces secrets & variables from CLI and other improvementsCompare Source
🖥️ Manage Space secrets and variables from the CLI
You can now manage Space secrets and environment variables directly from the command line with two new
hf spacessubgroups:secretsandvariables. Usehf spaces secretsto add, list, and delete write-only secrets, andhf spaces variablesto add, list, and delete readable environment variables. Bothaddcommands support multiple-s/-eflags and--secrets-file/-env-filefor loading from dotenv files. On the Python side,HfApi.get_space_secrets()returns secret metadata (key, description, updated timestamp) without ever revealing values.📚 Documentation: CLI guide · Manage your Space
🪣 Rsync-style trailing slash for bucket folder copies
hf buckets cpnow supports rsync-style trailing slash semantics when copying folders. A trailing/on the source path copies only the folder's contents to the destination, while omitting it nests the folder itself — matching the behavior you'd expect fromrsync. This makes it possible to flatten directory structures during copies, which was not possible before. Additionally,copy_filesnow raises an explicitEntryNotFoundErrorwhen the source path resolves to no files, instead of silently succeeding with zero operations.📚 Documentation: Buckets guide · CLI guide
💔 Breaking Change
hf skills upgrade->hf skills updateby @hanouticelina in #4176 —hf skills upgradeno longer exists; usehf skills updateinstead.out.status()by @hanouticelina in #4171 — status updates (spinners/progress) onhf extensions installandhf spaces dev-modeare now suppressed when using--format json,--quiet, or--format agent.🖥️ CLI
hf datasets leaderboardby @Wauplin in #4174hf updatewhen already on latest version by @julien-c in #4177hf skillsto bucket by @hanouticelina in #4175🐛 Bug and typo fixes
🏗️ Internal
v1.13.0: [v1.13.0] new CLI commands and formatting, and HF URI parsingCompare Source
🖥️ New CLI commands: repo cards, file listings, and dataset leaderboards
This release adds three new CLI capabilities for exploring Hub content.
hf models card,hf datasets card, andhf spaces cardfetch the README of any repo and print it to stdout, with--metadata(YAML frontmatter as JSON) and--text(prose only) flags for splitting the card into its structured and unstructured parts. Callinghf models ls <repo_id>,hf datasets ls <repo_id>, orhf spaces ls <repo_id>now switches from listing repos to listing files inside that repo, with--tree,-R,-h, and--revisionoptions mirroring the existinghf buckets lsbehavior. Andhf datasets leaderboard <dataset_id>surfaces model scores submitted to a benchmark dataset, making it easy to compare models by score from the terminal.📚 Documentation: CLI guide
hf datasets leaderboardby @hanouticelina in #4154🚀 Manage Spaces from the CLI
Three new
hf spacessubcommands bring full lifecycle control to the terminal.hf spaces pauseandhf spaces restartstop or rebuild a Space (with--factory-rebootfor a clean rebuild), andhf spaces settingslets you configure sleep time and hardware in one call. A companionhf spaces hardwarecommand lists all available hardware flavors with pricing, so you can discover options before changing settings. Pause and restart include a confirmation prompt (-yto skip) since they tear down the running container.📚 Documentation: CLI guide — Spaces
hf spaces hardwarecommand by @Wauplin in #4169--hardwareflag tohf spaces settingsby @davanstrien in #4163🔃
hf updatereplaces the auto-update promptThe blocking interactive Y/n auto-update prompt at CLI startup is gone. It was catching too many non-interactive contexts (CI runners, Homebrew post-install hooks, Jupyter notebooks) and hanging automation. In its place, a single yellow stderr warning suggests running
hf update— a new command that detects howhfwas installed (Homebrew, standalone installer, or pip) and runs the right upgrade command. SetHF_HUB_DISABLE_UPDATE_CHECK=1to silence the startup check entirely, for example in offline CI.📚 Documentation: CLI guide — Updating
hf update+ drop interactive update prompt by @Wauplin in #4131✏️ Global output formatting for every command
The
--format,--json, and-q/--quietflags are now handled globally by the CLI framework instead of being declared individually on each command. This means everyhfcommand automatically accepts them — no more per-command--formatboilerplate, and the flags are properly documented in a dedicated "Formatting options" section in every--helppage.--format auto(the default) pickshumanfor interactive terminals andagentwhen invoked by an AI agent, making CLI output automatically suitable for both people and tools.📚 Documentation: CLI guide — Output formatting
🔗 Centralized
hf://URI parsingA new
parse_hf_urifunction andHfUridataclass provide a single source of truth for parsinghf://...strings across the library. Whether you reference a model, dataset, space, bucket, or file inside a repo, the parser handles all valid URI shapes — type prefixes, revisions, and paths — and rejects invalid ones with clear error messages. A companionparse_hf_mount/HfMounthandles volume mount specifications (hf://...:/mnt:ro). Both are pure string parsers (no network calls) and round-trippable via.to_uri().📚 Documentation: HF URIs reference
🚀 Bucket transport for Jobs script upload
Local scripts uploaded by
hf jobs uv runare now stored in a{namespace}/jobs-artifactsbucket and mounted into the job container at/datainstead of being base64-encoded into an environment variable. The oldbash -c+xargs+base64 -dpipeline was fragile and required manual shell quoting. Bucket transport is simpler, easier to debug, and supports write-back: jobs can persist output artifacts to/data/since the mount is read-write. The base64 transport path has been fully removed with no fallback.🖥️ CLI
🤖 Inference
📖 Documentation
🐛 Bug and typo fixes
🏗️ Internal
v1.12.2: [v1.12.2] Add DeepInfra support for Inference ProvidersCompare Source
Full Changelog: huggingface/huggingface_hub@v1.12.1...v1.12.2
v1.12.1Compare Source
v1.12.0: [v1.12.0] Unified CLI output, bucket search, and moreCompare Source
🖥️ Unified output format for
hf bucketscommandsAll
hf bucketscommands now use the unified--format [auto|human|agent|json|quiet]flag and theoutsingleton for consistent, scriptable output. The previous--quietand--format table|jsonflags have been replaced by a single--formatoption that works acrosscreate,list,info,delete,rm,move, andcp. Success messages useout.result(), detail views useout.dict(), and listings useout.table()with proper empty-results handling — making the buckets CLI consistent with the rest of thehfcommand suite.📚 Documentation: Buckets guide · CLI guide
🪣 Search buckets by name
You can now filter buckets by name when listing them, both from the Python API and the CLI. Pass
search="checkpoint"tolist_buckets()or--search "checkpoint"tohf buckets listto find buckets matching a name pattern, without having to list and filter client-side.📚 Documentation: Buckets guide · CLI guide
🖥️ CLI
piagent by @hanouticelina in #4125🐛 Bug and typo fixes
🔧 Other QoL Improvements
mainSizetoExpandDatasetProperty_Tby @Wauplin in #4136🏗️ Internal
v1.11.0: [v1.11.0] Semantic Spaces search, Space logs, and moreCompare Source
🔍 Semantic search for Spaces
Discover Spaces using natural language. The new
search_spaces()API andhf spaces searchCLI use embedding-based semantic search to find relevant Spaces based on what they do - not just keyword matching on their name.The same capability is available in the CLI:
hf spacescommand with semantic search by @Wauplin in #4094📜 Programmatic access to Space logs
When a Space fails to build or crashes at runtime, you can now retrieve the logs programmatically — no need to open the browser. This is particularly useful for agentic workflows that need to debug Space failures autonomously.
The CLI equivalent:
fetch_space_logs+hf spaces logscommand by @davanstrien in #4091🖥️ CLI output standardization continues
This release continues the CLI output migration started in v1.9, bringing 11 more command groups to the unified
--formatflag. The old--quietflags on migrated commands are replaced by--format quiet.Confirmation prompts (e.g.,
hf cache rm,hf repos delete,hf buckets delete) are now mode-aware: they prompt in human mode, and require--yesin agent/json/quiet modes - no more hanging scripts.Commands migrated in this release:
collections,discussions,extensions,endpoints,webhooks,cache,repos,repo-files,download,upload, andupload-large-folder. Remaining commands (jobs,buckets,auth login/logout) will follow in a future release.collections,discussions,extensions,endpointsandwebhookstooutsingleton by @hanouticelina in #4057hf cachetooutsingleton by @hanouticelina in #4070out.confirm()and migrate all confirmation prompts by @hanouticelina in #4083reposandrepo-filestooutsingleton + add confirmation tohf repos deleteby @hanouticelina in #4097download,upload,upload-large-foldertooutsingleton by @hanouticelina in #4100📦 Space volumes management from the CLI
A new
hf spaces volumescommand group lets you manage volumes mounted in Spaces directly from the command line — list, set, and delete using the familiar-v/--volumesyntax.hf spaces volumescommands by @Wauplin in #4109🔧 More CLI improvements
hf auth token- Prints the current token to stdout, handy for piping into other commands:hf auth tokencommand by @Wauplin in #4104💔 Breaking change
model_namedeprecated inlist_models- Usesearchinstead. Both were always equivalent (both map to?search=...in the API), but nowmodel_nameemits a deprecation warning. Removal is planned for 2.0.The CLI is not affected -
hf models lsalready uses--search.model_namein favor ofsearchinlist_modelsby @Wauplin in #4112🔧 Other improvements
list_liked_reposby @Wauplin in #4078🐛 Bug fixes
cp -rnesting semantics incopy_filesby @Wauplin in #4081.gitattributeswhen copying repo files to a bucket by @Wauplin in #4082hf_raise_for_statuscausing delayed object destruction by @Wauplin in #4092repo deletetests missing--yesflag by @hanouticelina in #4101📖 Documentation
-v/--volumeaccepts multiple volumes by @davanstrien in #4113🏗️ Internal
v1.10.2: [v1.10.2] Fix reference cycle in hf_raise_for_statusCompare Source
Full Changelog: huggingface/huggingface_hub@v1.10.1...v1.10.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.