[zope2-tracker] [Bug 499658] Re: Missing install dependency zope.app.testing

Tres Seaver tseaver at palladion.com
Tue Dec 22 23:21:13 EST 2009


I can't reproduce the problem:  'zope.app.testing' gets installed via a
transitive dependency.  Here is how I tried to reproduce the bug in
a "clean" environment, including running 'mkzopeinstance' and starting the
server::

 $ /path/to/virtualenv-2.6 --version
 1.3.1
 $ /path/to/virtualenv-2.6 --no-site-packages /tmp/z212
 New python executable in /tmp/z212/bin/python2.6
 Also creating executable in /tmp/z212/bin/python
 Installing setuptools............done.
 $ /tmp/z212/bin/easy_install Zope2==2.12.2
 Searching for Zope2==2.12.2
 Reading http://pypi.python.org/simple/Zope2/
 Reading http://www.zope.org
 Best match: Zope2 2.12.2
 Downloading http://pypi.python.org/packages/source/Z/Zope2/Zope2-2.12.2.tar.gz#md5=3f029497ca579925e51457377ae10a8d
 Processing Zope2-2.12.2.tar.gz
 ...
 Installed /tmp/z212/lib/python2.6/site-packages/zope.authentication-3.7.0-py2.6.egg
 Searching for zope.app.testing
 Reading http://pypi.python.org/simple/zope.app.testing/
 Reading http://svn.zope.org/zope.app.testing
 Best match: zope.app.testing 3.7.3
 Downloading http://pypi.python.org/packages/source/z/zope.app.testing/zope.app.testing-3.7.3.tar.gz#md5=818ad6c6483f1859985bba1bcce44908
 Processing zope.app.testing-3.7.3.tar.gz
 Running zope.app.testing-3.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Wo3OtX/zope.app.testing-3.7.3/egg-dist-tmp-lrL0HH
 Adding zope.app.testing 3.7.3 to easy-install.pth file
 ...
 Installed /tmp/z212/lib/python2.6/site-packages/zope.minmax-1.1.1-py2.6.egg
 Finished processing dependencies for Zope2==2.12.2
 $ ls /tmp/z212/lib/python2.6/site-packages | grep "testing"
 zope.app.testing-3.7.3-py2.6.egg
 zope.testing-3.8.4-py2.6.egg
 $ /tmp/z212/bin/mkzopeinstance -d /tmp/inst -u admin:admin
 $ /tmp/inst/bin/zopectl fg
 /tmp/inst/bin/runzope -X debug-mode=on
 2009-12-22 20:11:18 INFO ZServer HTTP server started at Tue Dec 22 20:11:18 2009
 Hostname: 0.0.0.0
 Port: 8080
 2009-12-22 20:11:21 INFO Zope Ready to handle requests


All works as expected:  I see no errors, and zope.app.testing does indeed
get installed.

Note that nothing in the 2.12.2 source tree itself imports or references
zope.app.testing, except the changelog which mentions removing it in
favor of a more minimal test jig.  We have it as a policy that packages list
only direct dependencies in their requirements, which means I wouldn't want
to add 'zope.app.testing' to the requirements for Zope2.

Perhaps at the time you tried the install, PyPI held a version one of Zope2's
dependencies on PyPI which somehow missed naming the dependency, but that
version has since been updated?

** Changed in: zope2
       Status: New => Incomplete

-- 
Missing install dependency zope.app.testing
https://bugs.launchpad.net/bugs/499658
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list