Missing install dependency zope.app.testing

Bug #499658 reported by richard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Undecided
Unassigned

Bug Description

I just installed 2.12.2 and when I ran mkzopeinstance it said there was a missing package "zope.app.testing". I installed it with pip and then mkzopeinstance worked correctly.

Revision history for this message
Tres Seaver (tseaver) wrote :

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
Revision history for this message
Andreas Jung (ajung) wrote :

I also can not reproduce this.

Changed in zope2:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.