Re: Zope Tests: 26 OK, 15 Failed, 2 Unknown

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20100825091855.GA5458@platonas>
On Tue, Aug 24, 2010 at 04:08:10PM +0300, Marius Gedminas wrote:
...
>     Error: There is a version conflict.
>     We already have: setuptools 0.6c12dev-r84273
...
> I have a hunch this is due to virtualenv 1.3.3, which is installed into
> /usr/local/bin/.  I've tried upgrading virtualenv to 1.4.5 (the version
> in Ubuntu 10.04) and the error now is
...
>     Error: There is a version conflict.
>     We already have: zc.buildout 1.5.0

FWIW I had to downgrade virtualenv back to 1.3.3, since 1.4.5 uses Distribute
by default, and zc.zope3recipes 0.6.2 doesn't like Distribute:

File "/var/lib/buildbot/eggs/zc.zope3recipes-0.6.2-py2.4.egg/zc/zope3recipes/README.txt", line 78, in README.txt
Failed example:
    print system(join('bin', 'buildout')),
Expected:
    Develop: '/sample-buildout/demo1'
    Develop: '/sample-buildout/demo2'
    Installing myapp.
    Generated script '/sample-buildout/parts/myapp/runzope'.
    Generated script '/sample-buildout/parts/myapp/debugzope'.
Got:
    Develop: '/sample-buildout/demo1'
    install_dir /sample-buildout/develop-eggs/tmpGFC-Sdbuild
    Develop: '/sample-buildout/demo2'
    install_dir /sample-buildout/develop-eggs/tmpIidjYCbuild
    Installing myapp.
    Generated script '/sample-buildout/parts/myapp/runzope'.
    Generated script '/sample-buildout/parts/myapp/debugzope'.

> Looks like the outer buildout.cfg doesn't pin zc.buildout so it always
> gets the latest version, and the inner one doesn't like that at all.  I
> think the fix is to change buildout steps to do this instead:
...
>     $ cd test && ../sandbox/bin/python ../bootstrap.py && bin/buildout

(instead of cd test && ../bin/buildout)

This was the right fix.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkx03/MACgkQkVdEXeem149efQCfUWjl/xRPxE4434kwAl8FLIPx
6zAAnjuPV6WlSsyhc9oLbMCrsp0aC4H/
=c2lA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.