dependabot[bot] opened a new pull request, #2766:
URL: https://github.com/apache/iceberg-rust/pull/2766

   Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub) from 
1.20.1 to 1.21.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.21.0] Jobs filtering &amp; pagination</h2>
   <h2>📊 Jobs listing revamped: filter, paginate, and <code>ls</code> instead 
of <code>ps</code></h2>
   <p>The Jobs listing API and CLI have been overhauled with server-side 
filtering, proper pagination, and a CLI rename that aligns with the rest of 
<code>hf</code>. <code>list_jobs()</code> now accepts <code>status</code> and 
<code>labels</code> parameters that push filtering to the server, and returns a 
lazy iterator (matching <code>list_models</code>, <code>list_datasets</code>, 
etc.) so large result sets are fetched page by page. On the CLI side, <code>hf 
jobs ps</code> has been renamed to <code>hf jobs ls</code> for consistency with 
<code>hf repos ls</code>, <code>hf models ls</code>, and friends — 
<code>ps</code> and <code>list</code> still work as aliases.</p>
   <p>⚠️ <strong>Breaking changes:</strong></p>
   <ul>
   <li><code>list_jobs()</code> now returns an <code>Iterable[JobInfo]</code> 
instead of <code>list[JobInfo]</code>. If you indexed the result 
(<code>jobs[0]</code>), wrap it with <code>list(...)</code>.</li>
   <li><code>-f</code>/<code>--filter</code> in <code>hf jobs ls</code> is 
deprecated. Use <code>--status</code> and <code>--label</code> instead. Glob 
patterns (<code>data-*</code>), negation (<code>key!=value</code>), and 
filtering by <code>id</code>/<code>image</code>/<code>command</code> are no 
longer supported.</li>
   </ul>
   <pre lang="python"><code>from huggingface_hub import list_jobs
   <h1>Filter by status and labels</h1>
   <p>list_jobs(status=[&quot;RUNNING&quot;, &quot;SCHEDULING&quot;], 
labels={&quot;env&quot;: &quot;prod&quot;})</p>
   <h1>Iterate lazily</h1>
   <p>for job in list_jobs():
   print(job.id)</p>
   <h1>Materialize all results</h1>
   <p>all_jobs = list(list_jobs())
   </code></pre></p>
   <pre lang="bash"><code># Filter by status and labels
   hf jobs ls --status running,scheduling --label env=prod --label team=ml
   
   # Paginate with --limit
   hf jobs ls -a --limit 500
   hf jobs ls -a --limit 0  # no limit
   </code></pre>
   <ul>
   <li>[Jobs] Add stage/label filtering to list_jobs API and CLI by <a 
href="https://github.com/Wauplin";><code>@​Wauplin</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4395";>#4395</a></li>
   <li>[Jobs] Paginate list_jobs and add --limit to <code>hf jobs ps</code> by 
<a href="https://github.com/Wauplin";><code>@​Wauplin</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4403";>#4403</a></li>
   <li>[CLI] [Jobs] Rename job listing to 'hf jobs ls' (and keep 'hf jobs ps' 
alias) by <a href="https://github.com/Wauplin";><code>@​Wauplin</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4409";>#4409</a></li>
   </ul>
   <p>📚 <strong>Documentation:</strong> <a 
href="https://huggingface.co/docs/huggingface_hub/main/en/guides/cli";>CLI 
guide</a>, <a 
href="https://huggingface.co/docs/huggingface_hub/main/en/guides/jobs";>Jobs 
guide</a></p>
   <h2>🐛 Fix circular import on <code>from huggingface_hub import 
login</code></h2>
   <p>A regression introduced in v1.20.0 caused <code>from huggingface_hub 
import login</code> to raise an <code>ImportError</code> on a fresh 
interpreter, due to a circular dependency between <code>_oauth_device</code> 
and <code>utils._http</code>. The fix moves <code>_oauth_device.py</code> into 
the <code>utils</code> layer so all imports resolve downward, eliminating the 
cycle. No lazy imports or workarounds required.</p>
   <ul>
   <li>Fix circular import on <code>from huggingface_hub import login</code> by 
<a href="https://github.com/hanouticelina";><code>@​hanouticelina</code></a> in 
<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4385";>#4385</a></li>
   </ul>
   <h2>🔧 Other QoL Improvements</h2>
   <ul>
   <li>Retry requests on httpx.RemoteProtocolError by <a 
href="https://github.com/hanouticelina";><code>@​hanouticelina</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4398";>#4398</a></li>
   </ul>
   <h2>📖 Documentation</h2>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/aea9b9de1284f54862df99820f963d6030803860";><code>aea9b9d</code></a>
 Release: v1.21.0</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/2e2ed568a0d8e3841d2fe9d192f17cdb30ccf129";><code>2e2ed56</code></a>
 Release: v1.21.0.rc0</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/4bd4c906cac546643ca5fe0ca08e301ce7a98b62";><code>4bd4c90</code></a>
 [CLI] [Jobs] Rename job listing to 'hf jobs ls' (and keep 'hf jobs ps' 
alias)...</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/fa3eb459eb3fdf15347930d7dc70f0a7e413d6e5";><code>fa3eb45</code></a>
 [Jobs] Paginate list_jobs and add --limit to <code>hf jobs ps</code> (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4403";>#4403</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/ecfd4c5e88acfa885fc9146bf5df61d4de7b46a9";><code>ecfd4c5</code></a>
 [CLI] Fix ty/mypy errors with click 8.4.2 (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4408";>#4408</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/341469f1f87fb9932410fde9bdb81ac269a64727";><code>341469f</code></a>
 Update hardware flavor enums (automated commit) (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4406";>#4406</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/2fbcdfeec8a1bf689623ecb87afc7d5db4cd23bb";><code>2fbcdfe</code></a>
 [i18n-HI] Add Hindi translation for guides overview (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4405";>#4405</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/5bc6bfa7df18752f1adfd649816be315937cfa6f";><code>5bc6bfa</code></a>
 [Jobs] Add stage/label filtering to list_jobs API and CLI (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4395";>#4395</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/d991f099f53c7439edbf9432c5137d2069199e5a";><code>d991f09</code></a>
 Fix IndexError in filter_repo_objects on an empty pattern (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4402";>#4402</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/0df783fb8f3d1a37b00255007e9af78e4e9dca8f";><code>0df783f</code></a>
 Retry requests on httpx.RemoteProtocolError (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4398";>#4398</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/huggingface/huggingface_hub/compare/v1.20.1...v1.21.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=huggingface-hub&package-manager=uv&previous-version=1.20.1&new-version=1.21.0)](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]

Reply via email to