Package: python3-numpy
Version: 1:1.21.4-2

The recent addition of python3.10:any to the dependencies
of python3-numpy under Debian testing (=bookworm) breaks
software that depends on python3-dev.

Specifically, this CMake code

    find_package(Python3 COMPONENTS Interpreter Development)

    message(STATUS "  Python3_VERSION              : ${Python3_VERSION}")
    message(STATUS "  Python3_INTERPRETER_ID       : ${Python3_INTERPRETER_ID}")
    message(STATUS "  Python3_EXECUTABLE           : ${Python3_EXECUTABLE}")
message(STATUS " Python3_STDLIB : ${Python3_STDLIB} Python3_STDARCH: ${Python3_STDARCH}") message(STATUS " Python3_SITELIB : ${Python3_SITELIB} Python3_SITEARCH: ${Python3_SITEARCH}")
    message(STATUS "  Python3_INCLUDE_DIRS         : ${Python3_INCLUDE_DIRS}")
    message(STATUS "  Python3_LIBRARIES            : ${Python3_LIBRARIES}")
    message(STATUS "  Python3_LIBRARY_DIRS         : ${Python3_LIBRARY_DIRS}")

    if(NOT Python3_FOUND)
        message(FATAL_ERROR "Python3 not found.")
    endif()

results in

-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (found version "3.10.0")
--   Python3_VERSION              : 3.10.0
--   Python3_INTERPRETER_ID       : Python
--   Python3_EXECUTABLE           : /usr/bin/python3.10
-- Python3_STDLIB : /usr/lib/python3.10 Python3_STDARCH: /usr/lib/python3.10 -- Python3_SITELIB : /usr/lib/python3/dist-packages Python3_SITEARCH: /usr/lib/python3/dist-packages
--   Python3_INCLUDE_DIRS         :
--   Python3_LIBRARIES            : Python3_LIBRARY-NOTFOUND
--   Python3_LIBRARY_DIRS         :
CMake Error at ... (message):
  Python3 not found.

Can you please revert, and wait with 3.10 until all of Python3 is ready
for that version.

Cheers, Joachim

Reply via email to