PIL.Image.VERSION no longer exists - use PIL.Image.PILLOW_VERSION instead

Bug #1846218 reported by zdohnal
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

Hi,

python3-pillow in its 6.1.0 release removed PIL.VERSION and PIL.Image.VERSION attributes, which causes hp-check to traceback.

Although PIL.Image.PILLOW_VERSION tells Pillow's version, PIL itself is long time abandoned and pillow is its substitute, so IMHO it is okay to use pillow version.

Would you mind adding the attached patch into your project? hp-check ends with traceback without it.

Thank you in advance,

Zdenek

Revision history for this message
zdohnal (zdohnal) wrote :
Revision history for this message
Santhosh Manchikanti (santhosh2357651) wrote :

Thanks Zdohnal for the patch.
We are working on this.

Regards,
Santhosh Manchikanti

Changed in hplip:
status: New → In Progress
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.