Add batch-1 huggingface_hub compatibility tests - #23
Merged
Conversation
Add a pytest-based huggingface_hub compatibility slice for repo, upload, download, and snapshot flows, and align delete/error responses with the client expectations uncovered by the new tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Run the new hf_hub batch-1 pytest coverage in the integration workflow and update token generation to the current rand 0.9 API to avoid deprecation warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use the explicit huggingface-hub name for the pytest compatibility step in the integration workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a curated roadmap and machine-readable checklist distilled from the earlier analysis-only branch, and link them from the integration docs so future HF Hub compatibility work follows a single batch queue. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/integration/hf_hub/compatibility slice covering coreHfApi, file download, and snapshot download flowsuvworkflow for the new pytest suite alongside the existing smoke scriptshuggingface_hubclient expectations uncovered by the new testsTest plan
HF_ENDPOINT=http://localhost:8080 uv run --with pytest --with huggingface_hub --with requests pytest tests/integration/hf_hub -qHF_ENDPOINT=http://localhost:8080 uv run tests/integration/roundtrip.pyHF_ENDPOINT=http://localhost:8080 uv run tests/integration/test_downloads.pyHF_ENDPOINT=http://localhost:8080 uv run tests/integration/integration_create_commit.py馃 Generated with Claude Code