<div dir="auto">Another option could be to patch the build system to use setuptools instead of distutils as recommended by the PyPA?</div><br><div class="gmail_quote"><div dir="ltr">Le mer. 21 mars 2018 à 20:45, Rebecca N. Palmer <<a href="mailto:rebecca_palmer@zoho.com">rebecca_palmer@zoho.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Source: sympy<br>
Severity: serious<br>
Control: tags -1 patch<br>
X-Debbugs-Cc: <a href="mailto:debian-python@lists.debian.org" target="_blank" rel="noreferrer">debian-python@lists.debian.org</a><br>
<br>
python3-distutils has been moved out of python3.6 (as of 3.6.5~rc1-2),<br>
so if you need it, please build-depend on it. (Or python3-setuptools,<br>
given that this looks like it might prefer that.)<br>
<br>
(Has anyone checked whether there are more of these?)<br>
<br>
dpkg-buildpackage: info: source package sympy<br>
dpkg-buildpackage: info: source version 1.1.1-4<br>
dpkg-buildpackage: info: source distribution unstable<br>
dpkg-buildpackage: info: source changed by Yaroslav Halchenko<br>
<<a href="mailto:debian@onerussian.com" target="_blank" rel="noreferrer">debian@onerussian.com</a>><br>
dpkg-buildpackage: info: host architecture amd64<br>
 dpkg-source --before-build sympy-1.1.1<br>
 fakeroot debian/rules clean<br>
dh clean --with python2,python3 --buildsystem=pybuild<br>
  debian/rules override_dh_auto_clean<br>
make[1]: Entering directory<br>
'/home/rnpalmer/Debian/builds/stackbuild/sympy-1.1.1'<br>
dh_auto_clean<br>
I: pybuild base:217: python2.7 setup.py clean<br>
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown<br>
distribution option: 'install_requires'<br>
  warnings.warn(msg)<br>
running clean<br>
I: pybuild base:217: python3.6 setup.py clean<br>
Traceback (most recent call last):<br>
  File "setup.py", line 46, in <module><br>
   from setuptools import setup, Command<br>
ModuleNotFoundError: No module named 'setuptools'<br>
<br>
During handling of the above exception, another exception occurred:<br>
<br>
Traceback (most recent call last):<br>
  File "setup.py", line 49, in <module><br>
   from distutils.core import setup, Command<br>
ModuleNotFoundError: No module named 'distutils'<br>
E: pybuild pybuild:330: clean: plugin distutils failed with: exit<br>
code=1: python3.6 setup.py clean<br>
dh_auto_clean: pybuild --clean -i python{version} -p 3.6 returned exit<br>
code 13<br>
make[1]: *** [debian/rules:29: override_dh_auto_clean] Error 25<br>
make[1]: Leaving directory<br>
'/home/rnpalmer/Debian/builds/stackbuild/sympy-1.1.1'<br>
make: *** [debian/rules:10: clean] Error 2<br>
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess<br>
returned exit status 2<br>
<br>
</blockquote></div>