From b2430899c28fd3c1ca1de6f6ef550f8bb1b1f9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Wed, 1 Jul 2026 13:16:01 +0200 Subject: [PATCH 1/2] GH-50291: [Python][Packaging] Stop using nightly build dependencies for building Windows free-threaded wheels --- ...thon-free-threaded-wheel-windows-test-vs2022.dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 d0d9793d1f71..98295c91d0bb 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 From 18f7f84b17e4e90a86631af9be6b8e39c29cbedf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Wed, 1 Jul 2026 14:44:47 +0200 Subject: [PATCH 2/2] Try installing requirements-wheel-test.txt for musllinux and manylinux wheels too --- ...ee-threaded-wheel-manylinux-test-unittests.dockerfile | 9 ++------- ...ee-threaded-wheel-musllinux-test-unittests.dockerfile | 9 ++------- 2 files changed, 4 insertions(+), 14 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 fe1a367e69eb..36cf0d88b27d 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 7efcd2107a81..f2e08a2bfa72 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