upgrading recipes with pinned versions breaks

Bug #163776 reported by Wichert Akkerman on 2007-11-19
This bug affects 2 people
Affects Status Importance Assigned to Milestone

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

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

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers