Hi Ole,

* Ole Streicher <oleb...@debian.org> [2024-11-18 13:40]:
Build log is f.e.
https://salsa.debian.org/debian-astro-team/pybdsf/-/jobs/6612895
The problem is most likely caused by "find_package(F2PY)", which does not take different Python versions into account [1].

Debian ships with f2pyX.Y scripts for each supported Python version.
Alternatively, the example code in the NumPy documentation [2] invokes f2py via "${Python_EXECUTABLE} -m numpy.f2py", which should also work with skbuild.


Cheers
Timo

[1] https://salsa.debian.org/python-team/packages/scikit-build/-/blob/debian/master/skbuild/resources/cmake/FindF2PY.cmake?ref_type=heads#L69
[2] https://numpy.org/doc/1.26/f2py/buildtools/cmake.html


--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to