dependabot[bot] opened a new pull request, #3229: URL: https://github.com/apache/iceberg-python/pull/3229
Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub) from 1.8.0 to 1.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/huggingface/huggingface_hub/releases">huggingface-hub's releases</a>.</em></p> <blockquote> <h2>[v1.9.0] Agent-Aware CLI, Spaces Volumes, and more</h2> <h2>🚀 Spaces Volumes: Mount Models, Datasets, and Buckets Directly</h2> <p>Hugging Face Spaces now support mounting volumes, giving your Space direct filesystem access to models, datasets, and storage buckets. This replaces the deprecated persistent storage feature.</p> <pre lang="python"><code>from huggingface_hub import HfApi, Volume <p>api = HfApi() api.set_space_volumes( repo_id="username/my-space", volumes=[ Volume(type="model", source="username/my-model", mount_path="/models", read_only=True), Volume(type="bucket", source="username/my-bucket", mount_path="/data"), ], ) </code></pre></p> <p>Volumes can also be set at creation time via <code>create_repo(space_volumes=...)</code> and <code>duplicate_repo(space_volumes=...)</code>, and from the CLI with the <code>--volume</code> / <code>-v</code> flag:</p> <pre lang="bash"><code># Create a Space with volumes mounted hf repos create my-space --type space --space-sdk gradio \ -v hf://gpt2:/models -v hf://buckets/org/b:/data <h1>Duplicate a Space with volumes</h1> <p>hf repos duplicate org/my-space my-space --type space <br /> -v hf://gpt2:/models -v hf://buckets/org/b:/data </code></pre></p> <ul> <li>Add support for mounted volumes by <a href="https://github.com/Wauplin"><code>@​Wauplin</code></a> in <a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4018">#4018</a></li> <li>Support volumes at repo creation and duplication by <a href="https://github.com/Wauplin"><code>@​Wauplin</code></a> in <a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4035">#4035</a></li> </ul> <h2>🤖 The <code>hf</code> CLI Now Auto-Detects AI Agents and Adapts Its Output</h2> <p>AI coding agents (Claude Code, Cursor, Codex, Copilot, Gemini, ...) increasingly use the <code>hf</code> CLI to interact with the Hub. Until now, the output was designed for humans - ANSI colors, padded tables, emoji booleans, truncated cells - making it hard for agents to parse reliably.</p> <p>Starting with v1.9, the CLI <strong>automatically detects when it's running inside an agent</strong> and adapts its output: no ANSI, no truncation, tab-separated tables, compact JSON, full timestamps. No configuration needed - it just works. This is only a first step toward making the <code>hf</code> CLI the primary entry point to the Hugging Face Hub for AI agents!</p> <p>Agent mode is auto-detected but you can also force a mode explicitly with <code>--format</code>:</p> <pre lang="bash"><code>hf models ls --limit 5 # auto-detect hf models ls --limit 5 --format agent # force agent-friendly output hf models ls --limit 5 --format json # structured JSON hf models ls --limit 5 --format quiet # IDs only, great for piping </code></pre> <p>Here's what an agent sees compared to a human:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/huggingface/huggingface_hub/commit/b768bb2ddb2a8ca27314f53ddc884bccafe01a7a"><code>b768bb2</code></a> Release: v1.9.0</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/9d30ff2af2f0ac8c6930e4f1a0cc1d4512ca1cef"><code>9d30ff2</code></a> Release: v1.9.0.rc0</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/657b8b95fb60d41b014c465f8f15546cbd0ebb7a"><code>657b8b9</code></a> chore: remove claude.yml workflow file (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4031">#4031</a>)</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/38d48d91fe18acbf578d0fb70bb6acea424f8f38"><code>38d48d9</code></a> [CLI] Migrate <code>models</code>, <code>datasets</code>, <code>spaces</code>, <code>papers</code> to <code>out</code> singleton (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4">#4</a>...</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/4e2337d5d4197f2bd08963ffaf392e82fe5479de"><code>4e2337d</code></a> [CLI] enrich CLI errors with available options and commands (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4034">#4034</a>)</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/ea1f4b79eb06368fd0e99a31eb40383c4c871dc5"><code>ea1f4b7</code></a> Support volumes at repo creation and duplication (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4035">#4035</a>)</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/993d6456afe292af43699ca2bedc991b74cc2b95"><code>993d645</code></a> [FEAT] Support skills from hf skills (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/3956">#3956</a>)</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/bb7dc6e26670b16776359023211f8691e5ac0e0f"><code>bb7dc6e</code></a> Add <code>HF_HUB_DISABLE_SYMLINKS</code> env variable to force no-symlink cache (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4032">#4032</a>)</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/2593ff8f9261b7d23f69fb65a260f1b0ec8e9749"><code>2593ff8</code></a> Do not scan CACHEDIR.TAG file in cache (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4036">#4036</a>)</li> <li><a href="https://github.com/huggingface/huggingface_hub/commit/b8d92a2572de4f6289400606336da6817f3e0059"><code>b8d92a2</code></a> [Fix] Validate shard filenames in sharded checkpoint index files (<a href="https://redirect.github.com/huggingface/huggingface_hub/issues/4033">#4033</a>)</li> <li>Additional commits viewable in <a href="https://github.com/huggingface/huggingface_hub/compare/v1.8.0...v1.9.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
