alippai commented on code in PR #50769:
URL: https://github.com/apache/arrow/pull/50769#discussion_r3708431640
##########
python/CMakeLists.txt:
##########
@@ -278,6 +269,10 @@ set(EXECUTABLE_OUTPUT_PATH
"${BUILD_OUTPUT_ROOT_DIRECTORY}")
# Python and Numpy libraries
find_package(Python3Alt REQUIRED)
+if(Python3_NumPy_VERSION AND Python3_NumPy_VERSION VERSION_LESS "2.0")
+ message(FATAL_ERROR "PyArrow requires NumPy 2.0 or newer, found
${Python3_NumPy_VERSION}"
+ )
+endif()
Review Comment:
Added the `ImportError` to lib.pyx
--
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]