package depends on pep8 tool instead of python-pep8 library

Bug #1635192 reported by Merlijn van Deen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
autopep8 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

ubuntu@ubuntu-xenial:~$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

ubuntu@ubuntu-xenial:~$ apt-cache policy python-autopep8
python-autopep8:
  Installed: 0.9.1-2
  Candidate: 0.9.1-2
  Version table:
 *** 0.9.1-2 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

On a clean system:

ubuntu@ubuntu-xenial:~$ sudo apt-get install python-autopep8
[...]
The following additional packages will be installed:
  pep8 python3-pep8
The following NEW packages will be installed:
  pep8 python-autopep8 python3-pep8
[...]

ubuntu@ubuntu-xenial:~$ autopep8
[...]
pkg_resources.DistributionNotFound: The 'pep8>=1.4.5' distribution was not found and is required by autopep8

ubuntu@ubuntu-xenial:~$ sudo apt-get install python-pep8
[...]

ubuntu@ubuntu-xenial:~$ autopep8
Usage: autopep8 [options] [filename [filename ...]]
[...]

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in autopep8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopep8 - 0.9.1-2.1

---------------
autopep8 (0.9.1-2.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Bumped DH level to 10.
  * debian/control:
      - Added the python-pkg-resources to Depends field. Thanks to
        Sebastian Ramacher. (Closes: #843977)
      - Added the python-pep8 and removed the pep8 from Depends field.
        Thanks to Antonio Ospite and Merlijn van Deen.
        (Closes: #817860, LP: #1635192)
      - Bumped Standards-Version to 3.9.8.
  * debian/copyright: removed a duplicate 'Copyright' word.
  * debian/watch: created.

 -- Daniele Adriana Goulart Lopes <email address hidden> Wed, 14 Dec 2016 16:04:25 -0200

Changed in autopep8 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Neil Wilson (neil-aldur) wrote :

This doesn't appear to have hit the main archive. I'm still seeing 0.9.1-2 installed today on 16.04.2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.