upgrading recipes with pinned versions breaks

Bug #163776 reported by Wichert Akkerman
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Buildout
Confirmed
Undecided
Unassigned

Bug Description

If you use a version-in for a recipe and later try to use a newer version buildout aborts with an error. For example using a plone buildout with plone.recipe.plone pinned to 3.0.2 and changing that to 3.0.3 later gives this error:

Uninstalling plone.
While:
  Installing.
  Uninstalling plone.
  Loading recipe 'plone.recipe.plone==3.0.2'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:

VersionConflict:
(plone.recipe.plone 3.0.3 (/Users/wichert/Library/eggs/plone.recipe.plone-3.0.3-py2.4.egg), Requirement.parse('plone.recipe.plone==3.0.2'))

The only workaround I can find is to delete .installed.cfg.

Revision history for this message
Hanno Schlichting (hannosch) wrote :

Also see discussion on http://mail.python.org/pipermail/distutils-sig/2008-April/009167.html.

Possible solutions are either to do uninstall in a subprocess which loads the old version of the recipe explicitly or allow newer versions of a recipe to uninstall old ones.

Changed in zc.buildout:
status: New → Confirmed
Revision history for this message
Łukasz Nowak (ionowaklukasz) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.