Skip to content

Commit 9e31ee6

Browse files
committed
ci: install pyarrow from nightly channel in a separate command
1 parent 89a44c4 commit 9e31ee6

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple .[quality]
28+
pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
29+
pip install .[quality]
2930
- name: Check quality
3031
run: |
3132
ruff check tests src benchmarks utils setup.py # linter
@@ -56,7 +57,9 @@ jobs:
5657
- name: Install uv
5758
run: pip install --upgrade uv
5859
- name: Install dependencies
59-
run: uv pip install --system --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "datasets[tests] @ ."
60+
run: |
61+
uv pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
62+
uv pip install --system "datasets[tests] @ ."
6063
- name: Install dependencies (latest versions)
6164
if: ${{ matrix.deps_versions == 'deps-latest' }}
6265
run: uv pip install --system --upgrade huggingface-hub "dill<0.3.9"
@@ -89,7 +92,9 @@ jobs:
8992
- name: Install uv
9093
run: pip install --upgrade uv
9194
- name: Install dependencies
92-
run: uv pip install --system --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "datasets[tests] @ ."
95+
run: |
96+
uv pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
97+
uv pip install --system "datasets[tests] @ ."
9398
- name: Test with pytest
9499
run: |
95100
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/
@@ -116,7 +121,9 @@ jobs:
116121
- name: Install uv
117122
run: pip install --upgrade uv
118123
- name: Install dependencies
119-
run: uv pip install --system --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "datasets[tests_numpy2] @ ."
124+
run: |
125+
uv pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
126+
uv pip install --system "datasets[tests_numpy2] @ ."
120127
- name: Test with pytest
121128
run: |
122129
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/

0 commit comments

Comments
 (0)