Hi Patrick,
> On Tue, Oct 13, 2009 at 13:45, Martin Aspeli <
[hidden email]> wrote:
>> I thought there were BBB aliase in zope.app.container, so those
>> references should still work. If not, that's bad (and possibly a Zope bug).
>
> I consider this a zope bug too, but Tres Seavers believes its the
> third party fault if they don't declare dependencies cleanly. I tend
> to disagree in this certain case.
Actually, I agree with Tres.I thought that there was a z.a.container
but it didn't have the interfaces anymore.
The solution is simple: add the dependency. Note that you don't have
to add it in the product, you could also just add it in buildout.cfg.
> One solution could be to add zope.app.container as a dependency to
> Plone 4.0 and remove that dependency on 4.1.
-1
What I think we should do is maintain a version for z.a.container in
the KGS indefinitely so that when people *do* depend on it, they get a
sane version.
We need to start having fewer dependencies. If it's there, people will
get confused and use it. We've had eggs since Plone 3.2 and it's not
unreasonable to expect people to declare their dependencies, so long
as there's an "integrator's workaround" of just shoving them into
buildout.cfg.
> I assume that everybody is using buildout these days to build Plone4
> and we might state in the changes of Plone 4.1. that some products
> might produce breakages because they haven't really been updated yet
> and that in the case of a missing zope.app.container package, two
> things a necessary: 1. Make the faulty package Plone 4 compatible or
> bribe the maintainers with money, pizza, prayers for their well being
> to make the package compatible, 2. Until then, add zope.app.container
> as an egg.
Right. We definitely need to document this carefully. We did for the
Plone 2.5 -> 3 upgrade guide. We need the same for Plone 4.
> Adding the dependency in Plone 4.0, because we want to make the
> upgrade as smooth as possible.
Except it goes against our goal of shedding code cruft. We can't shed
this in 4.1 because we can't break things in minor releases.
> Removing it in 4.1. because it would probably the only breakage, be
> small in its effort to fix, and hopefully everybody fixed his product
> already.
I see your point, but I think it's better to ask people to depend on
it or else add it to their buildouts.
It's not *that* common a dependency that it'll break absolutely everything. :)
Martin
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Plone-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-developers