Skip to content

Commit 7c66ba1

Browse files
committed
ci: install pyarrow from nightly channel in a separate command
1 parent a9fda12 commit 7c66ba1

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
@@ -58,7 +59,9 @@ jobs:
5859
- name: Install uv
5960
run: pip install --upgrade uv
6061
- name: Install dependencies
61-
run: uv pip install --system --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "datasets[tests] @ ."
62+
run: |
63+
uv pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
64+
uv pip install --system "datasets[tests] @ ."
6265
- name: Install dependencies (latest versions)
6366
if: ${{ matrix.deps_versions == 'deps-latest' }}
6467
run: uv pip install --system --upgrade huggingface-hub "dill<0.3.9"
@@ -96,7 +99,9 @@ jobs:
9699
- name: Install uv
97100
run: pip install --upgrade uv
98101
- name: Install dependencies
99-
run: uv pip install --system --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "datasets[tests] @ ."
102+
run: |
103+
uv pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
104+
uv pip install --system "datasets[tests] @ ."
100105
- name: Test with pytest
101106
run: |
102107
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/
@@ -128,7 +133,9 @@ jobs:
128133
- name: Install uv
129134
run: pip install --upgrade uv
130135
- name: Install dependencies
131-
run: uv pip install --system --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "datasets[tests_numpy2] @ ."
136+
run: |
137+
uv pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "pyarrow>=21.0.0.dev"
138+
uv pip install --system "datasets[tests_numpy2] @ ."
132139
- name: Test with pytest
133140
run: |
134141
python -m pytest -rfExX -m ${{ matrix.test }} -n 2 --dist loadfile -sv ./tests/

0 commit comments

Comments
 (0)