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?
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 virtualenv- 2.6 --no-site-packages /tmp/z212 bin/python2. 6 bin/python ....... ....done. bin/easy_ install Zope2==2.12.2 pypi.python. org/simple/ Zope2/ www.zope. org pypi.python. org/packages/ source/ Z/Zope2/ Zope2-2. 12.2.tar. gz#md5= 3f029497ca57992 5e51457377ae10a 8d lib/python2. 6/site- packages/ zope.authentica tion-3. 7.0-py2. 6.egg pypi.python. org/simple/ zope.app. testing/ svn.zope. org/zope. app.testing pypi.python. org/packages/ source/ z/zope. app.testing/ zope.app. testing- 3.7.3.tar. gz#md5= 818ad6c6483f185 9985bba1bcce449 08 testing- 3.7.3.tar. gz 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 lib/python2. 6/site- packages/ zope.minmax- 1.1.1-py2. 6.egg lib/python2. 6/site- packages | grep "testing" testing- 3.7.3-py2. 6.egg 3.8.4-py2. 6.egg bin/mkzopeinsta nce -d /tmp/inst -u admin:admin bin/zopectl fg bin/runzope -X debug-mode=on
1.3.1
$ /path/to/
New python executable in /tmp/z212/
Also creating executable in /tmp/z212/
Installing setuptools.
$ /tmp/z212/
Searching for Zope2==2.12.2
Reading http://
Reading http://
Best match: Zope2 2.12.2
Downloading http://
Processing Zope2-2.12.2.tar.gz
...
Installed /tmp/z212/
Searching for zope.app.testing
Reading http://
Reading http://
Best match: zope.app.testing 3.7.3
Downloading http://
Processing zope.app.
Running zope.app.
Adding zope.app.testing 3.7.3 to easy-install.pth file
...
Installed /tmp/z212/
Finished processing dependencies for Zope2==2.12.2
$ ls /tmp/z212/
zope.app.
zope.testing-
$ /tmp/z212/
$ /tmp/inst/
/tmp/inst/
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?