Package: pex
Version: 1.1.14-2
Severity: grave
Justification: renders package unusable
Dear Maintainer,
after installing pex, simply running in the shell lead to the following stack
trace:
$ pex
Traceback (most recent call last):
File "/usr/bin/pex", line 11, in <module>
load_entry_point('pex==1.1.14', 'console_scripts', 'pex')()
File "/usr/lib/python3/dist-packages/pex/bin/pex.py", line 553, in main
pex_builder.freeze()
File "/usr/lib/python3/dist-packages/pex/pex_builder.py", line 408, in freeze
self._prepare_bootstrap()
File "/usr/lib/python3/dist-packages/pex/pex_builder.py", line 365, in
_prepare_bootstrap
name='setuptools')
File "/usr/lib/python3/dist-packages/pex/util.py", line 90, in
distribution_from_path
register_finders()
File "/usr/lib/python3/dist-packages/pex/finders.py", line 218, in
register_finders
_add_finder(importlib_bootstrap.FileFinder, find_wheels_on_path)
AttributeError: module 'importlib._bootstrap' has no attribute 'FileFinder'
I guess the problem is that 'pex' tries to import from 'importlib._bootstrap'
which is, by naming convention, no stable API.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8),
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pex depends on:
ii python3 3.6.5-3
ii python3-pex 1.1.14-2
ii python3-pkg-resources 39.0.1-2
ii python3-requests 2.18.4-2
ii python3-setuptools 39.0.1-2
ii python3-wheel 0.30.0-0.2
pex recommends no packages.
Versions of packages pex suggests:
pn python-pex-doc <none>
-- no debconf information