[Bug 380866] Re: Skytools needs python2.5
Jon Erdman
debian at thewickedtribe.net
Wed Sep 9 17:32:46 BST 2009
Actually it really does require python 2.5. I ran this new package on
jaunty after building the debs from the source package and under 2.6 I
get:
jerdman at jerdman-desktop:~/pgq$ pgqadm pgqadm.ini install
Traceback (most recent call last):
File "/usr/bin/pgqadm", line 10, in <module>
from pgq.status import PGQStatus
File "/usr/lib/python2.6/dist-packages/pgq/status.py", line 7
def ival(data, as = None):
^
SyntaxError: invalid syntax
I mucked around and installed 2.5 and then made some symlinks to the modules so I could run it and it works, but I get a bunch of:
jerdman at jerdman-desktop:~/pgq$ python2.5 /usr/bin/pgqadm pgqadm.ini install
/usr/lib/python2.5/site-packages/pgq/status.py:7: Warning: 'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/pgq/status.py:9: Warning: 'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/pgq/status.py:10: Warning: 'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/pgq/status.py:13: Warning: 'as' will become a reserved keyword in Python 2.6
2009-09-09 11:20:56,055 11360 INFO plpgsql is installed
2009-09-09 11:20:56,056 11360 INFO txid_current_snapshot is installed
2009-09-09 11:20:56,056 11360 INFO pgq is installed
So, it looks like the skytools folks will need to patch to change this variable name in order to run under 2.6, which stinks :(
Jon Erdman
StuckMojo on #postgresql @ irc.freenode.net
--
Skytools needs python2.5
https://bugs.launchpad.net/bugs/380866
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.
More information about the Ubuntu-universe-sponsors
mailing list