[Python-modules-team] Bug#816735: python-flake8: Missing dependency on python-pep8

Tristan Seligmann mithrandi at mithrandi.net
Fri Mar 4 15:21:00 UTC 2016


Package: python-flake8
Version: 2.2.2-1
Severity: important

There is a dependency on pep8, but this is not sufficient (pep8 only pulls in
python3-pep8):

mithrandi at lorien ~> flake8 --version
Traceback (most recent call last):
  File "/usr/bin/flake8", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3141, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3127, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 640, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 941, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 828, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pep8>=1.5.7' distribution was not found and is required by flake8


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-flake8 depends on:
ii  pep8           1.7.0-1
ii  pyflakes       1.0.0-4
ii  python         2.7.11-1
ii  python-mccabe  0.2.1-1

python-flake8 recommends no packages.

Versions of packages python-flake8 suggests:
pn  python-mock  <none>

-- no debconf information



More information about the Python-modules-team mailing list