[Bug 1123193] Re: No python2 support for CommandNotFound anymore
Barry Warsaw
1123193 at bugs.launchpad.net
Fri Mar 1 20:54:59 UTC 2013
** Changed in: command-not-found (Ubuntu)
Assignee: (unassigned) => Barry Warsaw (barry)
** Changed in: command-not-found (Ubuntu)
Milestone: None => ubuntu-13.04-beta-1
** Changed in: command-not-found (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1123193
Title:
No python2 support for CommandNotFound anymore
Status in “command-not-found” package in Ubuntu:
In Progress
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-command-not-found package with Python2
libraries: I am sure I've done many things wrong in it, and I'd be
happy to get any comments on it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1123193/+subscriptions
More information about the foundations-bugs
mailing list