Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: wheel and pip with setuptools Date: Sun, 30 Oct 2022 00:50:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Oct 29 22:45:34 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Greylist: delayed 366 seconds by postgrey-1.36 at bendel; Sat, 29 Oct 2022 22:45:15 UTC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/20417 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/96125739-83B8-44CE-B4A7-487C885386FB@kitterman.com Approved: robomod@news.nic.it Lines: 43 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 29 Oct 2022 22:39:05 +0000 X-Original-Message-ID: <96125739-83B8-44CE-B4A7-487C885386FB@kitterman.com> X-Original-References: <752405ea3d71e3569b69a4ae7244f037@debian.org> Xref: csiph.com linux.debian.maint.python:14565 On October 29, 2022 10:07:13 PM UTC, picca wrote: >Hello, I try to fix an FTBFS in the python-xrayutilities package=2E >When I try to build it, I get this error message=2E, I do not understand = why I need to add a build dependency to python3-wheel=2EIs it something mis= sing in the dependency of python3-setuptools or python3=2E10 ? > >thanks for your help > >Frederic > > > >dh clean --buildsystem=3Dpybuild >dh_auto_clean -O--buildsystem=3Dpybuild >install -d /<>/debian/=2Edebhelper/generated/_source/home >pybuild --clean -i python{version} -p 3=2E10 >I: pybuild base:240: python3=2E10 setup=2Epy clean >/usr/lib/python3/dist-packages/setuptools/installer=2Epy:27: SetuptoolsDe= precationWarning: setuptools=2Einstaller is deprecated=2E Requirements shou= ld be satisfied by a PEP 517 installer=2E >warnings=2Ewarn( >WARNING: The wheel package is not available=2E >/usr/bin/python3=2E10: No module named pip >Traceback (most recent call last): >File "/usr/lib/python3/dist-packages/setuptools/installer=2Epy", line 82,= in fetch_build_egg >subprocess=2Echeck_call(cmd) >File "/usr/lib/python3=2E10/subprocess=2Epy", line 369, in check_call >raise CalledProcessError(retcode, cmd) >subprocess=2ECalledProcessError: Command '['/usr/bin/python3=2E10', '-m',= 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tm= pq9o0m_9e', '--quiet', 'h5py']' returned non-zero exit status 1=2EThe above= exception was the direct cause of the following exception: > Adding pybuild-plugin-pyproject to build-depends should solve it=2E It l= ooks like it is trying to do the new pyproject=2Etoml style build without a= ll the necessary parts in place=2E Scott K