Skip to content

Commit

Permalink
Fix CI by temporarily pinning huggingface-hub < 0.23.0 (#6861)
Browse files Browse the repository at this point in the history
Pin huggingface-hub < 0.23.0
  • Loading branch information
albertvillanova committed May 2, 2024
1 parent 282379f commit 7ae4314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
uv pip install --system -r additional-tests-requirements.txt --no-deps
- name: Install dependencies (latest versions)
if: ${{ matrix.deps_versions == 'deps-latest' }}
run: uv pip install --system --upgrade pyarrow huggingface-hub dill
run: uv pip install --system --upgrade pyarrow "huggingface-hub<0.23.0" dill
- name: Install dependencies (minimum versions)
if: ${{ matrix.deps_versions != 'deps-latest' }}
run: uv pip install --system pyarrow==12.0.0 huggingface-hub==0.21.2 transformers dill==0.3.1.1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
# for data streaming via http
"aiohttp",
# To get datasets from the Datasets Hub on huggingface.co
"huggingface-hub>=0.21.2",
"huggingface-hub>=0.21.2,<0.23.0", # temporary pin: see https://github.com/huggingface/datasets/issues/6860
# Utilities from PyPA to e.g., compare versions
"packaging",
# To parse YAML metadata from dataset cards
Expand Down

0 comments on commit 7ae4314

Please sign in to comment.