commit python-imagecodecs for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-imagecodecs for openSUSE:Factory checked in at 2021-07-02 13:27:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-imagecodecs (Old) and /work/SRC/openSUSE:Factory/.python-imagecodecs.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-imagecodecs" Fri Jul 2 13:27:04 2021 rev:7 rq:903430 version:2021.6.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-imagecodecs/python-imagecodecs.changes 2021-03-30 21:02:44.800872604 +0200 +++ /work/SRC/openSUSE:Factory/.python-imagecodecs.new.2625/python-imagecodecs.changes 2021-07-02 13:27:49.708592343 +0200 @@ -1,0 +2,33 @@ +Wed Jun 30 07:28:42 UTC 2021 - Ben Greiner <code@bnavigator.de> + +- Update to 2021.6.8 + * Pass 5185 tests. + * Fix building with Cython 0.3a7. + * Decode TIFF with JPEG compression, YCBCR or CMYK colorspace as RGB24. + * Vendor cfitsio/ricecomp.c for shared library builds on Windows (#18). +- Release 2021.5.20 + * Add ZLIBNG codec via zlib-ng library. + * Add RCOMP (Rice) codec via cfitsio library. + * Fix decoding of 16-bit JPEG with jpeg_decode. + * Relax user provided output array shape requirement. +- Release 2021.4.28 + * Change WebP default compression level to lossless. + * Rename jpegxl codec to brunsli (breaking). + * Add new JPEG XL codec via jpeg-xl library. + * Add PGLZ codec via PostgreSQL's pg_lzcompress.c. + * Update to libtiff 4.3 and libjpeg-turbo 2.1. + * Enable JPEG 12-bit codec in manylinux wheels. + * Drop manylinux2010 wheels. +- Release 2021.3.31 + * Add numcodecs compatible codecs for use by Zarr (experimental). + * Support separate JPEG header in jpeg_decode. + * Do not decode JPEG LS and XL in jpeg_decode (breaking). + * Fix ZFP with partial header. + * Fix JPEG LS tests (#15). + * Fix LZ4F contentchecksum. + * Remove blosc Snappy tests. + * Fix docstrings. +- drop imagecodecs-pr15-test_jpegls.patch fixed upstream- +- refresh always-cythonize.patch + +------------------------------------------------------------------- Old: ---- imagecodecs-2021.2.26.tar.gz imagecodecs-pr15-test_jpegls.patch New: ---- imagecodecs-2021.6.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-imagecodecs.spec ++++++ --- /var/tmp/diff_new_pack.2S6z6j/_old 2021-07-02 13:27:50.376587160 +0200 +++ /var/tmp/diff_new_pack.2S6z6j/_new 2021-07-02 13:27:50.380587129 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-imagecodecs +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -28,7 +28,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-imagecodecs%{psuffix} -Version: 2021.2.26 +Version: 2021.6.8 Release: 0 Summary: Image transformation, compression, and decompression codecs License: BSD-3-Clause @@ -36,8 +36,6 @@ Source: https://files.pythonhosted.org/packages/source/i/imagecodecs/imagecodecs-%{version}.tar.gz Source1: imagecodecs_distributor_setup.py Patch0: always-cythonize.patch -# PATCH-FIX-UPSTREAM imagecodecs-pr15-test_jpegls.patch -- gh#cgohlke/imagecodecs#15 -Patch1: https://github.com/cgohlke/imagecodecs/pull/15.patch#/imagecodecs-pr15-test_... BuildRequires: %{python_module Cython >= 0.29.19} BuildRequires: %{python_module numpy-devel >= 1.15.1} BuildRequires: %{python_module setuptools >= 18.0} @@ -46,12 +44,13 @@ BuildRequires: python-rpm-macros Requires: python-numpy >= 1.15.1 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: python-Pillow Recommends: python-blosc Recommends: python-lz4 Recommends: python-matplotlib >= 3.1 -Recommends: python-tifffile >= 2020.5.25 +Recommends: python-numcodecs +Recommends: python-tifffile >= 2021.1.11 Recommends: python-zstd %if %{with test} BuildRequires: %{python_module Brotli} @@ -61,10 +60,12 @@ BuildRequires: %{python_module imagecodecs >= %{version}} BuildRequires: %{python_module lz4} BuildRequires: %{python_module matplotlib >= 3.1} +BuildRequires: %{python_module numcodecs} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-snappy} BuildRequires: %{python_module scikit-image} -BuildRequires: %{python_module tifffile >= 2020.5.25} +BuildRequires: %{python_module tifffile >= 2021.1.11} +BuildRequires: %{python_module zarr} BuildRequires: %{python_module zstd} # libraries and python modules not (yet) available: #BuildRequires: %%{python_module bitshuffle} @@ -86,8 +87,8 @@ BuildRequires: snappy-devel BuildRequires: pkgconfig(blosc) BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(lcms2) -BuildRequires: pkgconfig(libavif) BuildRequires: pkgconfig(libbrotlicommon) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(liblz4) @@ -98,9 +99,13 @@ BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(zlib-ng) %ifnarch %ix86 %arm -# zfp is 64 bit only. Note that upstream deprecated 32-bit as a whole +# Note that upstream deprecated 32-bit as a whole +# zfp is 64 bit only. BuildRequires: zfp-devel +# 32-bit tests fail +BuildRequires: pkgconfig(libavif) %endif %endif # Upstream: big endian is not supported ++++++ always-cythonize.patch ++++++ --- /var/tmp/diff_new_pack.2S6z6j/_old 2021-07-02 13:27:50.408586912 +0200 +++ /var/tmp/diff_new_pack.2S6z6j/_new 2021-07-02 13:27:50.412586881 +0200 @@ -1,12 +1,12 @@ -Index: imagecodecs-2021.1.28/setup.py +Index: imagecodecs-2021.6.8/setup.py =================================================================== ---- imagecodecs-2021.1.28.orig/setup.py -+++ imagecodecs-2021.1.28/setup.py +--- imagecodecs-2021.6.8.orig/setup.py ++++ imagecodecs-2021.6.8/setup.py @@ -105,7 +105,7 @@ def ext(**kwargs): OPTIONS = { -- 'cythonize': sys.version_info >= (3, 10) or 'PyPy' in sys.version, +- 'cythonize': 'PyPy' in sys.version, # or sys.version_info >= (3, 10) + 'cythonize': True, 'include_dirs': ['imagecodecs'], 'library_dirs': [], ++++++ imagecodecs-2021.2.26.tar.gz -> imagecodecs-2021.6.8.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-imagecodecs/imagecodecs-2021.2.26.tar.gz /work/SRC/openSUSE:Factory/.python-imagecodecs.new.2625/imagecodecs-2021.6.8.tar.gz differ: char 5, line 1 ++++++ imagecodecs_distributor_setup.py ++++++ --- /var/tmp/diff_new_pack.2S6z6j/_old 2021-07-02 13:27:50.452586571 +0200 +++ /var/tmp/diff_new_pack.2S6z6j/_new 2021-07-02 13:27:50.456586539 +0200 @@ -11,7 +11,8 @@ del EXTENSIONS['jpeg12'] # jpeg12 requires custom build del EXTENSIONS['lerc'] # LERC library not available del EXTENSIONS['lz4f'] # requires static linking - del EXTENSIONS['jpegxl'] # Brunsli library not available + del EXTENSIONS['jpegxl'] # jpeg-xl library not available + del EXTENSIONS['brunsli'] # Brunsli library not available EXTENSIONS['avif']['libraries'] = [ 'avif', @@ -19,10 +20,13 @@ 'dav1d', 'rav1e', ] + - # no zfp on 32-bit platforms if sys.maxsize < 2**63 - 1: + # no zfp on 32-bit platforms del EXTENSIONS['zfp'] + # avif tests fail on 32-bit + del EXTENSIONS['avif'] openjpeg_inc = subprocess.check_output( @@ -30,6 +34,6 @@ text=True, ).strip() EXTENSIONS['jpeg2k']['include_dirs'].append(openjpeg_inc) - EXTENSIONS['jpegxr']['include_dirs'].append(includedir + 'jxrlib') + EXTENSIONS['rcomp']['include_dirs'].append(includedir + 'cfitsio') EXTENSIONS['zopfli']['include_dirs'].append(includedir + 'zopfli')
participants (1)
-
Source-Sync