← Back to team overview

clicompanion-devs team mailing list archive

[Bug 683122] Re: does not support python 2.5

 

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?

-- 
You received this bug notification because you are a member of CLI
Companion Development Team, which is a bug assignee.
https://bugs.launchpad.net/bugs/683122

Title:
  does not support python 2.5

Status in CLI Companion:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/clicompanion/+bug/683122/+subscriptions