Skip to content

Commit 6a2d09b

Browse files
authored
GH-49138: [Packaging][Python] Remove nightly cython install from manylinux wheel dockerfile (#49139)
### Rationale for this change We use nightlies version of Cython for free-threaded PyArrow wheels and they are currently failing, see #49138 ### What changes are included in this PR? Nightly Cython install is removed and Cython is installed via [requirements file](https://github.com/apache/arrow/blob/main/python/requirements-wheel-build.txt#L2). ### Are these changes tested? Tes. ### Are there any user-facing changes? No. * GitHub Issue: #49138 Authored-by: AlenkaF <frim.alenka@gmail.com> Signed-off-by: AlenkaF <frim.alenka@gmail.com>
1 parent ef5854a commit 6a2d09b

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

ci/docker/python-wheel-manylinux.dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,5 @@ RUN PYTHON_ROOT=$(find /opt/python -name cp${PYTHON_VERSION/./}-${PYTHON_ABI_TAG
113113
SHELL ["/bin/bash", "-i", "-c"]
114114
ENTRYPOINT ["/bin/bash", "-i", "-c"]
115115

116-
# Remove once there are released Cython wheels for 3.13 free-threaded available
117-
RUN if [ "${python_abi_tag}" = "cp313t" ]; then \
118-
pip install cython --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" --prefer-binary ; \
119-
fi
120-
121116
COPY python/requirements-wheel-build.txt /arrow/python/
122117
RUN pip install -r /arrow/python/requirements-wheel-build.txt

ci/scripts/python_wheel_macos_build.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ else
4646
exit 1
4747
fi
4848

49-
# Remove once there are released Cython wheels for 3.13 free-threaded available
50-
FREE_THREADED_BUILD="$(python -c"import sysconfig; print(bool(sysconfig.get_config_var('Py_GIL_DISABLED')))")"
51-
if [[ $FREE_THREADED_BUILD == "True" ]]; then
52-
pip install cython --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" --prefer-binary
53-
fi
54-
5549
pip install \
5650
--force-reinstall \
5751
--only-binary=:all: \

0 commit comments

Comments
 (0)