@@ -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
0 commit comments