Skip to content

Python: build(deps): bump huggingface-hub from 1.33.0 to 2.1.1 in /python/packages/lab - #9275

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/packages/lab/huggingface-hub-2.1.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/packages/lab/huggingface-hub-2.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps huggingface-hub from 1.33.0 to 2.1.1.

Release notes

Sourced from huggingface-hub's releases.

v2.1.1

[CLI] Rename 'hf spaces zero-gpu-quota' to 'hf spaces zero-gpu quota'- #5055

Full Changelog: huggingface/huggingface_hub@v2.1.0...v2.1.1

[v2.1.0] Better Jobs tooling, ZeroGPU quota tracking, and revamped Model Catalog

📊 Jobs: retries, rescheduling, and port exposure

Hugging Face Jobs get a batch of quality-of-life improvements this release. Jobs can now retry automatically on failure with the new attempts parameter, and you can start a fresh Job from an existing Job's saved spec (including secrets and hardware settings) with rerun_job / hf jobs rerun. Scheduled Jobs can be rescheduled — change the cron expression or preset without recreating the Job — via update_scheduled_job_schedule / hf jobs scheduled reschedule. Finally, you can now expose ports on Jobs: use expose for token-protected access and expose_public for unauthenticated access, both at creation time and on a running Job with update_job_expose / hf jobs expose.

# Retry a job up to 2 times on failure, and rerun it later from its saved spec
>>> hf jobs run --attempts 3 --detach python:3.12 python train.py
>>> hf jobs rerun <job_id>
Reschedule a scheduled job to run every day at 9:00
>>> hf jobs scheduled reschedule <scheduled_job_id> "0 9 * * 1"
Expose ports on a running Job (8000 token-protected, 9000 public)
>>> hf jobs expose <job_id> 8000 --public 9000

📚 Documentation: Jobs guide

🤗 Track your ZeroGPU quota

The Hub now exposes a ZeroGPU quota endpoint, and huggingface_hub wraps it with a new HfApi.get_zero_gpu_quota() method returning a ZeroGpuQuota dataclass (values in GPU-seconds). This is particularly useful for apps, MCP servers and agents built on top of ZeroGPU Spaces: check how much quota is left and when it resets, and warn your users before they hit the daily limit. The same information is available from the CLI with hf spaces zero-gpu-quota, which also prints a hint to purchase credits when the quota is running low.

>>> from huggingface_hub import get_zero_gpu_quota
>>> quota = get_zero_gpu_quota()
ZeroGpuQuota(base=2400, remaining=1810, resets_at=datetime.datetime(2026, 9, 30, 9, 12, 3, tzinfo=datetime.timezone.utc), overquota_used=0)
>>> hf spaces zero-gpu quota
✓ ZeroGPU quota (in GPU-seconds)
  remaining: 1810
  base: 2400
  resets_at: 2026-09-30T18:12:03+00:00
  overquota_used: 0
  • [Spaces] Add get_zero_gpu_quota and hf spaces zero-gpu-quota by @​Wauplin in #5040
  • [CLI] Rename 'hf spaces zero-gpu-quota' to 'hf spaces zero-gpu quota'- #5055 [Shipped as part of v2.1.1]

... (truncated)

Commits
  • bd4a760 Release: v2.1.1
  • cb1755f [CLI] Rename 'hf spaces zero-gpu-quota' to 'hf spaces zero-gpu quota' (#5055)
  • 43372b6 Release: v2.1.0
  • efa122c Release: v2.1.0.rc0
  • 0b26b50 [Spaces] Add get_zero_gpu_quota and hf spaces zero-gpu-quota (#5040)
  • 604252e [HfApi] Add visibility to create_bucket (#5053)
  • 4c88ea6 [Repos] Warn when duplicated repo files are still being copied (#5041)
  • 3bb08e2 [Endpoints] Migrate catalog to the new /api/v1 API (#4928)
  • b5e3a12 [HfApi] Support resource_group_id in duplicate_repo (#5038)
  • 60fdb08 [Docs] Fix duplicated words in docstring and comments (#5052)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub) from 1.33.0 to 2.1.1.
- [Release notes](https://github.com/huggingface/huggingface_hub/releases)
- [Commits](huggingface/huggingface_hub@v1.33.0...v2.1.1)

---
updated-dependencies:
- dependency-name: huggingface-hub
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Copilot AI balanced review requested due to automatic review settings October 12, 2026 08:15
@dependabot dependabot Bot added the dependencies Usage: [Issues, PRs], Target: dependencies in the project label Oct 12, 2026
@dependabot dependabot Bot added the lab Usage: [Issues, PRs], Target: lab packages label Oct 12, 2026
@dependabot dependabot Bot added the python Usage: [Issues, PRs], Target: Python label Oct 12, 2026
@dependabot
dependabot Bot temporarily deployed to github-app-auth October 12, 2026 08:15 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@github-actions github-actions Bot changed the title build(deps): bump huggingface-hub from 1.33.0 to 2.1.1 in /python/packages/lab Python: build(deps): bump huggingface-hub from 1.33.0 to 2.1.1 in /python/packages/lab Oct 12, 2026
@dependabot
dependabot Bot temporarily deployed to github-app-auth October 12, 2026 08:16 Inactive
@dependabot
dependabot Bot temporarily deployed to github-app-auth October 12, 2026 12:38 Inactive
@eavanvalkenburg

Copy link
Copy Markdown
Member

Superseded by #9292, which consolidated this dependency update and has now merged.

@dependabot @github

dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/uv/python/packages/lab/huggingface-hub-2.1.1 branch October 12, 2026 12:39

This branch was previously deployed

1 inactive deployment
github-app-auth — 80d84a3e Deployed Oct 12, 2026 by dependabot[bot] via add_label #25008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Usage: [Issues, PRs], Target: dependencies in the project lab Usage: [Issues, PRs], Target: lab packages python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants