Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Replace PIL by pillow. #470

Merged
merged 1 commit into from
Apr 14, 2016
Merged

Conversation

NL66278
Copy link

@NL66278 NL66278 commented Apr 6, 2016

Description of the issue/feature this PR addresses:

Use of PIL library, instead of pillow, is deprecated and leads to failure when installing odoo through buildout

Current behavior before PR:

Buildout fails with message:
Getting distribution for 'PIL'.
anybox.recipe.odoo.base: Could not find or install 'PIL'. You don't need to require it for Odoo any more, since the recipe automatically adds a dependency to Pillow. If you really need it for other reasons, installing it system-wide is a good option. Original exception zc.buildout.easy_install.MissingDistribution says: Couldn't find a distribution for 'PIL'.
While:
Installing odoo.
Error: Couldn't find a distribution for 'PIL'.

Desired behavior after PR is merged:

Buildout succeeds.

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@coveralls
Copy link

Coverage Status

Coverage remained the same at 30.919% when pulling b2e48ad on NL66278:7.0-use-pillow into f97227f on OCA:7.0.

@hbrunn
Copy link
Member

hbrunn commented Apr 6, 2016

Looks like the binary is gone from upstream: http://effbot.org/downloads#pil (linked from https://pypi.python.org/pypi/PIL), so 👍

Does anybody know what the background here?

@hbrunn hbrunn added this to the 7.0 milestone Apr 6, 2016
@StefanRijnhart
Copy link
Member

I guess https://github.com/therp/odoo/tree/7.0-use_pillow was never proposed? Thanks for this PR. Can you refer to the upstream PR on Odoo?

@NL66278
Copy link
Author

NL66278 commented Apr 14, 2016

@StefanRijnhart I doubt wether Odoo SA will do anything with fixes for 7.0, but here is my PR:
odoo#11694

@StefanRijnhart
Copy link
Member

👍

@StefanRijnhart StefanRijnhart merged commit 18dd851 into OCA:7.0 Apr 14, 2016
mistotebe pushed a commit to credativUK/OCB that referenced this pull request Jun 2, 2016
[FIX] use pillow instead of PIL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants