[Debian-med-packaging] Bug#937624: Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: Python2 removal in sid/bullseye)

Andreas Tille andreas at an3as.eu
Sat Aug 31 08:57:16 BST 2019


Hi,

I have removed the Python2 package from d/control and all python-*
Build-Depends in Git[1].  However, the build in a pbuilder chroot fails
with:

dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py clean 
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    from setuptools import find_packages, setup
ImportError: No module named setuptools
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean 
dh_auto_clean: pybuild --clean -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:10: clean] Error 255


Any idea how I can stop pybuild from calling python2.7?

Kind regards

      Andreas.

[1] https://salsa.debian.org/med-team/python-burrito

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list