[Bug 272448] net-im/py-matrix-synapse: fix file uploading running py-pillow 10.0.0
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272448] net-im/py-matrix-synapse: fix file uploading running py-pillow 10.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272448] net-im/py-matrix-synapse: fix file uploading running py-pillow 10.0.0"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 272448] net-im/py-matrix-synapse: fix file uploading running py-pillow 10.0.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jul 2023 08:58:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272448 Bug ID: 272448 Summary: net-im/py-matrix-synapse: fix file uploading running py-pillow 10.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: david@lapinbilly.eu CC: ports@skyforge.at CC: ports@skyforge.at Flags: maintainer-feedback?(ports@skyforge.at) Created attachment 243336 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243336&action=edit cherrypick from commit c303eca8cc31e5eb9edb10019f02c3a9e39a47ab The 10.0.0 release Py-Pyllow removed some constants like `Image.ANTIALIAS`. This leads to failure when users request image uploading: ``` File "/usr/local/lib/python3.9/site-packages/synapse/media/thumbnailer.py", line 134, in _resize return self.image.resize((width, height), Image.ANTIALIAS) AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ``` -- You are receiving this mail because: You are the assignee for the bug.