Skip to content

chore(deps): update huggingface-hub requirement from >=0.27.0 to >=1.21.0 in /backend#149

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backend/huggingface-hub-gte-1.20.1
Open

chore(deps): update huggingface-hub requirement from >=0.27.0 to >=1.21.0 in /backend#149
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backend/huggingface-hub-gte-1.20.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 24, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on huggingface-hub to permit the latest version.

Release notes

Sourced from huggingface-hub's releases.

[v1.21.0] Jobs filtering & pagination

📊 Jobs listing revamped: filter, paginate, and ls instead of ps

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 hf. list_jobs() now accepts status and labels parameters that push filtering to the server, and returns a lazy iterator (matching list_models, list_datasets, etc.) so large result sets are fetched page by page. On the CLI side, hf jobs ps has been renamed to hf jobs ls for consistency with hf repos ls, hf models ls, and friends — ps and list still work as aliases.

⚠️ Breaking changes:

  • list_jobs() now returns an Iterable[JobInfo] instead of list[JobInfo]. If you indexed the result (jobs[0]), wrap it with list(...).
  • -f/--filter in hf jobs ls is deprecated. Use --status and --label instead. Glob patterns (data-*), negation (key!=value), and filtering by id/image/command are no longer supported.
from huggingface_hub import list_jobs
Filter by status and labels
list_jobs(status=["RUNNING", "SCHEDULING"], labels={"env": "prod"})
Iterate lazily
for job in list_jobs():
print(job.id)
Materialize all results
all_jobs = list(list_jobs())

# 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

  • [Jobs] Add stage/label filtering to list_jobs API and CLI by @​Wauplin in #4395
  • [Jobs] Paginate list_jobs and add --limit to hf jobs ps by @​Wauplin in #4403
  • [CLI] [Jobs] Rename job listing to 'hf jobs ls' (and keep 'hf jobs ps' alias) by @​Wauplin in #4409

📚 Documentation: CLI guide, Jobs guide

🐛 Fix circular import on from huggingface_hub import login

A regression introduced in v1.20.0 caused from huggingface_hub import login to raise an ImportError on a fresh interpreter, due to a circular dependency between _oauth_device and utils._http. The fix moves _oauth_device.py into the utils layer so all imports resolve downward, eliminating the cycle. No lazy imports or workarounds required.

🔧 Other QoL Improvements

📖 Documentation

... (truncated)

Commits
  • aea9b9d Release: v1.21.0
  • 2e2ed56 Release: v1.21.0.rc0
  • 4bd4c90 [CLI] [Jobs] Rename job listing to 'hf jobs ls' (and keep 'hf jobs ps' alias)...
  • fa3eb45 [Jobs] Paginate list_jobs and add --limit to hf jobs ps (#4403)
  • ecfd4c5 [CLI] Fix ty/mypy errors with click 8.4.2 (#4408)
  • 341469f Update hardware flavor enums (automated commit) (#4406)
  • 2fbcdfe [i18n-HI] Add Hindi translation for guides overview (#4405)
  • 5bc6bfa [Jobs] Add stage/label filtering to list_jobs API and CLI (#4395)
  • d991f09 Fix IndexError in filter_repo_objects on an empty pattern (#4402)
  • 0df783f Retry requests on httpx.RemoteProtocolError (#4398)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 24, 2026
@dependabot dependabot Bot requested a review from vasu-devs as a code owner June 24, 2026 10:06
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 24, 2026
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
just-hire-me Ready Ready Preview, Comment Jul 2, 2026 11:19pm

@dependabot dependabot Bot changed the title chore(deps): update huggingface-hub requirement from >=0.27.0 to >=1.20.1 in /backend chore(deps): update huggingface-hub requirement from >=0.27.0 to >=1.21.0 in /backend Jul 2, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/backend/huggingface-hub-gte-1.20.1 branch from 3af266e to 159ffe4 Compare July 2, 2026 20:27
Updates the requirements on [huggingface-hub](https://github.com/huggingface/huggingface_hub) to permit the latest version.
- [Release notes](https://github.com/huggingface/huggingface_hub/releases)
- [Commits](huggingface/huggingface_hub@v0.27.0...v1.21.0)

---
updated-dependencies:
- dependency-name: huggingface-hub
  dependency-version: 1.20.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/backend/huggingface-hub-gte-1.20.1 branch from 159ffe4 to e7af477 Compare July 2, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants