On October 29, 2022 10:07:13 PM UTC, picca <pi...@debian.org> wrote:
>Hello, I try to fix an FTBFS in the python-xrayutilities package.
>When I try to build it, I get this error message., I do not understand why I 
>need to add a build dependency to python3-wheel.Is it something missing in the 
>dependency of python3-setuptools or python3.10 ?
>
>thanks for your help
>
>Frederic
>
>
>
>dh clean --buildsystem=pybuild
>dh_auto_clean -O--buildsystem=pybuild
>install -d /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home
>pybuild --clean -i python{version} -p 3.10
>I: pybuild base:240: python3.10 setup.py clean
>/usr/lib/python3/dist-packages/setuptools/installer.py:27: 
>SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements 
>should be satisfied by a PEP 517 installer.
>warnings.warn(
>WARNING: The wheel package is not available.
>/usr/bin/python3.10: No module named pip
>Traceback (most recent call last):
>File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 82, in 
>fetch_build_egg
>subprocess.check_call(cmd)
>File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
>raise CalledProcessError(retcode, cmd)
>subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', 
>'--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpq9o0m_9e', 
>'--quiet', 'h5py']' returned non-zero exit status 1.The above exception was 
>the direct cause of the following exception:
>


Adding  pybuild-plugin-pyproject to build-depends should solve it.  It looks 
like it is trying to do the new pyproject.toml style build without all the 
necessary parts in place.

Scott K

Reply via email to