I have Trac on two procecessors:
- openSUSE 10.3 with Python 2.5.1
- openSUSE 11.2 with Python 2.6.2
I am upgrading to Trac 1.0 and got this error.
using nevernotifyupdaterplugin_0.13-r12113.zip
python setup.py bdist_egg (with Python 2.5.1)
build/bdist.linux-x86_64/egg/nevernotifyupdaterplugin/api.py:34: Warning: 'with' will become a reserved keyword in Python 2.6
File "build/bdist.linux-x86_64/egg/nevernotifyupdaterplugin/api.py", line 34
with self.env.db_query as db:
^
SyntaxError: invalid syntax
Builds clean using Python 2.6.2
From the Warning message - it is strange that it does not build on 2.5.1 but does on 2.6.2. It looks like they decided not to make "with" a reserved word in python 2.6.