-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
How to install Pillow for PyPy on Travis CI? #570
Comments
I think it's a Travis thing. There's a bit in the do somewhere that mentions that installing or building c extensions on pypy will fail. (http://docs.travis-ci.com/user/languages/python/#PyPy-Support) The tests all pass on pypy on my local machine ( or at least they did a month ago) |
I just found this issue on the Travis CI repo travis-ci/travis-ci#1654 and they think it's a PyPy issue. But I've just tried some things and Pillow installed for PyPy on Travis and all the tests passed: All that was needed was a But perhaps the install should only happen for the PyPy build, what do you think? And should PyPy be an allowed failure or would you prefer a normal build? |
AFAIK there is pypy-tk package if you want to use tkinter under PyPy. Tk support package is separated to follow CPython packaging practices since it is rarely used. |
But not holding my breath, since there's documented problems with Pillow on Travis's PyPy: python-pillow/Pillow#570
I understand Pillow should be supported for Pypy (e.g. see #67 and https://bitbucket.org/pypy/compatibility/wiki/Home).
See this build of Pillow. Python 2.x and 3.x pass, but PyPy errors:
https://travis-ci.org/hugovk/Pillow/builds/21429853
The only change is adding "pypy" to .travis.yml as an allowed failure:
hugovk@2bbc7f0
All 98 tests fail with PyPy because of a failing
python setup.py clean
(see https://travis-ci.org/hugovk/Pillow/jobs/21429858):Is the problem with Pillow's setup, Pillow's Travis config, Travis CI itself or PyPy?
This isn't a priority for me, I just noticed Pypy is available on Travis so added it to my build. Here's a failing
pip install Pillow
with PyPy:https://travis-ci.org/hugovk/pixel-tools/jobs/21493553
The text was updated successfully, but these errors were encountered: