[Distutils] Running tests for zc.recipe.cmmi?
Jim Fulton
jim at zope.com
Wed Mar 11 14:07:39 CET 2009
It might be good to take this off list.
Are you using a Python with anything in site-packages?
It seem rather odd that, for you, it seems to be importing test
modules that are unrelated to zc.recipe.cmmi.
Jim
On Mar 10, 2009, at 7:22 PM, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jim Fulton wrote:
>> On Mar 4, 2009, at 4:29 PM, Tres Seaver wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> I was trying to update the package to get rid of a deprecation
>>> warning
>>> under Python 2.6.
>>>
>>> $ svn co $ZSVN/zc.recipe.cmmi/trunk cmmi-trunk
>>> $ cd cmmi-trunk
>>> $ /path/to/bin/python2.6 bootstrap/bootstrap.py
>>> ...
>>> $ bin/buildout
>>> ...
>>> $ bin/test
>>> ...
>>> *Lots* of import errors and test failures
>>>
>>> What's up with that? It blows up with python2.4 and python2.5, too.
>>
>>
>> I don't get test failures with Python 2.4 or 2.5. I do get failures
>> for 2.6.
>
> I still see failures when repeating that recipe, with 2.4, 2.5, and
> 2.6.
> I thought it might have been due to the fact that Grok jammed a goofy
> ~/.buildout on my site, but the behavior is the same even after I
> chopped it back out. The error is as follows:
>
> - ----------------------------- 8< ----------------------------------
> Running zope.testing.testrunner.layer.UnitTests tests:
> Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
> Ran 4 tests with 0 failures and 0 errors in 4.441 seconds.
> Tearing down left over layers:
> Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
>
> Test-modules with import problems:
> eggs.setuptools-0.6c9-py2.4.egg.setuptools.tests.test_packageindex
> eggs.setuptools-0.6c9-py2.4.egg.setuptools.tests.test_resources
> eggs.zc.buildout-1.1.1-py2.4.egg.zc.buildout.tests
> eggs.zc.recipe.egg-1.1.0-py2.4.egg.zc.recipe.egg.tests
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.common.tests.test_idatetime
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.common.tests.test_import_interfaces
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_adapter
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_advice
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_declarations
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_document
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_element
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_interface
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_odd_declarations
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_sorting
>
> eggs.zope.interface-3.5.0-py2.4-linux-
> i686.egg.zope.interface.tests.test_verify
> eggs.zope.testing-3.7.1-py2.4.egg.zope.testing.tests
> eggs.zope.testing-3.7.1-py2.4.egg.zope.testing.testrunner.tests
> - ----------------------------- 8< ----------------------------------
>
>
>
> Tres.
> - --
> ===================================================================
> Tres Seaver +1 540-429-0999 tseaver at palladion.com
> Palladion Software "Excellence by Design" http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJtvZI+gerLs4ltQ4RAt7+AJ97NOhWNhZhhclM6bUPmR2gi2Zc0ACfVpxl
> BZtDAYNS+jGm/o2l1qd5yKc=
> =l6vE
> -----END PGP SIGNATURE-----
--
Jim Fulton
Zope Corporation
More information about the Distutils-SIG
mailing list