-
Notifications
You must be signed in to change notification settings - Fork 41
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
Incompatibility with Pillow v6.x #10
Comments
We just ran into this as well had to hardcode the pillow version in the requirements.txt to get it to work as a work around
This needs have a top level req https://github.com/Distrotech/reportlab/blob/master/setup.py#L541 or code needs to be updated to not be dependent on getting VERSION. |
It looks like issues are only being responded to on Bitbucket? |
@hugorodgerbrown yeah several people have brought it up on their bitbucket too. Given they just did a release recently I'm hoping they push out a fix soon. Installing Pillow after reportlab is a temporary patch. |
The
Image.VERSION
attribute was removed in Pillow from version 6 on (python-pillow/Pillow@ef9bf76). This causes errors wherever it is calle:reportlab/src/reportlab/lib/utils.py
Lines 867 to 871 in 48cafb6
Intermediate fix is to use
PILLOW_VERSION
instead, although this will also be removed in future versions.The text was updated successfully, but these errors were encountered: