Building multiple wheel with pybuild
picca <[email protected]> Sat, 20 Dec 2025 13:12:12 +0100
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <87sed5tkrn.fsf@page> |
Hello,
I would like your advices when pybuild fail with this error message.
Successfully built cctbx-2023.12-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module
# build the dxtbx python module
dh_auto_build --sourcedirectory=dxtbx
pybuild --build -i python{version} -p "3.14 3.13" --dir dxtbx
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/cctbx-2025.11+ds2+~3.26.0+ds1/.pybuild/cpython3_3.14
* Building wheel...
Successfully built dxtbx-3.26.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with "installer" module
E: pybuild pybuild:389: build: plugin pyproject failed with: Expecting to have built exactly 1 wheel, but found 2
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/cctbx-2025.11+ds2+~3.26.0+ds1/.pybuild/cpython3_3.13
* Building wheel...
Successfully built dxtbx-3.26.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module
E: pybuild pybuild:389: build: plugin pyproject failed with: Expecting to have built exactly 1 wheel, but found 2
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" --dir dxtbx returned exit code 13
make[1]: *** [debian/rules:63: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/cctbx-2025.11+ds2+~3.26.0+ds1'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with
exit status 2
I am building the cctbx package which provide two python3 modules.
thanks for your help.
Frederic