From d82ccd06eaf8fda00d89399412edebca447c1652 Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis Date: Thu, 15 Oct 2026 09:57:42 +0300 Subject: [PATCH] Pin pyarrow below 26 in the nightly jobs that test NumPy 1 --- .github/workflows/daily-test-build-numpy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily-test-build-numpy.yml b/.github/workflows/daily-test-build-numpy.yml index 78873cb955..73bc8fec67 100644 --- a/.github/workflows/daily-test-build-numpy.yml +++ b/.github/workflows/daily-test-build-numpy.yml @@ -86,8 +86,13 @@ jobs: run: pip install --verbose .[test] - name: Install Numpy + env: + NUMPY_VERSION: ${{ matrix.py_np_combo.numpy-version }} run: | - pip install numpy==${{ matrix.py_np_combo.numpy-version }} + deps=("numpy==$NUMPY_VERSION") + # pyarrow 26 needs NumPy 2 but does not declare it, so pip cannot pick an older one itself. + if [[ "$NUMPY_VERSION" == 1.* ]]; then deps+=("pyarrow<26"); fi + pip install "${deps[@]}" - name: Print installed Python dependencies run: pip list