does not support python 2.5

Bug #683122 reported by Duane Hinnen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CLI Companion
Confirmed
Wishlist
CLI Companion Development Team

Bug Description

Currently CLI Companion works only with python 2.6 and above. This means it does not work with Debian Lenny. It looks like it would be not much work to make CLI Companion run on python 2.5.

05:59 #ubuntu-beginners-team: < geekosopher> duanedesign: clicompanion needs python-support > 0.90 ,lenny has 0.8.4
06:17 #ubuntu-beginners-team: < geekosopher> duanedesign: got python-support 1.0.3 from backports but getting this error http://paste.ubuntu.com/538271/ (see below)
06:18 #ubuntu-beginners-team: < geekosopher> duanedesign: so does that mean it won't work for lenny?

pastebin of error

Processing triggers for python-support ...
/usr/lib/pymodules/python2.5/clicompanionlib/controller.py:157: Warning: 'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/clicompanionlib/controller.py ...
  File "/usr/lib/pymodules/python2.5/clicompanionlib/controller.py", line 157
    with open(CHEATSHEET, "a") as cheatfile:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/clicompanionlib/utils.py:38: Warning: 'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/clicompanionlib/utils.py ...
  File "/usr/lib/pymodules/python2.5/clicompanionlib/utils.py", line 38
    with open('/etc/passwd') as f:
            ^
SyntaxError: invalid syntax

/usr/lib/pymodules/python2.5/clicompanionlib/view.py:62: Warning: 'with' will become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/clicompanionlib/view.py ...
  File "/usr/lib/pymodules/python2.5/clicompanionlib/view.py", line 62
    with open(CHEATSHEET, "r") as cheatfile:
            ^
SyntaxError: invalid syntax

Changed in clicompanion:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → CLIcompanion Development Team (clicompanion-devs)
description: updated
Revision history for this message
Duane Hinnen (duanedesign) wrote :

Most newer Ubuntu releases uses python 2.6
Regretabbly CLI Companion has been put on the back burner for release in Debian.
*****Unless some Debian developers want to help.

Notes from team?

Revision history for this message
Marek Bardoński (bdfhjk) wrote :

Python 2.5 was released 10 years ago and Python 2.6 was released 8 years ago.

I would recommend to close this bug, as I don't think many novice linux users will use that old software.

Please let me know if someone disagree.

Changed in clicompanion:
importance: Low → Wishlist
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.