Skip to content. | Skip to navigation

Personal tools

>>> ''.join(word[:3].lower() for word in 'David Isaac Glick'.split())

‘davisagli’

Navigation

You are here: Home / Blog / heads-up: watch out for dependencies on "Plone"

heads-up: watch out for dependencies on "Plone"

by David Glick posted Mar 06, 2009 08:40 AM
Watch out if you're installing an add-on product to a Plone 3.1.x site that declares a dependency on "Plone" in its setup.py. Plone wasn't packaged as an egg until Plone 3.2.x, so this will result in buildout trying to pull in the latest Plone on top of the one you've already got via the plone.recipe.plone recipe, and you'll see a VersionConflictError.

I just helped someone on #plone who ran into this with the collective.flowplayer product. If you're sure the product is actually compatible with Plone 3.1.x, you can work around this by adding "Plone" to the additional-fake-eggs option of the plone.recipe.zope2install buildout section.

Rok Garbas says:
Mar 06, 2009 09:23 AM
good one, i was wondering how to make packages compatible for both 3.1 and 3.2
Ross Patterson says:
Mar 06, 2009 02:14 PM
I just released a new version of collective.flowplayer that doesn't depend on Plone. I should probably have waited until eggified Plone had been out for a couple releases before doing that.
Jorge says:
Mar 06, 2009 09:56 PM
Want my opinion?
Plone is already SO difficult, and with these mistakes, developers are making it impossible to use!! I've lost a week with this error!!!!<p>Shame on you, developer of "flowplayer"!!<p>Jorge.
Carlos Hanson says:
Mar 06, 2009 08:47 AM
I am proof of success:<p>[zope2]
additional-fake-eggs =
    Plone = 3.1.4
David Glick says:
Mar 07, 2009 01:28 AM
Jorge, that's too bad about the lost time. But mistakes happen, and I tend to think Ross deserves our kudos for fixing the error and making a new release within five hours of when the problem was identified, without (to my knowledge) being directly prompted to do so. Thanks, Ross!<p>Of course, hindsight is 20/20, but it's always a wise idea to have a backup of your site before installing a new add-on product -- this is true for <em>any</em> system.<p>Better luck next time!
Navigation