AlenkaF commented on code in PR #47313: URL: https://github.com/apache/arrow/pull/47313#discussion_r2272103053
########## ci/docker/linux-apt-python-313-freethreading.dockerfile: ########## @@ -32,13 +32,18 @@ COPY python/requirements-build.txt \ ENV ARROW_PYTHON_VENV /arrow-dev RUN python3.13t -m venv ${ARROW_PYTHON_VENV} + +# Free-threaded CPython 3.13 needs pinned cffi version +RUN sed '/^cffi/d' /arrow/python/requirements-test.txt > /arrow/python/requirements-patched.txt && \ + echo "cffi<2.0.0" >> /arrow/python/requirements-patched.txt Review Comment: Oh, that is much much nicer! Thank you @kou . I noticed a use of `PYTHON_GIL` in the free-threaded builds. Looking at [python-wheels/github.osx.yml](https://github.com/apache/arrow/blob/0ae71f81d56bfac1968956304e965790510bfa7c/dev/tasks/python-wheels/github.osx.yml#L30) it seems same as what you suggested in this diff. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org