Skip to content

Commit 7093b4b

Browse files
Bump huggingface-hub lower version to 0.21.2 (#6713)
1 parent 8b04ccb commit 7093b4b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/conda/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ requirements:
2424
- dataclasses
2525
- multiprocess
2626
- fsspec
27-
- huggingface_hub >=0.19.4,<1.0.0
27+
- huggingface_hub >=0.21.2,<1.0.0
2828
- packaging
2929
- aiohttp
3030
run:
@@ -41,7 +41,7 @@ requirements:
4141
- dataclasses
4242
- multiprocess
4343
- fsspec
44-
- huggingface_hub >=0.19.4,<1.0.0
44+
- huggingface_hub >=0.21.2,<1.0.0
4545
- packaging
4646
- aiohttp
4747

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
run: pip install --upgrade pyarrow huggingface-hub dill
6565
- name: Install dependencies (minimum versions)
6666
if: ${{ matrix.deps_versions != 'deps-latest' }}
67-
run: pip install pyarrow==12.0.0 huggingface-hub==0.19.4 transformers dill==0.3.1.1
67+
run: pip install pyarrow==12.0.0 huggingface-hub==0.21.2 transformers dill==0.3.1.1
6868
- name: Test with pytest
6969
run: |
7070
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
```
6363
Check that you can install it in a virtualenv/notebook by running:
6464
```
65-
pip install huggingface_hub fsspec aiohttp pyarrow-hotfix
65+
pip install huggingface-hub fsspec aiohttp pyarrow-hotfix
6666
pip install -U tqdm
6767
pip install -i https://testpypi.python.org/pypi datasets
6868
```
@@ -135,7 +135,7 @@
135135
# for data streaming via http
136136
"aiohttp",
137137
# To get datasets from the Datasets Hub on huggingface.co
138-
"huggingface_hub>=0.19.4",
138+
"huggingface-hub>=0.21.2",
139139
# Utilities from PyPA to e.g., compare versions
140140
"packaging",
141141
# To parse YAML metadata from dataset cards

0 commit comments

Comments
 (0)