jorisvandenbossche commented on code in PR #43965: URL: https://github.com/apache/arrow/pull/43965#discussion_r1756718244
########## ci/docker/python-free-threaded-wheel-manylinux-test-unittests.dockerfile: ########## @@ -0,0 +1,44 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +ARG base +FROM ${base} + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get update +RUN apt-get install -y -q --no-install-recommends build-essential software-properties-common gpg-agent +RUN add-apt-repository -y ppa:deadsnakes/ppa && apt-get update +RUN apt-get install -y -q --no-install-recommends python3.13-dev python3.13-nogil python3.13-venv +RUN apt-get install -y -q --no-install-recommends libffi-dev + +ENV ARROW_PYTHON_VENV /arrow-dev +RUN python3.13t -m venv ${ARROW_PYTHON_VENV} + +ENV PYTHON /arrow-dev/bin/python +ENV PYTHON_GIL 0 + +# 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 +COPY python/requirements-wheel-test.txt /arrow/python/ +RUN ${PYTHON} -m pip install \ + --pre \ + --prefer-binary \ + --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" \ + Cython +RUN ${PYTHON} -m pip install "meson-python==0.13.1" "meson==1.2.1" "wheel" "versioneer[toml]" Review Comment: We might have to add `/arrow-dev/bin` to the path, because I assume that pip will install the `meson` executable there, but it is not automatically found? -- 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]
