Skip to content. | Skip to navigation

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

‘davisagli’

Sections
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.

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

Posted by Rok Garbas at Mar 06, 2009 09:23 AM
good one, i was wondering how to make packages compatible for both 3.1 and 3.2

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

Posted by Ross Patterson at 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.

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

Posted by Jorge at Mar 06, 2009 09:56 PM
Want my opinion?<br />Plone is already SO difficult, and with these mistakes, developers are making it impossible to use!! I've lost a week with this error!!!!&lt;p&gt;Shame on you, developer of &quot;flowplayer&quot;!!&lt;p&gt;Jorge.

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

Posted by Carlos Hanson at Mar 06, 2009 08:47 AM
I am proof of success:&lt;p&gt;[zope2]<br />additional-fake-eggs =<br />&nbsp;&nbsp;&nbsp;&nbsp;Plone = 3.1.4

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

Posted by davisagli at 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!&lt;p&gt;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 &lt;em&gt;any&lt;/em&gt; system.&lt;p&gt;Better luck next time!
Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
Navigation