[Python-modules-team] Bug#823591: pep8 - Need stricter dependencies: pkg_resources.VersionConflic
Bastian Blank
bastian.blank at credativ.de
Fri May 6 09:53:33 UTC 2016
Package: pep8
Version: 1.7.0-2
Severity: serious
pep8 fails to run if python3-pep8 and pep8 does not agree on the
version:
| $ pep8
| Traceback (most recent call last):
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 661, in _build_master
| ws.require(__requires__)
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 962, in require
| needed = self.resolve(parse_requirements(requirements))
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 854, in resolve
| raise VersionConflict(dist, req).with_context(dependent_req)
| pkg_resources.VersionConflict: (pep8 1.6.2 (/usr/lib/python3/dist-packages), Requirement.parse('pep8==1.7.0'))
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "/usr/bin/pep8", line 5, in <module>
| from pkg_resources import load_entry_point
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3138, in <module>
| @_call_aside
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3124, in _call_aside
| f(*args, **kwargs)
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
| working_set = WorkingSet._build_master()
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 663, in _build_master
| return cls._build_from_requirements(__requires__)
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 676, in _build_from_requirements
| dists = ws.resolve(reqs, Environment())
| File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 849, in resolve
| raise DistributionNotFound(req, requirers)
| pkg_resources.DistributionNotFound: The 'pep8==1.7.0' distribution was not found and is required by the application
The package dependency needs to specify a version.
Bastian
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pep8 depends on:
ii python3-pep8 1.6.2-0.1
pn python3:any <none>
pep8 recommends no packages.
pep8 suggests no packages.
-- no debconf information
--
Bastian Blank
Berater
Telefon: +49 2166 / 9901-194
E-Mail: bastian.blank at credativ.de
credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
More information about the Python-modules-team
mailing list