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

Martin Aspeli optilude+lists at gmail.com
Fri Apr 10 10:38:20 EDT 2009


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



More information about the Zope-Dev mailing list