jorisvandenbossche commented on issue #38221: URL: https://github.com/apache/arrow/issues/38221#issuecomment-1759006817
I don't fully understand the error exactly (why doesn't it find numpy 1.21.3, while this version definitely exists (https://pypi.org/project/numpy/1.21.3), and in the list of numpy versions it found, there are also more recent versions ..). But in the end, the reason it tries to download that specific version of numpy is because it is trying to build pyarrow from source (it downloaded the .tar.gz source distribution, and not a wheel), which is likely going to fail anyway even if numpy could be installed (building pyarrow from source requires non-python dependencies to be built first, which isn't handled by pip: https://arrow.apache.org/docs/dev/developers/python.html#building-on-windows And the reason it is not using a binary wheel is because you have a too recent Python version. If you want to install a pyarrow version that is two years old, it's best to also use a Python version from that time. Looking at our 6.0.1 release (https://pypi.org/project/pyarrow/6.0.1/#files), we have wheels for up to Python 3.10, but so not Python 3.11. This is not something we can solve on the pyarrow side (in theory we could maintain multiple versions at the same time and update them for newer python versions and other dependencies and continue to make releases for them, but we currently don't do that). In the end it is Ray that simply needs to remove that pyarrow version upper pin for Windows. -- 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]
