Expected executable "coverage" not present

Bug #2068122 reported by Benjamin Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-coverage (Ubuntu)
New
Undecided
Unassigned

Bug Description

The underlying python package "coverage" installs entry points (i.e. executables for the package) that are named "coverage*" (with and without python version as a suffix), but this deb package actively changes these executables to be prefixed by "python3-".

This causes issues when other python packages depend (via pip) on the coverage package, which is detected as present and provided by the system package, but then don't have the expected entry points available.
For the coverage python package, this issue is even more likely to occur, since this is a testing tool which is often invoked automatically through testing procedure definitions of other python package.

Given that the name is fairly generic, providing the expected "coverage" executable via alternatives should be safe and sufficient, e.g. via:
update-alternatives --install /usr/bin/coverage coverage /usr/bin/python3-coverage 10

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.