Date: Tue, 11 Jul 2023 08:58:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272448] net-im/py-matrix-synapse: fix file uploading running py-pillow 10.0.0 Message-ID: <bug-272448-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272448 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=3D243336&action= =3Dedit 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' ``` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272448-7788>