PIL dependency

Bug #1017252 reported by Georges Racinet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP buildout recipe
Fix Released
Undecided
Unassigned

Bug Description

PIL is not formally part of OpenERP server dependencies, but it's really needed in practice.

The ServerRecipe examples add PIL to the list of eggs, but this works only if the correct version is already present system-wide, because PIL packaging does not fully respect setuptools, meaning that zc.recipe.egg can't really install it.

Pillow is a packaging fork of PIL precisely meant for that. The recipe should always install it.

To ensure backwards compatibility with existing buildouts that actually rely on a system-wide PIL, the recipe should check if PIL is present in the eggs option of the part, and not install Pillow if it is. Indeed, installing Pillow without the appropriate library development files (not needed for a binary install system-wide PIL) could create regressions.

Related branches

Revision history for this message
Georges Racinet (gracinet) wrote :

Will be released with v0.16

Changed in anybox.recipe.openerp:
status: New → Fix Committed
Revision history for this message
Georges Racinet (gracinet) wrote :

Released with 0.16

Changed in anybox.recipe.openerp:
status: Fix Committed → Fix Released
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.