-
Notifications
You must be signed in to change notification settings - Fork 393
Commit e9b27e3
authored
Build: Bump huggingface-hub from 0.35.3 to 1.0.0 (#2669)
Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub)
from 0.35.3 to 1.0.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.0: Building for the Next Decade</h2>
<!-- raw HTML omitted -->
<p><strong><a
href="https://huggingface.co/blog/huggingface-hub-v1">Check out our blog
post announcement!</a></strong></p>
<h2>🚀 HTTPx migration</h2>
<p>The <code>huggingface_hub</code> library now uses <a
href="https://www.python-httpx.org/"><code>httpx</code></a> instead of
<code>requests</code> for HTTP requests. This change was made to improve
performance and to support both synchronous and asynchronous requests
the same way. We therefore dropped both <code>requests</code> and
<code>aiohttp</code> dependencies.</p>
<p>The <code>get_session</code> and <code>hf_raise_for_status</code>
still exist and respectively returns an <code>httpx.Client</code> and
processes a <code>httpx.Response</code> object. An additional
<code>get_async_client</code> utility has been added for async
logic.</p>
<p>The exhaustive list of breaking changes can be found <a
href="https://huggingface.co/docs/huggingface_hub/concepts/migration#breaking-changes">here</a>.</p>
<ul>
<li>[1.0] Httpx migration by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3328">#3328</a></li>
<li>Fix async client hook by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3433">#3433</a></li>
<li>Fix <code>hf_raise_for_status</code> on async stream + tests by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3442">#3442</a></li>
<li>[v1.0] Update "HTTP backend" docs +
<code>git_vs_http</code> guide by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3357">#3357</a></li>
</ul>
<h2>🪄 CLI revamp</h2>
<p><code>huggingface_hub 1.0</code> marks a complete transformation of
our command-line experience. We've reimagined the CLI from the ground
up, creating a tool that feels native to modern ML workflows while
maintaining the simplicity the community love.</p>
<h3>One CLI to Rule: Goodbye <code>huggingface-cli</code></h3>
<p>This release marks the end of an era with the complete removal of the
<code>huggingface-cli</code> command. The new <code>hf</code> command
(introduced in <code>v0.34.0</code>) takes its place with a cleaner,
more intuitive design that follows a logical "resource-action"
pattern. This breaking change simplifies the user experience and aligns
with modern CLI conventions - no more typing those extra 11
characters!</p>
<ul>
<li>Remove <code>huggingface-cli</code> entirely in favor of
<code>hf</code> by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3404">#3404</a></li>
</ul>
<h3><code>hf</code> CLI Revamp</h3>
<p>The new CLI introduces a comprehensive set of commands for repository
and file management that expose powerful <code>HfApi</code>
functionality directly from the terminal:</p>
<pre lang="console"><code>> hf repo --help
Usage: hf repo [OPTIONS] COMMAND [ARGS]...
<p>Manage repos on the Hub.</p>
<p>Options:
--help Show this message and exit.</p>
<p>Commands:
branch Manage branches for a repo on the Hub.
create Create a new repo on the Hub.
delete Delete a repo from the Hub.
move Move a repository from a namespace to another namespace.
settings Update the settings of a repository.
tag Manage tags for a repo on the Hub.
</code></pre></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/cd57d24e013c66181e742f5e3b6c2fe464ee47cd"><code>cd57d24</code></a>
Release: v1.0.0</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/e5532d9f6069929e2c87c5107e7b03e22c4e52fe"><code>e5532d9</code></a>
[Inference Docs] Update supported inference providers table (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3482">#3482</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/17101d6b95c2921ccd082c0c1b582f20fae8a11e"><code>17101d6</code></a>
mention two other breaking changes in migration guide (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3473">#3473</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/56ea455bc806491fb0b17a74eeec8a9b1f9371d8"><code>56ea455</code></a>
Update hf-xet version, update related xet docs (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3475">#3475</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/39ebbc06d97199c2f575253344144e8dfdb01add"><code>39ebbc0</code></a>
add support for platform.machine()=="ARM64" (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3465">#3465</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/d15ae134bcbae76ba589ee667f6e38bcb65d9945"><code>d15ae13</code></a>
[internal] Remove lfs multipart test (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3471">#3471</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/ef2f8b6821eb0c5cf34cbef9b38aa474dff7eb2c"><code>ef2f8b6</code></a>
add list_organization_followers helper for
/api/organizations/{org}/followers...</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/b8bb90228cf7bd917d1aa7d5df5ed6ebb2d23726"><code>b8bb902</code></a>
Fix ty in CI (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3470">#3470</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/52c718a543825c97e143f33f1f4f6a22866811a0"><code>52c718a</code></a>
V1.0 release (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3464">#3464</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/61bc87eb4d774c477ee87c9bf14aa9557ccb4e34"><code>61bc87e</code></a>
backward compatible cli tracking (v0.x) (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3460">#3460</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/huggingface_hub/compare/v0.35.3...v1.0.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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 097e44d commit e9b27e3Copy full SHA for e9b27e3
File tree
Expand file treeCollapse file tree
1 file changed
+171
-29
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+171
-29
lines changedOpen diff view settings
Collapse file
+171-29Lines changed: 171 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments