#1061319 cadabra2 ftbfs with Python 3.12 as default

Package:
src:cadabra2
Source:
src:cadabra2
Submitter:
Matthias Klose
Date:
2025-09-18 08:05:03 UTC
Severity:
normal
Tags:
#1061319#5
Date:
2024-01-22 14:42:20 UTC
From:
To:
with python3-defaults from experimental:

there goes something wrong during the configuration, 3.11 is picked up
instead of 3.12.

Also d/rules reads:
override_dh_auto_install:
         dh_auto_install
         sed -i s,python3.10,python3,g debian/cadabra2/usr/bin/cadabra2

please don't hardcode the python version.


[...]
-------------------------------------------
   Configuring Python
-------------------------------------------
-- Building for use with Python 3 (good!)
CMake Deprecation Warning at libs/pybind11/CMakeLists.txt:8
(cmake_minimum_required):
   Compatibility with CMake < 3.5 will be removed from a future version of
   CMake.

   Update the VERSION argument <min> value or use a ...<max> suffix to tell
   CMake that the project does not need compatibility with older versions.