[Bug 1123193] [NEW] No python2 support for CommandNotFound anymore
Данило Шеган
1123193 at bugs.launchpad.net
Tue Feb 12 15:54:26 UTC 2013
Public bug reported:
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.
** Affects: command-not-found (Ubuntu)
Importance: Undecided
Status: New
** Branch linked: lp:~danilo/ubuntu/quantal/command-not-
found/python2-package
** Description changed:
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"
+ python -c "import CommandNotFound"
- I'll be linking a branch 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.
+ 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.
--
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:
New
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