Skip to content

Commit 5aa6e1d

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v1.2.0.rc0
1 parent 004a5bf commit 5aa6e1d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ jobs:
6969
- name: Install uv
7070
run: pip install --upgrade uv
7171
- name: Install dependencies
72-
run: uv pip install --system "datasets[tests] @ ."
72+
run: uv pip install --prerelease=allow --system "datasets[tests] @ ."
7373
- name: Install dependencies (latest versions)
7474
if: ${{ matrix.deps_versions == 'deps-latest' }}
75-
run: uv pip install --system --upgrade pyarrow huggingface-hub "dill<0.3.9"
75+
run: uv pip install --prerelease=allow --system --upgrade pyarrow huggingface-hub "dill<0.3.9"
7676
- name: Install dependencies (minimum versions)
7777
if: ${{ matrix.deps_versions != 'deps-latest' }}
78-
run: uv pip install --system pyarrow==21.0.0 huggingface-hub==0.25.0 transformers dill==0.3.1.1
78+
run: uv pip install --prerelease=allow --system pyarrow==21.0.0 huggingface-hub==0.25.0 transformers dill==0.3.1.1
7979
- name: Print dependencies
8080
run: uv pip list
8181
- name: Test with pytest
@@ -120,7 +120,7 @@ jobs:
120120
- name: Install uv
121121
run: pip install --upgrade uv
122122
- name: Install dependencies
123-
run: uv pip install --system "datasets[tests] @ ."
123+
run: uv pip install --prerelease=allow --system "datasets[tests] @ ."
124124
- name: Print dependencies
125125
run: uv pip list
126126
- name: Test with pytest
@@ -166,10 +166,10 @@ jobs:
166166
run: pip install --upgrade uv
167167
- name: Install dependencies
168168
run: |
169-
uv pip install --system "datasets[tests_numpy2] @ ."
169+
uv pip install --prerelease=allow --system "datasets[tests_numpy2] @ ."
170170
# TODO: remove once transformers v5 / huggingface_hub v1 are released officially
171171
uv pip uninstall --system transformers huggingface_hub
172-
uv pip install --system --prerelease=allow git+https://github.com/huggingface/transformers.git
172+
uv pip install --prerelease=allow --system --prerelease=allow git+https://github.com/huggingface/transformers.git
173173
- name: Print dependencies
174174
run: pip list
175175

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
# minimum 2023.1.0 to support protocol=kwargs in fsspec's `open`, `get_fs_token_paths`, etc.: see https://github.com/fsspec/filesystem_spec/pull/1143
130130
"fsspec[http]>=2023.1.0,<=2025.10.0",
131131
# To get datasets from the Datasets Hub on huggingface.co
132-
"huggingface-hub>=0.25.0,<2.0",
132+
"huggingface-hub==v1.2.0.rc0",
133133
# Utilities from PyPA to e.g., compare versions
134134
"packaging",
135135
# To parse YAML metadata from dataset cards

0 commit comments

Comments
 (0)