z3c.form and KGS 3.4 - can't build 1.9.x branch
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
On Thursday 09 April 2009, Martin Aspeli wrote:
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.
This is not a problem. Ignore those errors as they happen in the Python 2.6 support code.Everything installed fine. Got RestrictedPython 3.5.0. Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter"
Stephan Richter wrote:
On Thursday 09 April 2009, Martin Aspeli wrote:
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.
This is not a problem. Ignore those errors as they happen in the Python 2.6 support code.Everything installed fine.
Got RestrictedPython 3.5.0.
Mmm... it doesn't let me run the tests though: $ ./bin/test Test-module import failures: Module: z3c.form.browser.tests Traceback (most recent call last): File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/browser/tests.py", line 16, in ? from z3c.form import testing File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/testing.py", line 28, in ? from zope.app.testing import setup File "/Users/optilude/.buildout/eggs/zope.app.testing-3.6.0-py2.4.egg/zope/app/testing/setup.py", line 47, in ? from zope.container.traversal import ContainerTraversable File "/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg/zope/container/traversal.py", line 26, in ? from zope.publisher.interfaces import IDefaultViewName, NotFound ImportError: cannot import name IDefaultViewName Module: z3c.form.tests.test_doc Traceback (most recent call last): File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/test_doc.py", line 23, in ? from zope.app.testing import placelesssetup File "/Users/optilude/.buildout/eggs/zope.app.testing-3.6.0-py2.4.egg/zope/app/testing/placelesssetup.py", line 26, in ? from zope.container.testing \ File "/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg/zope/container/testing.py", line 29, in ? from zope.container.traversal import ContainerTraversable File "/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg/zope/container/traversal.py", line 26, in ? from zope.publisher.interfaces import IDefaultViewName, NotFound ImportError: cannot import name IDefaultViewName Test-modules with import problems: z3c.form.browser.tests z3c.form.tests.test_doc Total: 0 tests, 0 failures, 0 errors in 0.000 seconds. (optilude)(~/Development/Plone/Code/Products/z3c.form) $ My working set is pretty weird too. Lots of 3.5.x and 3.6.x and even a 3.8.x. $ cat bin/test #!/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python import sys sys.path[0:0] = [ '/users/optilude/Development/Plone/Code/Products/z3c.form/src', '/Users/optilude/.buildout/eggs/zope.testing-3.7.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.interface-3.5.0-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/setuptools-0.6c9-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.i18n-3.4.4-py2.4.egg', '/Users/optilude/.buildout/eggs/z3c.template-1.1a1-py2.4.egg', '/Users/optilude/.buildout/eggs/z3c.coverage-0.1.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.container-3.7.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.security-3.6.0-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/zope.schema-3.5.2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.publisher-3.5.5-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.pagetemplate-3.4.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.location-3.5.3-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.lifecycleevent-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.i18nmessageid-3.4.3-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/zope.i18n-3.6.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.event-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.configuration-3.4.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.component-3.5.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.testing-3.6.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.pagetemplate-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/ZODB3-3.9.0a12-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/zope.app.publisher-3.6.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.component-3.6.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.tal-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.copypastemove-3.5.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.dublincore-3.4.2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.traversing-3.5.2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.size-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.exceptions-3.5.2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/zope.proxy-3.5.0-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/zope.deferredimport-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/pytz-2009a-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.deprecation-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.tales-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.copy-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.site-3.6.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.security-3.6.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.publication-3.5.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.dependable-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.debug-3.4.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.authentication-3.5.0a2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.appsetup-3.9.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.annotation-3.4.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zdaemon-2.0.2-py2.4.egg', '/Users/optilude/.buildout/eggs/ZConfig-2.6.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zc.lockfile-1.0.0-py2.4.egg', '/Users/optilude/.buildout/eggs/transaction-1.0a1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.datetime-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.contenttype-3.4.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.formlib-3.5.2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.filerepresentation-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.cachedescriptors-3.4.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.interface-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.broken-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.dottedname-3.4.5-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.form-3.7.1-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.browser-0.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.exception-3.4.2-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.applicationcontrol-3.4.3-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.http-3.5.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.error-3.6.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.session-3.8.0-py2.4.egg', '/Users/optilude/.buildout/eggs/RestrictedPython-3.4.3-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.hookable-3.4.0-py2.4-macosx-10.3-i386.egg', '/Users/optilude/.buildout/eggs/zodbcode-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.app.basicskin-3.4.0-py2.4.egg', '/Users/optilude/.buildout/eggs/zope.minmax-1.1.0-py2.4.egg', ] I'd like to go fix a few things this weekend, but I don't have time to start unpickling these dependency issues. Cheers, Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book
Hello, I would add TEMPORARYLY (for testing) the KGS to buildout.cfg: [buildout] extends = http://download.zope.org/zope3.4/3.4.0/versions.cfg versions = versions develop = . benchmark parts = test checker coverage-test coverage-report docs i18n benchmark python ... But do not commit that! I think people will use KGS in their buildout if they want and that will nail versions appropriately. Later we might backport the [3.5/trunk]-compatibility which I'd like to finish this weekend to 1.9. Friday, April 10, 2009, 1:02:53 PM, you wrote: MA> Stephan Richter wrote:
On Thursday 09 April 2009, Martin Aspeli wrote:
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.
This is not a problem. Ignore those errors as they happen in the Python 2.6 support code.Everything installed fine.
Got RestrictedPython 3.5.0.
MA> Mmm... it doesn't let me run the tests though: MA> $ ./bin/test MA> Test-module import failures: MA> Module: z3c.form.browser.tests MA> Traceback (most recent call last): MA> File MA> "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/browser/tests.py", MA> line 16, in ? MA> from z3c.form import testing MA> File MA> "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/testing.py", MA> line 28, in ? MA> from zope.app.testing import setup MA> File MA> "/Users/optilude/.buildout/eggs/zope.app.testing-3.6.0-py2.4.egg/zope/app/testing/setup.py", MA> line 47, in ? MA> from zope.container.traversal import ContainerTraversable MA> File MA> "/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg/zope/container/traversal.py", MA> line 26, in ? MA> from zope.publisher.interfaces import IDefaultViewName, NotFound MA> ImportError: cannot import name IDefaultViewName MA> Module: z3c.form.tests.test_doc MA> Traceback (most recent call last): MA> File MA> "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/test_doc.py", MA> line 23, in ? MA> from zope.app.testing import placelesssetup MA> File MA> "/Users/optilude/.buildout/eggs/zope.app.testing-3.6.0-py2.4.egg/zope/app/testing/placelesssetup.py", MA> line 26, in ? MA> from zope.container.testing \ MA> File MA> "/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg/zope/container/testing.py", MA> line 29, in ? MA> from zope.container.traversal import ContainerTraversable MA> File MA> "/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg/zope/container/traversal.py", MA> line 26, in ? MA> from zope.publisher.interfaces import IDefaultViewName, NotFound MA> ImportError: cannot import name IDefaultViewName MA> Test-modules with import problems: MA> z3c.form.browser.tests MA> z3c.form.tests.test_doc MA> Total: 0 tests, 0 failures, 0 errors in 0.000 seconds. MA> (optilude)(~/Development/Plone/Code/Products/z3c.form) MA> $ MA> My working set is pretty weird too. Lots of 3.5.x and 3.6.x and even a MA> 3.8.x. MA> $ cat bin/test MA> #!/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python MA> import sys MA> sys.path[0:0] = [ MA> '/users/optilude/Development/Plone/Code/Products/z3c.form/src', MA> '/Users/optilude/.buildout/eggs/zope.testing-3.7.1-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.interface-3.5.0-py2.4-macosx-10.3-i386.egg', MA> '/Users/optilude/.buildout/eggs/setuptools-0.6c9-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.i18n-3.4.4-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/z3c.template-1.1a1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/z3c.coverage-0.1.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.container-3.7.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.security-3.6.0-py2.4-macosx-10.3-i386.egg', MA> '/Users/optilude/.buildout/eggs/zope.schema-3.5.2-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.publisher-3.5.5-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.pagetemplate-3.4.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.location-3.5.3-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.lifecycleevent-3.5.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.i18nmessageid-3.4.3-py2.4-macosx-10.3-i386.egg', MA> '/Users/optilude/.buildout/eggs/zope.i18n-3.6.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.event-3.4.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.configuration-3.4.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.component-3.5.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.testing-3.6.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.pagetemplate-3.5.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/ZODB3-3.9.0a12-py2.4-macosx-10.3-i386.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.publisher-3.6.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.component-3.6.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.tal-3.5.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.copypastemove-3.5.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.dublincore-3.4.2-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.traversing-3.5.2-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.size-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.exceptions-3.5.2-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.proxy-3.5.0-py2.4-macosx-10.3-i386.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.deferredimport-3.5.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/pytz-2009a-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.deprecation-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.tales-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.copy-3.5.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.site-3.6.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.security-3.6.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.publication-3.5.1-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.dependable-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.debug-3.4.1-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.authentication-3.5.0a2-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.appsetup-3.9.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.annotation-3.4.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zdaemon-2.0.2-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/ZConfig-2.6.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zc.lockfile-1.0.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/transaction-1.0a1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.datetime-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.contenttype-3.4.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.formlib-3.5.2-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.filerepresentation-3.5.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.cachedescriptors-3.4.1-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.interface-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.broken-3.5.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.dottedname-3.4.5-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.form-3.7.1-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.browser-0.5.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.exception-3.4.2-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.applicationcontrol-3.4.3-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.app.http-3.5.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.error-3.6.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.session-3.8.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/RestrictedPython-3.4.3-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.hookable-3.4.0-py2.4-macosx-10.3-i386.egg', MA> '/Users/optilude/.buildout/eggs/zodbcode-3.4.0-py2.4.egg', MA> MA> '/Users/optilude/.buildout/eggs/zope.app.basicskin-3.4.0-py2.4.egg', MA> '/Users/optilude/.buildout/eggs/zope.minmax-1.1.0-py2.4.egg', MA> ] MA> I'd like to go fix a few things this weekend, but I don't have time to MA> start unpickling these dependency issues. MA> Cheers, MA> Martin -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: He that will believe only what he can fully comprehend must have a very long head or a very short creed. - Charles Caleb Colton
Adam GROSZER wrote:
Hello,
I would add TEMPORARYLY (for testing) the KGS to buildout.cfg:
[buildout] extends = http://download.zope.org/zope3.4/3.4.0/versions.cfg versions = versions
develop = . benchmark parts = test checker coverage-test coverage-report docs i18n benchmark python ...
But do not commit that! I think people will use KGS in their buildout if they want and that will nail versions appropriately.
Later we might backport the [3.5/trunk]-compatibility which I'd like to finish this weekend to 1.9.
The tests now fail with: $ ./bin/test Running unit tests: Failure in test /users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/../zcml.txt Failed doctest test for zcml.txt File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/../zcml.txt", line 0 ---------------------------------------------------------------------- File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/../zcml.txt", line 67, in zcml.txt Failed example: from z3c.template.interfaces import IPageTemplate Exception raised: Traceback (most recent call last): File "/Users/optilude/.buildout/eggs/zope.testing-3.5.6-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest zcml.txt[19]>", line 1, in ? from z3c.template.interfaces import IPageTemplate ImportError: No module named template.interfaces ---------------------------------------------------------------------- File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/../zcml.txt", line 68, in zcml.txt Failed example: template = zope.component.queryMultiAdapter((None, request, None, None, myWidget), interface=IPageTemplate, name='input') Exception raised: Traceback (most recent call last): File "/Users/optilude/.buildout/eggs/zope.testing-3.5.6-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest zcml.txt[20]>", line 2, in ? myWidget), interface=IPageTemplate, name='input') NameError: name 'IPageTemplate' is not defined ---------------------------------------------------------------------- File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/../zcml.txt", line 73, in zcml.txt Failed example: template Exception raised: Traceback (most recent call last): File "/Users/optilude/.buildout/eggs/zope.testing-3.5.6-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest zcml.txt[21]>", line 1, in ? template NameError: name 'template' is not defined ---------------------------------------------------------------------- File "/users/optilude/Development/Plone/Code/Products/z3c.form/src/z3c/form/tests/../zcml.txt", line 78, in zcml.txt Failed example: print template(myWidget) Exception raised: Traceback (most recent call last): File "/Users/optilude/.buildout/eggs/zope.testing-3.5.6-py2.4.egg/zope/testing/doctest.py", line 1356, in __run compileflags, 1) in test.globs File "<doctest zcml.txt[22]>", line 1, in ? print template(myWidget) NameError: name 'template' is not defined Ran 740 tests with 1 failures and 0 errors in 4.211 seconds. (optilude)(~/Development/Plone/Code/Products/z3c.form) I don't really feel confident to fix bugs in z3c.form until I can have a stable build environment, but I may check in some fixes anyway if I find time this weekend and aim to keep the number of failures constant. Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book
On Friday 10 April 2009, Martin Aspeli wrote:
"/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386 .egg/zope/container/traversal.py", line 26, in ? from zope.publisher.interfaces import IDefaultViewName, NotFound ImportError: cannot import name IDefaultViewName
zope.container 3.8.1 seems pretty high. I have noticed that if you use the latest versions of everything, things break recently. Sigh. This is exactely why we have the KGS. (Not your fault though.) Regards, Stephan -- Stephan Richter Web Software Design, Development and Training Google me. "Zope Stephan Richter"
Stephan Richter wrote:
On Friday 10 April 2009, Martin Aspeli wrote:
"/Users/optilude/.buildout/eggs/zope.container-3.8.1-py2.4-macosx-10.3-i386 .egg/zope/container/traversal.py", line 26, in ? from zope.publisher.interfaces import IDefaultViewName, NotFound ImportError: cannot import name IDefaultViewName
zope.container 3.8.1 seems pretty high. I have noticed that if you use the latest versions of everything, things break recently. Sigh. This is exactely why we have the KGS. (Not your fault though.)
The buildout used index = <KGS address> so I don't see why the KGS hasn't solved this problem. Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book
participants (3)
-
Adam GROSZER -
Martin Aspeli -
Stephan Richter