[Debian-pan-maintainers] Bug#1020073: Bug#1020073: pyfai: FTBFS: distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpymrbi1ta', '--quiet', 'setuptools<60.0.0']' returned non-zero exit status 1.

Adrian Bunk bunk at debian.org
Fri Oct 7 03:28:22 BST 2022


On Tue, Sep 27, 2022 at 11:32:32AM +0200, Jerome Kieffer wrote:
> Hi Lucas,
> 
> All my packages (and probably many more) are marked for removal because of this bug.
> 
> I believe this bugs comes from a specificity of Debian which does not
> install python3-pip together with python3. If python3-pip is now needed by
> pybuild it should be a build dependency.

No, the problem is specific to pyfai:

>...
> > > subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpymrbi1ta', '--quiet', 'setuptools<60.0.0']' returned non-zero exit status 1.
>...

It tries to use python3-pip to download an older version of setuptools 
from the internet during the build (downloading from the internet during 
the build is not allowed) because setup.py disallows the version in Debian.

The fix is to make pyfai work with more recent version of setuptools.

cu
Adrian



More information about the Debian-pan-maintainers mailing list