Skip to content

fix(deps): floor huggingface-hub at major-only (>=1.0.0)#60

Merged
JacobPEvans-personal merged 2 commits into
mainfrom
fix/huggingface-hub-major-only-floor
May 25, 2026
Merged

fix(deps): floor huggingface-hub at major-only (>=1.0.0)#60
JacobPEvans-personal merged 2 commits into
mainfrom
fix/huggingface-hub-major-only-floor

Conversation

@JacobPEvans-personal
Copy link
Copy Markdown
Member

Summary

  • Rewrites huggingface-hub>=1.16.1huggingface-hub>=1.0.0 in space/requirements.txt to match the new major-only floor policy.

Why

Renovate PR #56 merged with >=1.16.1 from the now-superseded behavior in PR #343. The follow-up policy in JacobPEvans-personal/.github#344 restricts >= floor bumps to majors and targets >=N.0.0 form (minor/patch positions are never minimums). Bringing this file into line with the new policy.

PR #57 (google-adk>=2.0.0) already lands in major-only form — no fix needed there.

The other floors in this file (pyarrow, pillow, orjson, idna) are intentionally pinned at the CVE-fix patch version per the inline comment block. Those stay as-is.

Test plan

  • CI passes (gradio Space still installs huggingface-hub from PyPI; >=1.0.0 is satisfied by current 1.16.x).

Renovate PR #56 merged with `huggingface-hub>=1.16.1`. Per the new
lower-bounds policy (JacobPEvans-personal/.github#344), `>=` floors should
express the major version only. Rewrite to `>=1.0.0`.

Other security-fix floors in this file (pyarrow, pillow, orjson, idna)
intentionally pin at the CVE-fix patch version per the inline comment
and are left untouched.
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the minimum version requirement for huggingface-hub in space/requirements.txt from 1.16.1 to 1.0.0. A review comment identifies an inconsistency between this change and the version specified in pyproject.toml, recommending an update to the latter to ensure environment parity.

Comment thread space/requirements.txt
…1.0.0

Addresses gemini-code-assist review on PR #60. The space/requirements.txt
fix to `>=1.0.0` left pyproject.toml at `>=0.23` and the uv.lock
specifier matching it, creating cross-file drift. All three now express
the major-only floor consistently.
@JacobPEvans-personal JacobPEvans-personal merged commit 750da34 into main May 25, 2026
13 checks passed
@JacobPEvans-personal JacobPEvans-personal deleted the fix/huggingface-hub-major-only-floor branch May 25, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant