Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-15 Thread Lennart Regebro
On Tue, Dec 15, 2009 at 14:21, Marius Gedminas wrote: > On Tue, Dec 15, 2009 at 10:22:03AM +0100, Lennart Regebro wrote: >> And now it's zc.buildout. It also uses itself, to set up the >> environment so that you can test it. I did try using distribute >> instead, but I get strange inconsistent err

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-15 Thread Reinout van Rees
On 12/15/09 2:21 PM, Marius Gedminas wrote: > If I weren't extremely hungry and starving, I'd run the tests in the official > fashion (bin/buildout&& bin/test) and see if I get the same failures. Be sure to look at DEVELOPERS.txt in the root (you need pythons without setuptools and you need to r

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-15 Thread Marius Gedminas
On Tue, Dec 15, 2009 at 10:22:03AM +0100, Lennart Regebro wrote: > And now it's zc.buildout. It also uses itself, to set up the > environment so that you can test it. I did try using distribute > instead, but I get strange inconsistent errors, different ones each > time I try. :-/ > > If someone c

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-15 Thread Lennart Regebro
And now it's zc.buildout. It also uses itself, to set up the environment so that you can test it. I did try using distribute instead, but I get strange inconsistent errors, different ones each time I try. :-/ If someone can set up a way of running the tests for zc.buildout without using zc.buildou

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-07 Thread Lennart Regebro
FYI: I solved it. As usual the solution was dead simple once it struck me. I made a custom test command for setuptools, that simply create a temporary script modeled after the bin/test script that buildout would create, and call that. Problem solved! On Mon, Dec 7, 2009 at 16:24, Lennart Regebro

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-07 Thread Lennart Regebro
On Mon, Dec 7, 2009 at 15:46, Lennart Regebro wrote: > That doesn't seem to work. If I use discover withing setup.py, I get > the same problems as using the standard setuptools testrunner. If I > have a custom script that I run to run the tests, the tests seem to > get stuck in some sort of infini

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-07 Thread Lennart Regebro
On Mon, Dec 7, 2009 at 08:27, Wolfgang Schnerring wrote: > When I worked on py3 stuff on the DZUG sprint in September, we broke out > of that catch-22 by porting zope.testing first, and running its test > using , patched[1] to pick up > tests via the test_suit

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-06 Thread Lennart Regebro
On Mon, Dec 7, 2009 at 08:27, Wolfgang Schnerring wrote: > When I worked on py3 stuff on the DZUG sprint in September, we broke out > of that catch-22 by porting zope.testing first, and running its test > using , patched[1] to pick up > tests via the test_suit

Re: [Zope-dev] Bootstrapping ZCA for Python 3.

2009-12-06 Thread Wolfgang Schnerring
* Lennart Regebro [2009-12-06 21:14]: > Time had therefore come to zope.testing. Why > zope.testing? Because most components in zope.* uses zc.buildout, and > zc.buildouts tests uses zope.testing. But of course we here have a > bootstrapping problem, zope.testing of course also uses buildout. Whe