[Debian-astro-maintainers] Bug#894755: sunpy: autopkgtest fails since python3.6 dropped depends on python3-distutils
Paul Gevers
elbrus at debian.org
Tue Apr 3 21:32:39 UTC 2018
Source: sunpy
Version: 0.8.3-1
Severity: normal
User: ci-team at tracker.debian.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Since the upload of python3.6 version 3.6.5~rc1-2, it doesn't depend on
python3-distutils anymore. Your autopkgtest¹ fails since than with the
following error:
autopkgtest [10:53:26]: test command2: cd $ADTTMP && python3 -c "import sunpy; exit(sunpy.self_test(args=\"-k not figure and not online\"))"
autopkgtest [10:53:26]: test command2: [-----------------------
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/sunpy/__init__.py", line 24, in <module>
from sunpy.util.config import load_config, print_config
File "/usr/lib/python3/dist-packages/sunpy/util/__init__.py", line 6, in <module>
from sunpy.util.util import *
File "/usr/lib/python3/dist-packages/sunpy/util/util.py", line 12, in <module>
from sunpy.extern import six
File "/usr/lib/python3/dist-packages/sunpy/extern/six.py", line 8, in <module>
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
I don't know if this is an issue of the test (adding the dependency there can
fix the issue) or if sunpy's dependencies need updating.
There are rumors that one shouldn't use distutils as a runtime dependency and
one should use sysconfig instead.
Paul
¹ https://ci.debian.net/packages/s/sunpy/unstable/amd64/
- -- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'testing'), (50, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlrD8vIACgkQnFyZ6wW9
dQoVxAf/aAqHH5f99V+5kor/l5TBA+PST8aSlKo1Sqphv66sg3TPxnZL7dmTuQmn
AKTZkEZrwD2RZWZMyzbcZdLe2l9D3sn63pn19iFBdoIFRNbvEikffHlnv9nD7Pe1
3remqyomrKoFetl9pyWmOOgjsU1qwdWW+XocvihBMVIm7dHanvWHESEuIh49IO+z
xlpzfWE0yLuG5ooZfOg93WP5Op/6qGK5jIxKNHWZr7W2QeozCU3jx1rx2RB5pGRd
gEkK0E9FPk+YnAo5bsaqTJGstFBfLSVquEb+dFXVGWzapgzTJDU0X7hZBLZrKhOg
qHiRGbgvS+j+vI5+cJ+UxGMz6cd+SA==
=id+h
-----END PGP SIGNATURE-----
More information about the Debian-astro-maintainers
mailing list