Hi Lennart.
I cannot duplicate this when running the tests for zc.recipe.testrunner, which
was what you appeared to be doing.
I do see some test failures in that package, some of them caused by the
buildout change, but they are reasonable: the tests check for the actual script
output, which is fragile, and which broke.
I used Python 2.6, as you appeared to be. I have tried running with both
1.5.0b1 and a version of my current betafix branch.
Running within a --no-site-packages virtualenv and b1 did break with errors
like "IOError: [Errno 2] No such file or directory:
'/tmp/tmpHXetXtbuildoutSetUp/_TEST_/sample-buildout/parts/buildout/orig-prefix.txt'".
That doesn't look like the error you are reporting. These also are fixed
with my betafix branch.
Can you give me some instructions to duplicate?
Thanks
Gary
On Apr 30, 2010, at 9:46 PM, Lennart Regebro wrote:
> Another bug:
>
> In code like this:
>
> def setUp(test):
> zc.buildout.testing.buildoutSetUp(test)
> zc.buildout.testing.install_develop('zc.recipe.testrunner', test)
> zc.buildout.testing.install_develop('zc.recipe.egg', test)
> zc.buildout.testing.install('zope.testing', test)
> zc.buildout.testing.install('zope.testrunner', test)
> zc.buildout.testing.install('zope.interface', test)
> zc.buildout.testing.install('zope.exceptions', test)
>
> You get the following error:
>
> Traceback (most recent call last):
> File "/opt/python26/lib/python2.6/doctest.py", line 2120, in setUp
> self._dt_setUp(test)
> File
> "/home/projects/zc.recipe.testrunner/trunk/src/zc/recipe/testrunner/tests.py",
> line 25, in setUp
> zc.buildout.testing.buildoutSetUp(test)
> File
> "/home/projects/zc.recipe.testrunner/trunk/zc.buildout-1.5.0b1-py2.6.egg/zc/buildout/testing.py",
> line 332, in buildoutSetUp
> make_buildout()
> File
> "/home/projects/zc.recipe.testrunner/trunk/zc.buildout-1.5.0b1-py2.6.egg/zc/buildout/testing.py",
> line 272, in make_buildout
> ).bootstrap([])
> File
> "/home/projects/zc.recipe.testrunner/trunk/zc.buildout-1.5.0b1-py2.6.egg/zc/buildout/buildout.py",
> line 373, in bootstrap
> include_site_packages=False,
> File
> "/home/projects/zc.recipe.testrunner/trunk/zc.buildout-1.5.0b1-py2.6.egg/zc/buildout/easy_install.py",
> line 1030, in install
> return installer.install(specs, working_set)
> File
> "/home/projects/zc.recipe.testrunner/trunk/zc.buildout-1.5.0b1-py2.6.egg/zc/buildout/easy_install.py",
> line 843, in install
> for dist in self._get_dist(requirement, ws, self._always_unzip):
> File
> "/home/projects/zc.recipe.testrunner/trunk/zc.buildout-1.5.0b1-py2.6.egg/zc/buildout/easy_install.py",
> line 678, in _get_dist
> raise MissingDistribution(requirement, ws)
> MissingDistribution: Couldn't find a distribution for 'distribute'.
>
>
> Going back to 1.4.3 (and zc.recipe.egg 1.2.2 solves the problem.
>
> --
> Lennart Regebro: http://regebro.wordpress.com/
> Python 3 Porting: http://python-incompatibility.googlecode.com/
> +33 661 58 14 64
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig