kou commented on code in PR #49639:
URL: https://github.com/apache/arrow/pull/49639#discussion_r3026882323
##########
ci/docker/python-wheel-musllinux-test.dockerfile:
##########
@@ -32,7 +36,17 @@ RUN cp /usr/share/zoneinfo/Etc/UTC /etc/localtime
# pandas doesn't provide wheel for aarch64 yet, so cache the compiled
# test dependencies in a docker image
COPY python/requirements-wheel-test.txt /arrow/python/
-RUN pip install -r /arrow/python/requirements-wheel-test.txt
+# Pandas 2.0.3 is the last version to support numpy 1.21.x which is
+# the lowest version we support for Python 3.10.
+# Pandas 2.0.3 doesn't have wheels for Python 3.10 so we need to build from
source,
+# which requires setuptools < 80.
+RUN if [ "${python_image_tag}" = "3.10" ]; then \
+ echo 'setuptools<80' > /tmp/setuptools-constraint.txt; \
+ PIP_CONSTRAINT=/tmp/setuptools-constraint.txt \
+ pip install -r /arrow/python/requirements-wheel-test.txt; \
Review Comment:
How about indenting this for readability?
```suggestion
pip install -r /arrow/python/requirements-wheel-test.txt; \
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]