[Zope-dev] z3c.form and KGS 3.4 - can't build 1.9.x branch

Martin Aspeli optilude+lists at gmail.com
Thu Apr 9 12:04:34 EDT 2009


Hi,

I just tried to check out the new 1.9.x branch of z3c.form (thanks 
Stephan!), but it won't build with Python 2.4 (I need this to work with 
Plone, so 2.4 is a must):

$ ./bin/buildout
Develop: '/users/optilude/Development/Plone/Code/Products/z3c.form/.'
Unused options for buildout: 'zope-directory' 'download-directory'.
Installing test.
Getting distribution for 'z3c.template'.
Got z3c.template 1.1a1.
Getting distribution for 'z3c.coverage'.
Got z3c.coverage 0.1.0.
Getting distribution for 'zope.app.container'.
Got zope.app.container 3.7.0.
Getting distribution for 'zope.security'.
Got zope.security 3.6.0.
Getting distribution for 'zope.publisher'.
Got zope.publisher 3.5.5.
Getting distribution for 'zope.pagetemplate'.
Got zope.pagetemplate 3.4.1.
Getting distribution for 'zope.lifecycleevent'.
Got zope.lifecycleevent 3.5.0.
Getting distribution for 'zope.configuration'.
Got zope.configuration 3.4.1.
Getting distribution for 'zope.app.testing'.
Got zope.app.testing 3.6.0.
Getting distribution for 'zope.app.pagetemplate'.
Got zope.app.pagetemplate 3.5.0.
Getting distribution for 'ZODB3'.
Got ZODB3 3.9.0a12.
Getting distribution for 'zope.app.publisher'.
Got zope.app.publisher 3.6.0.
Getting distribution for 'zope.app.component'.
Got zope.app.component 3.6.0.
Getting distribution for 'zope.tal'.
Got zope.tal 3.5.0.
Getting distribution for 'zope.dublincore'.
Got zope.dublincore 3.4.2.
Getting distribution for 'zope.traversing'.
Got zope.traversing 3.5.2.
Getting distribution for 'zope.proxy>=3.4.2'.
Got zope.proxy 3.5.0.
Getting distribution for 'zope.deferredimport'.
Got zope.deferredimport 3.5.0.
Getting distribution for 'zope.app.security'.
Got zope.app.security 3.6.0.
Getting distribution for 'zope.app.publication'.
Got zope.app.publication 3.5.1.
Getting distribution for 'zope.app.authentication'.
Got zope.app.authentication 3.5.0a2.
Getting distribution for 'zope.app.appsetup>=3.5.0'.
Got zope.app.appsetup 3.9.0.
Getting distribution for 'zope.contenttype'.
Got zope.contenttype 3.4.1.
Getting distribution for 'zope.formlib'.
Got zope.formlib 3.5.2.
Getting distribution for 'zope.filerepresentation'.
Got zope.filerepresentation 3.5.0.
Getting distribution for 'zope.dottedname'.
Got zope.dottedname 3.4.5.
Getting distribution for 'zope.app.form'.
Got zope.app.form 3.7.1.
Getting distribution for 'zope.app.exception'.
Got zope.app.exception 3.4.2.
Getting distribution for 'zope.app.http'.
Got zope.app.http 3.5.0.
Getting distribution for 'zope.error'.
Got zope.error 3.6.0.
Getting distribution for 'zope.session'.
Got zope.session 3.8.0.
Getting distribution for 'RestrictedPython'.
   File 
"build/bdist.macosx-10.3-i386/egg/RestrictedPython/tests/before_and_after25.py", 
line 30
     x.y = y.z if y.z else y.x
                ^
SyntaxError: invalid syntax
   File 
"build/bdist.macosx-10.3-i386/egg/RestrictedPython/tests/before_and_after26.py", 
line 30
     with whatever as x:
                 ^
SyntaxError: invalid syntax
   File 
"build/bdist.macosx-10.3-i386/egg/RestrictedPython/tests/security_in_syntax26.py", 
line 6
     with x as _leading_underscore:
          ^
SyntaxError: invalid syntax
   File 
"/Users/optilude/.buildout/eggs/tmpayO5gI/RestrictedPython-3.5.0-py2.4.egg/RestrictedPython/tests/before_and_after25.py", 
line 30
     x.y = y.z if y.z else y.x
                ^
SyntaxError: invalid syntax
   File 
"/Users/optilude/.buildout/eggs/tmpayO5gI/RestrictedPython-3.5.0-py2.4.egg/RestrictedPython/tests/before_and_after26.py", 
line 30
     with whatever as x:
                 ^
SyntaxError: invalid syntax
   File 
"/Users/optilude/.buildout/eggs/tmpayO5gI/RestrictedPython-3.5.0-py2.4.egg/RestrictedPython/tests/security_in_syntax26.py", 
line 6
     with x as _leading_underscore:
          ^
SyntaxError: invalid syntax
Got RestrictedPython 3.5.0.
Generated script 
'/users/optilude/Development/Plone/Code/Products/z3c.form/bin/test'.
Installing coverage-test.
Generated script 
'/users/optilude/Development/Plone/Code/Products/z3c.form/bin/coverage-test'.
Installing coverage-report.
Couldn't find index page for 'z3c.coverage' (maybe misspelled?)
Generated script 
'/users/optilude/Development/Plone/Code/Products/z3c.form/bin/coverage-report'.

Clearly, I'm getting too new a version of RestrictedPython, but this is 
running against the 3.4 KGS, so I don't see how that could really happen.

:(

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Zope-Dev mailing list