Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: python312Packages.pyarrow #292832

Closed
mweinelt opened this issue Mar 2, 2024 · 3 comments
Closed

Build failure: python312Packages.pyarrow #292832

mweinelt opened this issue Mar 2, 2024 · 3 comments

Comments

@mweinelt
Copy link
Member

mweinelt commented Mar 2, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build python312Packages.pyarrow (currently on staging-next)

Build log

pyarrow> -- Found Python3: /nix/store/dqsflsigjcxisziiynrxlbsm2y71m4bq-python3-3.12.2/bin/python3.12 (found version "3.12.2") found components: Interpreter Development.Module NumPy 
pyarrow> CMake Error at cmake_modules/FindPython3Alt.cmake:77 (message):
pyarrow>   Python 3 config failure:
pyarrow> 
pyarrow>   Traceback (most recent call last):
pyarrow> 
pyarrow>     File "<string>", line 1, in <module>
pyarrow> 
pyarrow>   ModuleNotFoundError: No module named 'distutils'
pyarrow> 
pyarrow> Call Stack (most recent call first):
pyarrow>   CMakeLists.txt:262 (find_package)
pyarrow> 
pyarrow> 
pyarrow> -- Configuring incomplete, errors occurred!
pyarrow> error: command '/nix/store/9walp7knvqvmnpp9pqwjsdpnx2524ack-cmake-3.28.3/bin/cmake' failed with exit code 1

Additional context

Upstream provides Python 3.12 wheels on PyPi. https://pypi.org/project/pyarrow/

I need this for home-assistants Python 3.12 migration by end of March 2024 at the latest.

Notify maintainers

@cpcloud @veprbl

Metadata

Issue exists on c15db11


Add a 👍 reaction to issues you find important.

@mweinelt
Copy link
Member Author

mweinelt commented Mar 2, 2024

Thanks for the sleuthing. Fix incoming.

@SuperSandro2000
Copy link
Member

Just did the same in the background 740418c and opened apache/arrow#40322

mweinelt added a commit to mweinelt/nixpkgs that referenced this issue Mar 2, 2024
@mweinelt mweinelt closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants