[Zope3-dev] Re: Zope egg dependencies and tests
Christian Theune
ct at gocept.com
Thu Apr 26 03:27:40 EDT 2007
Am Donnerstag, den 26.04.2007, 08:40 +0200 schrieb Philipp von
Weitershausen:
> Christian Zagrodnick wrote:
> > now there those wonderful eggs for Zope 3. Apart from the permission
> > problem we ran into lately there is another one with those eggs:
> >
> > The dependencies aren't set right.
> >
> > Apparently nobody every ran the tests of those eggs. This is no wonder.
> > When developing you need to checkout Zope 3 instead of the egg source.
> > The Zope 3 tests would pass of course since everything is in place there.
> >
> > I think we should move the actual code to the eggs as soon as possible
> > and put the externals into the Zope 3 source. Otherwise nobody ever will
> > run the egg tests.
> >
> > Also we need to take care of depending on certain versions. For instance
> > zope.location required a recent version of zope.proxy (>3.3).
>
> I personally don't like these "exclusive dependencies" that say what you
> don't want. I'd rather spell it out as what I want. I think this
> dependency should ready >=3.4.
Well. This depends. If you want to enable eggs to work against unstable
releases then you need to do >3.3, because:
3.3 < 3.4dev < 3.4a < 3.4(.0)
> > And it's
> > definitely better to say "I need >3.3 but can't find it" during buildout
> > than "zope.proxy has no module named decorator" somewhere when starting
> > the application.
>
> Agreed.
>
> > So, how do we get out of this? :)
>
> +1 on requiring running tests of individual projects
>
> Perhaps we could also automate this using a buildbot...
*yikes*
I'm not very fond of buildbot at the moment as it seems extremely
fragile. In this case I'm more worried about the tests getting run *at
all* than managing to run them on multiple machines.
Lightweight administration is the key to this problem IMHO.
Christian
--
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20070426/3ce81b6a/attachment-0001.bin
More information about the Zope3-dev
mailing list