From owner-freebsd-python@freebsd.org Tue Jan 28 09:41:09 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A16A41FC0E1 for ; Tue, 28 Jan 2020 09:41:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 486M7T3rMRz4vXr for ; Tue, 28 Jan 2020 09:41:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 83D671FC0E0; Tue, 28 Jan 2020 09:41:09 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8396B1FC0DE for ; Tue, 28 Jan 2020 09:41:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 486M7T2w0zz4vXq for ; Tue, 28 Jan 2020 09:41:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5F62320FB0 for ; Tue, 28 Jan 2020 09:41:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 00S9f9VH086983 for ; Tue, 28 Jan 2020 09:41:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 00S9f9ck086982 for python@FreeBSD.org; Tue, 28 Jan 2020 09:41:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 243665] graphics/py-pillow: Update to 7.0.0 Date: Tue, 28 Jan 2020 09:41:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kai@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kai@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jan 2020 09:41:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243665 Kai Knoblich changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #1 from Kai Knoblich --- Results of "make test" for each Python flavor: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ With py37, py38: > =3D=3D=3D=3D 1298 passed, 129 skipped in 32.14 seconds =3D=3D=3D=3D > =3D=3D=3D=3D 1298 passed, 129 skipped in 31.40 seconds =3D=3D=3D=3D With py35: > =3D=3D=3D=3D 1296 passed, 131 skipped in 40.62 seconds =3D=3D=3D=3D With py36: > =3D=3D=3D=3D 1297 passed, 130 skipped in 33.41 seconds =3D=3D=3D=3D Version requirements in setup.py, etc.: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Except two ports no consumer has pinned requirements for graphics/py-pillow. The two exceptions are: - net-mgmt/netbox: OK, patched out in Makefile - www/py-wagtail: OK, defined in Makefile and setup.py as "<7.0". More thorough QA results regarding the backwards incompatible changes that = were introduced in the 7.0.0 release (see also the release notes in the URL field for further detail): Removal of the PILLOW_VERSION constant: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - graphics/impressive: OK, still uses Python 2.7 only and already has compatible code to cope with different Pillow versions. - graphics/py-blockdiag: OK, still uses Python 2.7 only. No compatible code= for newer Pillow versions. - graphics/py-mcomix: OK, still uses Python 2.7 only. No compatible code for newer Pillow versions. - graphics/sk1: OK, still uses Python 2.7 only. No compatible code for newer Pillow versions. - print/hplib: OK, already patched out in r503333 as preparation for the 6.0 release of graphics/py-pillow. - x11/xpra: OK, still uses Python 2.7 only and already has compatible code = to cope with different Pillow versions. Conclusion: OK, as all those consumers (except print/hplib maybe, as it alr= eady runs with Python 3) will get graphics/py-pillow6 as a dependency and should work as usual. Removal of the *ImagePlugin.__version__ constants: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - OK, no port makes use of these constants. Removal of PyQt4 and PySide code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - OK, not relevant as Qt4 and PySide are already gone from the Ports tree. Removal of setting the image size for TIFF images by "im.size(x, y): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - graphics/py-imageio: OK, uses "im.size =3D ( ... )" only in documentation context in "imageio/plugins/pillow_info.py". - graphics/py-imageio24: OK, uses "im.size =3D ( ... )" only in documentati= on context in "imageio/plugins/pillow_info.py". - net-p2p/deluge-cli: OK, uses Python 2.7 only and "im.size =3D ( ... )" is= used for ICO files. In this context using "im.size =3D ( ... )" is allowed as it selects a subimage. Changed return value of "Image.draft()": ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - graphics/py-mcomix: OK, uses Python 2.7 only. - graphics/py-sane: OK, uses Python 2.7 only. Conclusion: OK, as all those consumers will get graphics/py-pillow6 as a dependency and should work as usual. Default resampling filter: ~~~~~~~~~~~~~~~~~~~~~~~~~~ The default resampling filter was changed from "IMAGE.NEAREST" to "IMAGE.BICUBIC" for the "fit()", "pad()", "resize()" and "scale()" function= s. Those functions are used by several consumers for image processing/manipulation. Conclusion: Should be OK, but we should keep in mind that the changes of the above mentioned functions will have definitely a small impact on the Pillow consumers. A bit more CPU cycles than usual are then required for image processing but yields in better image results/quality.=20 If there are problems once Pillow has been updated to 7.0.0 we can still as= sign the problematic consumers (if any) to Pillow 6.2.2 and bump PORTREVISION. --=20 You are receiving this mail because: You are on the CC list for the bug.=