Hi,

I have a package (pybdsf) that currently fails to compile when both
Python 3.12 and 3.13 are installed (current situation). From the log:

------------------------8<---------------------
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /build/pybdsf-1.11.1/.pybuild/cpython3_3.13  
------------------------8<---------------------

which seems reasonable, and results in the Ninja command:

------------------------8<---------------------
/usr/bin/cmake /build/pybdsf-1.11.1 -G Ninja --no-warn-unused-cli \
 
-DCMAKE_INSTALL_PREFIX:PATH=/build/pybdsf-1.11.1/_skbuild/linux-x86_64-3.13/cmake-install
 \
 -DPYTHON_VERSION_STRING:STRING=3.13.0 -DSKBUILD:INTERNAL=TRUE \
 
-DCMAKE_MODULE_PATH:PATH=/usr/lib/python3/dist-packages/skbuild/resources/cmake 
\
 -DPYTHON_EXECUTABLE:PATH=/usr/bin/python3.13 \
 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.13 \
 -DPYTHON_LIBRARY:PATH=/usr/lib/x86_64-linux-gnu/libpython3.13.so \
 -DPython_EXECUTABLE:PATH=/usr/bin/python3.13 \
 -DPython_ROOT_DIR:PATH=/usr -DPython_FIND_REGISTRY:STRING=NEVER \
 -DPython_INCLUDE_DIR:PATH=/usr/include/python3.13 \
 
-DPython_NumPy_INCLUDE_DIRS:PATH=/usr/lib/python3/dist-packages/numpy/core/include
 \
 -DPython3_EXECUTABLE:PATH=/usr/bin/python3.13 \
 -DPython3_ROOT_DIR:PATH=/usr -DPython3_FIND_REGISTRY:STRING=NEVER \
 -DPython3_INCLUDE_DIR:PATH=/usr/include/python3.13 \
 
-DPython3_NumPy_INCLUDE_DIRS:PATH=/usr/lib/python3/dist-packages/numpy/core/include
 \
 -DCMAKE_BUILD_TYPE:STRING=Release
------------------------8<---------------------

which also looks reasonable. However, there is a module to be compiled
using f2py, which then fails, because it takes the default f2py instead
of the one that is specific for Python 3.13. This currently results in a
module compiled for Python 3.12, and so the build for 3.13 fails.

I am now unsure where the bug is:

* in Python's "build" module?
* in the "meson" Python module?
* in pybuild?
* numpy?
* upstream?
* Or must I set (or install) something to make it running?

Build log is f.e.
https://salsa.debian.org/debian-astro-team/pybdsf/-/jobs/6612895

Best regards

Ole

Reply via email to