[Debian-med-packaging] Bug#937624: Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: Python2 removal in sid/bullseye)
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Sat Aug 31 09:04:01 BST 2019
It seems that the setuptools module is not installed ?
________________________________________
De : Andreas Tille [andreas at an3as.eu]
Envoyé : samedi 31 août 2019 09:57
À : 937624-maintonly at bugs.debian.org; debian-python at lists.debian.org
Objet : Why is dh_auto_clean calling python2.7? (Was: Bug#937624: python-burrito: Python2 removal in sid/bullseye)
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