No python2 support for CommandNotFound anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
Since 12.10, there is no Python2 library for accessing command-not-found functionality: if a program was using it, it will stop working after upgrade to Quantal. An example of such a project is Linaro Image Tools which relies on CommandNotFound to find packages missing commands are in.
Solution is either to port code to Python3 (very hard) or simply to keep providing a python2 package of command-not-found library.
A test case is simple:
python -c "import CommandNotFound"
I'll be linking a branch (based on lp:ubuntu/quantal/command-not-found) that introduces python-
Related branches
- Данило Шеган (community): Needs Resubmitting
- Dmitry Shachnev: Needs Fixing
- Zygmunt Krynicki (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 100 lines (+35/-2)5 files modifieddebian/changelog (+18/-0)
debian/command-not-found.install (+1/-1)
debian/control (+12/-0)
debian/python-command-not-found.install (+1/-0)
debian/rules (+3/-1)
- Barry Warsaw (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 90 lines (+25/-2)5 files modifieddebian/changelog (+6/-0)
debian/command-not-found.install (+1/-1)
debian/control (+14/-0)
debian/python-commandnotfound.install (+1/-0)
debian/rules (+3/-1)
Changed in command-not-found (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in command-not-found (Ubuntu): | |
assignee: | nobody → Barry Warsaw (barry) |
milestone: | none → ubuntu-13.04-beta-1 |
status: | Triaged → In Progress |
I've added a MP to make it easier to get to a diff: https:/ /code.launchpad .net/~danilo/ ubuntu/ quantal/ command- not-found/ python2- package/ +merge/ 147965