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

Bug #1875980 reported by Peter Harrison
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pycodestyle (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

With a clean install of Ubuntu 20.04 I noticed that the python3-codestyle standard package doesn't come with an executable. I've had to copy it from other systems that were upgraded to Ubuntu 20.04

You can uninstall the package and use pip3 to get the executable, but the Ubuntu package should include it.

$ cat /etc/issue
Ubuntu 20.04 LTS \n \l
$

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

$ dpkg --list python3-pycodestyle
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-pycodestyle 2.5.0-2 all Python style guide checker (formerly called pep8) - Python 3.x
$

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

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

Changed in pycodestyle (Ubuntu):
status: New → Confirmed
Revision history for this message
Barton Chittenden (bartonski) wrote :

Opened analogous bug for python3-pep8:
#1958081 python3-pep8 has no executable in /usr/bin or /usr/local/bin - Ubuntu 20.04

Revision history for this message
Jochen Sprickerhof (v-launchpad-jochen-sprickerhof-de) wrote :

sudo apt install pycodestyle

will give you the executable.

Changed in pycodestyle (Ubuntu):
status: Confirmed → Invalid
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.