From 844c99e6b3d77bc9f64615ac17eb7351227210b3960f1b364425cdbbc8f4b253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Jul 2019 10:17:36 +0000 Subject: [PATCH 1/2] Accepting request 713193 from home:okurz:branches:devel:languages:python - Exclude the tests completely on s390x segfault on known and referenced issue OBS-URL: https://build.opensuse.org/request/show/713193 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=87 --- python-Pillow.changes | 5 +++++ python-Pillow.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-Pillow.changes b/python-Pillow.changes index a91b168..cb75157 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 3 09:37:33 UTC 2019 - Oliver Kurz + +- Exclude the tests completely on s390x segfault on known and referenced issue + ------------------------------------------------------------------- Sun Jun 9 22:06:09 CEST 2019 - Matej Cepl diff --git a/python-Pillow.spec b/python-Pillow.spec index dfcfcd9..ca0c8cc 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -108,7 +108,10 @@ Python Imaging Library by Fredrik Lundh and Contributors. %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -%if %_arch == s390x || %_arch == s390x || %_arch == ppc || %_arch == ppc64 +%if %_arch == s390 || %_arch == s390x +echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault" +%else +%if %_arch == ppc || %_arch == ppc64 $python selftest.py --installed || \ echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204" $python setup.py test || \ @@ -117,6 +120,7 @@ echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204 $python selftest.py --installed $python setup.py test %endif +%endif } %files %{python_files} From eebd2f624effdaec6f650706f25be57f68be506947ea8d5c2b75987906772835 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Sun, 7 Jul 2019 10:23:10 +0000 Subject: [PATCH 2/2] Accepting request 713760 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/713760 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=88 --- Pillow-6.0.0.tar.gz | 3 -- Pillow-6.1.0.tar.gz | 3 ++ python-Pillow.changes | 64 +++++++++++++++++++++++++++++++++++++++++++ python-Pillow.spec | 6 ++-- 4 files changed, 70 insertions(+), 6 deletions(-) delete mode 100644 Pillow-6.0.0.tar.gz create mode 100644 Pillow-6.1.0.tar.gz diff --git a/Pillow-6.0.0.tar.gz b/Pillow-6.0.0.tar.gz deleted file mode 100644 index 59c962d..0000000 --- a/Pillow-6.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:809c0a2ce9032cbcd7b5313f71af4bdc5c8c771cb86eb7559afd954cab82ebb5 -size 29472229 diff --git a/Pillow-6.1.0.tar.gz b/Pillow-6.1.0.tar.gz new file mode 100644 index 0000000..fac4c6a --- /dev/null +++ b/Pillow-6.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0804f77cb1e9b6dbd37601cee11283bba39a8d44b9ddb053400c58e0c0d7d9de +size 33781060 diff --git a/python-Pillow.changes b/python-Pillow.changes index cb75157..a8f00a0 100644 --- a/python-Pillow.changes +++ b/python-Pillow.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Sat Jul 6 21:26:45 UTC 2019 - Arun Persaud + +- update to version 6.1.0: + * Deprecate Image.__del__ #3929 [jdufresne] + * Tiff: Add support for JPEG quality #3886 [olt] + * Respect the PKG_CONFIG environment variable when building #3928 + [chewi] + * Use explicit memcpy() to avoid unaligned memory accesses #3225 + [DerDakon] + * Improve encoding of TIFF tags #3861 [olt] + * Update Py_UNICODE to Py_UCS4 #3780 [nulano] + * Consider I;16 pixel size when drawing #3899 [radarhere] + * Add TIFFTAG_SAMPLEFORMAT to blocklist #3926 [cgohlke, radarhere] + * Create GIF deltas from background colour of GIF frames if disposal + mode is 2 #3708 [sircinnamon, radarhere] + * Added ImageSequence all_frames #3778 [radarhere] + * Use unsigned int to store TIFF IFD offsets #3923 [cgohlke] + * Include CPPFLAGS when searching for libraries #3819 [jefferyto] + * Updated TIFF tile descriptors to match current decoding + functionality #3795 [dmnisson] + * Added an image.entropy() method (second revision) #3608 [fish2000] + * Pass the correct types to PyArg_ParseTuple #3880 [QuLogic] + * Fixed crash when loading non-font bytes #3912 [radarhere] + * Fix SPARC memory alignment issues in Pack/Unpack functions #3858 + [kulikjak] + * Added CMYK;16B and CMYK;16N unpackers #3913 [radarhere] + * Fixed bugs in calculating text size #3864 [radarhere] + * Add __main__.py to output basic format and support information + #3870 [jdufresne] + * Added variation font support #3802 [radarhere] + * Do not down-convert if image is LA when showing with PNG format + #3869 [radarhere] + * Improve handling of PSD frames #3759 [radarhere] + * Improved ICO and ICNS loading #3897 [radarhere] + * Changed Preview application path so that it is no longer static + #3896 [radarhere] + * Corrected ttb text positioning #3856 [radarhere] + * Handle unexpected ICO image sizes #3836 [radarhere] + * Fixed bits value for RGB;16N unpackers #3837 [kkopachev] + * Travis CI: Add Fedora 30, remove Fedora 28 #3821 [hugovk] + * Added reading of CMYK;16L TIFF images #3817 [radarhere] + * Fixed dimensions of 1-bit PDFs #3827 [radarhere] + * Fixed opening mmap image through Path on Windows #3825 [radarhere] + * Fixed ImageDraw arc gaps #3824 [radarhere] + * Expand GIF to include frames with extents outside the image size + #3822 [radarhere] + * Fixed ImageTk getimage #3814 [radarhere] + * Fixed bug in decoding large images #3791 [radarhere] + * Fixed reading APP13 marker without Photoshop data #3771 + [radarhere] + * Added option to include layered windows in ImageGrab.grab on + Windows #3808 [radarhere] + * Detect libimagequant when installed by pacman on MingW #3812 + [radarhere] + * Fixed raqm layout bug #3787 [radarhere] + * Fixed loading font with non-Unicode path on Windows #3785 + [radarhere] + * Travis CI: Upgrade PyPy from 6.0.0 to 7.1.1 #3783 [hugovk, + johnthagen] + * Depends: Updated openjpeg to 2.3.1 #3794, raqm to 0.7.0 #3877, + libimagequant to 2.12.3 #3889 [radarhere] + * Fix numpy bool bug #3790 [radarhere] + ------------------------------------------------------------------- Wed Jul 3 09:37:33 UTC 2019 - Oliver Kurz diff --git a/python-Pillow.spec b/python-Pillow.spec index ca0c8cc..4cb0dba 100644 --- a/python-Pillow.spec +++ b/python-Pillow.spec @@ -24,7 +24,7 @@ %bcond_with tk %endif Name: python-Pillow -Version: 6.0.0 +Version: 6.1.0 Release: 0 Summary: Python Imaging Library (Fork) License: HPND @@ -108,10 +108,10 @@ Python Imaging Library by Fredrik Lundh and Contributors. %check %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -%if %_arch == s390 || %_arch == s390x +%if %{_arch} == s390 || %{_arch} == s390x echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault" %else -%if %_arch == ppc || %_arch == ppc64 +%if %{_arch} == ppc || %{_arch} == ppc64 $python selftest.py --installed || \ echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204" $python setup.py test || \