On Mon, Nov 18, 2024 at 04:07:32PM +0100, Ole Streicher wrote:
> >>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].
> 
> This is indeed the case. But shouldn't that be adjusted for Debian (or
> even upstream)? Setting f2py different from the Python minor version
> seems a bug to me.

If the upstream of f2py doesn't provide f2pyX.Y binaries, the only way to
adjust this seems to be switching FindF2PY.cmake to run it via `pythonX.Y
-m`.

> At the end, everybody tyrying to run a project that uses
> "find_package(F2PY)" for a non-default Python version on Debian will
> stumble upon it, which is a bit contrary to the idea of having CMake
> figuring the required configuration.

Sure, if the FindF2PY.cmake upstream wants this use case to be supported
by it.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to