Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14565

Re: wheel and pip with setuptools

From Scott Kitterman <debian@kitterman.com>
Newsgroups linux.debian.maint.python
Subject Re: wheel and pip with setuptools
Date 2022-10-30 00:50 +0200
Message-ID <Fm2Om-1iP-7@gated-at.bofh.it> (permalink)
References <Fm2bD-16z-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On October 29, 2022 10:07:13 PM UTC, picca <picca@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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

wheel and pip with setuptools picca <picca@debian.org> - 2022-10-30 00:10 +0200
  Re: wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-10-30 00:50 +0200
    Re: wheel and pip with setuptools picca <picca@debian.org> - 2022-10-30 01:10 +0200
      Re: build package xrayutilities - wheel and pip with setuptools Carsten Schoenert <c.schoenert@t-online.de> - 2022-10-30 10:20 +0100
        Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-10-31 09:20 +0100
          Re: build package xrayutilities - wheel and pip with setuptools Carsten Schoenert <c.schoenert@t-online.de> - 2022-10-31 18:30 +0100
            Re: build package xrayutilities - wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-10-31 18:40 +0100
            Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-01 16:40 +0100
              Re: build package xrayutilities - wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-11-01 18:50 +0100
                Re: build package xrayutilities - wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-11-01 19:50 +0100
                Re: build package xrayutilities - wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-11-01 20:00 +0100
                Re: build package xrayutilities - wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-11-01 20:20 +0100
                Re: build package xrayutilities - wheel and pip with setuptools Scott Kitterman <debian@kitterman.com> - 2022-11-01 20:40 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-02 09:20 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-02 09:30 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-02 10:10 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-02 13:10 +0100
                Re: build package xrayutilities - wheel and pip with setuptools Jerome Kieffer <Jerome.Kieffer@esrf.fr> - 2022-11-02 10:20 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-01 20:50 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-01 20:30 +0100
                Re: build package xrayutilities - wheel and pip with setuptools PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-11-01 20:10 +0100

csiph-web