PIL dependency
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.
Will be released with v0.16