python3-pep8 has no executable in /usr/bin or /usr/local/bin - Ubuntu 20.04

Bug #1958081 reported by Barton Chittenden
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pep8 (Debian)
Fix Released
Unknown
pep8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Essentially the same bug reported in bug 1875980 python3-pycodestyle has no executable in /usr/bin or /usr/local/bin - Ubuntu 20.04, but affects the python3 version of pep8.

$ apt-cache policy python3-pep8
python3-pep8:
  Installed: 1.7.1-9ubuntu1
  Candidate: 1.7.1-9ubuntu1
  Version table:
 *** 1.7.1-9ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages
        100 /var/lib/dpkg/status

$ lsb_release -a 2> /dev/null
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

$ dpkg-query -L python3-pep8
/.
/usr
/usr/lib
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info/PKG-INFO
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info/dependency_links.txt
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info/entry_points.txt
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info/namespace_packages.txt
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info/not-zip-safe
/usr/lib/python3/dist-packages/pep8-1.7.1.egg-info/top_level.txt
/usr/lib/python3/dist-packages/pep8.py
/usr/share
/usr/share/doc
/usr/share/doc/python3-pep8
/usr/share/doc/python3-pep8/changelog.Debian.gz
/usr/share/doc/python3-pep8/copyright

$ dpkg --list python3-pep8
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-==============-============-==========================================
ii python3-pep8 1.7.1-9ubuntu1 all Python PEP 8 code style checker - Python 3

affects: pycodestyle (Ubuntu) → pep8 (Ubuntu)
Revision history for this message
Robie Basak (racb) wrote :

Thank you for your report.

The latest package description for python3-pep8 now says:

 If you are looking for the pep8 binary program, it was renamed to
 pycodestyle.

This is a documentation update in Mantic, the current development release, and so will be in the next Ubuntu stable release. But it looks like the behaviour itself was as intended in 20.04 (Focal).

The relevant bug in Debian is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985883 which explains that it got renamed to pycodestyle and is shipped by that package.

Since the current behaviour is by design, I'm marking this bug as Invalid.

Changed in pep8 (Ubuntu):
status: New → Invalid
description: updated
Changed in pep8 (Debian):
status: Unknown → Fix Released
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.