Skip to content

Commit 1b6edb8

Browse files
authored
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 <raulcumplido@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent e183ea9 commit 1b6edb8

3 files changed

Lines changed: 5 additions & 20 deletions

ci/docker/python-free-threaded-wheel-manylinux-test-unittests.dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ RUN python${python_version}t -m venv ${ARROW_PYTHON_VENV}
4141
ENV PYTHON_GIL 0
4242
ENV PATH "${ARROW_PYTHON_VENV}/bin:${PATH}"
4343

44-
# pandas doesn't provide wheels for aarch64 yet, so we have to install nightly Cython
45-
# along with the rest of pandas' build dependencies and disable build isolation
46-
RUN python -m pip install \
47-
--pre \
48-
--prefer-binary \
49-
--extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
50-
Cython numpy
44+
COPY python/requirements-wheel-test.txt /arrow/python/
45+
RUN python -m pip install -r /arrow/python/requirements-wheel-test.txt
5146
RUN python -m pip install "meson-python==0.13.1" "meson==1.2.1" wheel "versioneer[toml]" ninja

ci/docker/python-free-threaded-wheel-musllinux-test-unittests.dockerfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ ENV PATH "${ARROW_PYTHON_VENV}/bin:${PATH}"
5656
ENV TZDIR=/usr/share/zoneinfo
5757
RUN cp /usr/share/zoneinfo/Etc/UTC /etc/localtime
5858

59-
# pandas doesn't provide wheels for aarch64 yet, so we have to install nightly Cython
60-
# along with the rest of pandas' build dependencies and disable build isolation
61-
RUN python -m pip install \
62-
--pre \
63-
--prefer-binary \
64-
--extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \
65-
Cython numpy
59+
COPY python/requirements-wheel-test.txt /arrow/python/
60+
RUN python -m pip install -r /arrow/python/requirements-wheel-test.txt
6661
RUN python -m pip install "meson-python==0.13.1" "meson==1.2.1" wheel "versioneer[toml]" ninja

ci/docker/python-free-threaded-wheel-windows-test-vs2022.dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,7 @@ SHELL ["cmd", "/S", "/C"]
4242
RUN %PYTHON_CMD% -m pip install -U pip setuptools
4343

4444
COPY python/requirements-wheel-test.txt C:/arrow/python/
45-
# Cython and Pandas wheels for free-threaded are not released yet
46-
RUN %PYTHON_CMD% -m pip install \
47-
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
48-
--pre \
49-
--prefer-binary \
50-
-r C:/arrow/python/requirements-wheel-test.txt
45+
RUN %PYTHON_CMD% -m pip install -r C:/arrow/python/requirements-wheel-test.txt
5146

5247
ENV PYTHON="${python}t"
5348
ENV PYTHON_GIL=0

0 commit comments

Comments
 (0)