No python2 support for CommandNotFound anymore

Bug #1123193 reported by Данило Шеган
8
This bug affects 1 person
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-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.

Related branches

Revision history for this message
Данило Шеган (danilo) wrote :
description: updated
Changed in command-not-found (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Barry Warsaw (barry)
Changed in command-not-found (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
milestone: none → ubuntu-13.04-beta-1
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package command-not-found - 0.3ubuntu7

---------------
command-not-found (0.3ubuntu7) raring; urgency=low

  [ Danilo Segan ]
  * Reintroduce Python2 support with python-commandnotfound package.
    (LP: #1123193)

  [ Barry Warsaw ]
  * Move the Python 3 library to the python3-commandnotfound package, and
    build depend command-not-found on that.
  * debian/control: Bump to Standards-Version: 3.9.4
  * debian/rules: Remove --without=python-support as no longer needed.
 -- Danilo Segan <email address hidden> Wed, 20 Feb 2013 09:51:10 +0100

Changed in command-not-found (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

By the way, we have dropped the Python2 python-commandnotfound version now for Ubuntu 18.04.

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.