[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Python 3.8 transition: CMake problems



Hi,

I am currently updating the "casacore" package to the latest upstream
version. Doing this, I discovered that it is not marked as part of the
Python 3.8 transition, and was also not binNMUed for this, although it
has the package libcasa-python3-3 (to be renamed to libcasa-python3-4)
that depends on libpython3.7. Was this somehow forgotten?

Nevertheless, when I now try to build the (updated) package, I get the
following error:

--------------------------------8<-------------------------------------
  Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
  Development NumPy) (found version "3.8.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.15/Modules/FindPython/Support.cmake:1653 (find_package_handle_standard_args)
  /usr/share/cmake-3.15/Modules/FindPython3.cmake:215 (include)
  python3/CMakeLists-cmake3.14.txt:3 (find_package)
--------------------------------8<-------------------------------------

The corresponding line in python3/CMakeLists-cmake3.14.txt is

find_package(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)

which looks normal to me. Any idea why CMAKE does not find Python 3.8?

Best regards

Ole


Reply to: