raulcd commented on code in PR #46770:
URL: https://github.com/apache/arrow/pull/46770#discussion_r2137413348


##########
ci/scripts/python_build.sh:
##########
@@ -78,6 +78,13 @@ export PYARROW_PARALLEL=${n_jobs}
 export CMAKE_PREFIX_PATH
 export LD_LIBRARY_PATH=${ARROW_HOME}/lib:${LD_LIBRARY_PATH}
 
+# https://github.com/apache/arrow/issues/46516
+# If we are building docs we force Cython>3.1.1 to avoid numpydoc
+# failures due to Cython docstring being wrongly generated.
+if [ "${BUILD_DOCS_PYTHON}" == "ON" ]; then
+  ${PYTHON:-python} -m pip install Cython>3.1.1

Review Comment:
   ```suggestion
     ${PYTHON:-python} -m pip install --upgrade Cython>3.1.1
   ```



-- 
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

Reply via email to