[Bug 1123193] Re: No python2 support for CommandNotFound anymore
Jeremy Bicha
jeremy at bicha.net
Sat Apr 14 15:37:14 UTC 2018
By the way, we have dropped the Python2 python-commandnotfound version
now for Ubuntu 18.04.
--
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:
Fix Released
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