Skip to content
New issue

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

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

Already on GitHub? # to your account

Build error against Numpy 2.x #597

Open
ametzler opened this issue Jan 28, 2025 · 1 comment
Open

Build error against Numpy 2.x #597

ametzler opened this issue Jan 28, 2025 · 1 comment

Comments

@ametzler
Copy link

Numpy support breaks with numpy 2.0. The cmake test fails:

-- Found Python: /usr/bin/python3 (found version "3.13.1") found components: Interpreter
-- Checking for threading support:   std::thread
--     (added compiler flags: -pthread
-- Could NOT find Python (missing: Python_INCLUDE_DIRS Python_LIBRARIES Python_NumPy_INCLUDE_DIRS Interpreter Development NumPy Development.Module Development.Embed) 
-- Checking VIGRANUMPY_DEPENDENCIES
-- Could NOT find Python (missing: Python_INCLUDE_DIRS Python_LIBRARIES Python_NumPy_INCLUDE_DIRS Interpreter Development NumPy Development.Module Development.Embed) 
-- Python not found. Make sure that Python is in your PATH or set the appropriate variables as described in https://cmake.org/cmake/help/latest/module/FindPython.html
@ametzler
Copy link
Author

This is https://bugs.debian.org/1094371
I have managed to work around the cmake issue with

-DPython_NumPy_INCLUDE_DIR=$(shell pkgconf --variable=includedir numpy)

However I still get a testsuite error:
ts-error.txt
(sphinx also crashes)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant