vigra
vigra copied to clipboard
Build error against Numpy 2.x
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
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)