upgrading recipes with pinned versions breaks
Bug #163776 reported by
Wichert Akkerman
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.
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/
The only workaround I can find is to delete .installed.cfg.
To post a comment you must log in.
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.