Skip to content

HF Hub batch 6: filesystem, README, and Xet compatibility - #33

Merged
DiTo97 merged 6 commits into
masterfrom
issue/32-hf-hub-batch6-filesystem-readme-xet
Mar 12, 2026
Merged

HF Hub batch 6: filesystem, README, and Xet compatibility#33
DiTo97 merged 6 commits into
masterfrom
issue/32-hf-hub-batch6-filesystem-readme-xet

Conversation

@DiTo97

@DiTo97 DiTo97 commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move the compatibility roadmap/checklist from merged Batch 5 to active Batch 6 issue HF Hub batch 6: filesystem, README, and Xet compatibility聽#32
  • add targeted huggingface_hub pytest coverage for HfFileSystem, RepoCard/README flows, and Xet/LFS download/upload compatibility
  • keep the branch tests-first and scoped to current storage-model semantics before any server implementation changes

Test plan

  • uv run python -m py_compile tests/integration/hf_hub/test_hf_filesystem_batch6.py tests/integration/hf_hub/test_repocard_batch6.py tests/integration/hf_hub/test_xet_download_batch6.py tests/integration/hf_hub/test_xet_upload_batch6.py
  • uv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub/test_*_batch6.py -q
  • uv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub -q
  • cargo fmt --all
  • cargo test --workspace

Closes #32.

馃 Generated with Claude Code

DiTo97 and others added 6 commits March 12, 2026 11:21
Lock the final planned HF Hub migration slice behind targeted filesystem, README, and Xet/LFS compatibility tests while advancing the roadmap pointer to the active Batch 6 issue.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep the roadmap and checklist aligned with the active Batch 6 draft PR so the compatibility queue points at the current implementation branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Match the remaining filesystem, RepoCard, Xet token, and LFS response semantics expected by huggingface_hub so the Batch 6 compatibility slice passes cleanly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep the e2e write-token flow working for newly created repositories by permitting write tokens for main before the first commit, while locking the behavior with targeted coverage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep the docker hf_xet roundtrip working before the first commit by allowing main read tokens on empty repositories and pinning the behavior with targeted coverage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Ensure the HF Hub pytest harness sets HF_ENDPOINT before importing huggingface_hub so RepoCard and related helpers target the local test server in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DiTo97
DiTo97 marked this pull request as ready for review March 12, 2026 11:44
@DiTo97
DiTo97 merged commit 76017cb into master Mar 12, 2026
2 checks passed
@DiTo97
DiTo97 deleted the issue/32-hf-hub-batch6-filesystem-readme-xet branch March 12, 2026 11:44
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.

HF Hub batch 6: filesystem, README, and Xet compatibility

1 participant