This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 1b6edb8a16 GH-50291: [Python][Packaging] Stop using nightly build
dependencies for building free-threaded wheels (#50315)
1b6edb8a16 is described below
commit 1b6edb8a16c081873c493f44829ebf3066fc854e
Author: Raúl Cumplido <[email protected]>
AuthorDate: Wed Jul 1 17:49:43 2026 +0200
GH-50291: [Python][Packaging] Stop using nightly build dependencies for
building free-threaded wheels (#50315)
### Rationale for this change
We are currently using nightly wheels for Pandas and Cython for building
free-threaded wheels. This is remnant from when there were not released wheels
for those dependencies for free-threaded.
### What changes are included in this PR?
Stop using scientific-python-nightly-wheels channel for test dependencies
for free threaded wheels
### Are these changes tested?
Yes via archery
### Are there any user-facing changes?
No
* GitHub Issue: #50291
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
...ython-free-threaded-wheel-manylinux-test-unittests.dockerfile | 9 ++-------
...ython-free-threaded-wheel-musllinux-test-unittests.dockerfile | 9 ++-------
.../python-free-threaded-wheel-windows-test-vs2022.dockerfile | 7 +------
3 files changed, 5 insertions(+), 20 deletions(-)
diff --git
a/ci/docker/python-free-threaded-wheel-manylinux-test-unittests.dockerfile
b/ci/docker/python-free-threaded-wheel-manylinux-test-unittests.dockerfile
index fe1a367e69..36cf0d88b2 100644
--- a/ci/docker/python-free-threaded-wheel-manylinux-test-unittests.dockerfile
+++ b/ci/docker/python-free-threaded-wheel-manylinux-test-unittests.dockerfile
@@ -41,11 +41,6 @@ RUN python${python_version}t -m venv ${ARROW_PYTHON_VENV}
ENV PYTHON_GIL 0
ENV PATH "${ARROW_PYTHON_VENV}/bin:${PATH}"
-# pandas doesn't provide wheels for aarch64 yet, so we have to install nightly
Cython
-# along with the rest of pandas' build dependencies and disable build isolation
-RUN python -m pip install \
- --pre \
- --prefer-binary \
- --extra-index-url
"https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
- Cython numpy
+COPY python/requirements-wheel-test.txt /arrow/python/
+RUN python -m pip install -r /arrow/python/requirements-wheel-test.txt
RUN python -m pip install "meson-python==0.13.1" "meson==1.2.1" wheel
"versioneer[toml]" ninja
diff --git
a/ci/docker/python-free-threaded-wheel-musllinux-test-unittests.dockerfile
b/ci/docker/python-free-threaded-wheel-musllinux-test-unittests.dockerfile
index 7efcd2107a..f2e08a2bfa 100644
--- a/ci/docker/python-free-threaded-wheel-musllinux-test-unittests.dockerfile
+++ b/ci/docker/python-free-threaded-wheel-musllinux-test-unittests.dockerfile
@@ -56,11 +56,6 @@ ENV PATH "${ARROW_PYTHON_VENV}/bin:${PATH}"
ENV TZDIR=/usr/share/zoneinfo
RUN cp /usr/share/zoneinfo/Etc/UTC /etc/localtime
-# pandas doesn't provide wheels for aarch64 yet, so we have to install nightly
Cython
-# along with the rest of pandas' build dependencies and disable build isolation
-RUN python -m pip install \
- --pre \
- --prefer-binary \
- --extra-index-url
"https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
- Cython numpy
+COPY python/requirements-wheel-test.txt /arrow/python/
+RUN python -m pip install -r /arrow/python/requirements-wheel-test.txt
RUN python -m pip install "meson-python==0.13.1" "meson==1.2.1" wheel
"versioneer[toml]" ninja
diff --git
a/ci/docker/python-free-threaded-wheel-windows-test-vs2022.dockerfile
b/ci/docker/python-free-threaded-wheel-windows-test-vs2022.dockerfile
index d0d9793d1f..98295c91d0 100644
--- a/ci/docker/python-free-threaded-wheel-windows-test-vs2022.dockerfile
+++ b/ci/docker/python-free-threaded-wheel-windows-test-vs2022.dockerfile
@@ -42,12 +42,7 @@ SHELL ["cmd", "/S", "/C"]
RUN %PYTHON_CMD% -m pip install -U pip setuptools
COPY python/requirements-wheel-test.txt C:/arrow/python/
-# Cython and Pandas wheels for free-threaded are not released yet
-RUN %PYTHON_CMD% -m pip install \
- --extra-index-url
https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
- --pre \
- --prefer-binary \
- -r C:/arrow/python/requirements-wheel-test.txt
+RUN %PYTHON_CMD% -m pip install -r C:/arrow/python/requirements-wheel-test.txt
ENV PYTHON="${python}t"
ENV PYTHON_GIL=0