15
0

Accepting request 1096160 from home:mcalabkova:branches:devel:languages:python

- update to 2.31.1
  * Add support for Python 3.11
  * Tifffile v3 support
  * Add audio support for ffmpeg writer
  * small improvements to pyav
  * Consistently apply color palettes by default
  * Add n_images to ImageProperties
  * Expose v3 plugins via v2 API
  * Decode gray 16-bit PNG as uint16 (not int32) if pillow allows

OBS-URL: https://build.opensuse.org/request/show/1096160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imageio?expand=0&rev=28
This commit is contained in:
2023-06-30 14:55:34 +00:00
committed by Git OBS Bridge
parent 6239c35223
commit 2d2cf96545
4 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:465ec35f919d538906d3023b61ccec766d8e7575fe55fcbd7669ece55afb97ca
size 3431412

3
imageio-2.31.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8436a02af02fd63f272dab50f7d623547a38f0e04a4a73e2b02ae1b8b180f27
size 386837

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Jun 30 14:22:20 UTC 2023 - Markéta Machová <mmachova@suse.com>
- update to 2.31.1
* Add support for Python 3.11
* Tifffile v3 support
* Add audio support for ffmpeg writer
* small improvements to pyav
* Consistently apply color palettes by default
* Add n_images to ImageProperties
* Expose v3 plugins via v2 API
* Decode gray 16-bit PNG as uint16 (not int32) if pillow allows
-------------------------------------------------------------------
Sun Oct 16 17:47:59 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-imageio
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define skip_python2 1
%bcond_with test_extras
Name: python-imageio
Version: 2.22.1
Version: 2.31.1
Release: 0
Summary: Python library for reading and writing image, video, and related formats
License: BSD-2-Clause
@@ -36,12 +36,12 @@ BuildRequires: python-rpm-macros
Requires: python-Pillow >= 8.3.2
Requires: python-numpy >= 1.20.0
Recommends: python-imageio-ffmpeg
Recommends: python-psutil
Suggests: python-astropy
Suggests: python-av
Suggests: python-tifffile
# not in openSUSE (yet)
Suggests: python-simpleitk
# alternative is not singlespec
Suggests: python3-itk
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
# GDAL is not (yet) singlespec
Suggests: python3-GDAL
@@ -51,15 +51,15 @@ Requires(postun):update-alternatives
Recommends: libfreeimageplus3
# SECTION test requirements
BuildRequires: %{python_module fsspec}
BuildRequires: %{python_module imageio-ffmpeg}
BuildRequires: %{python_module pytest}
BuildRequires: libglvnd-devel
%if %{with test_extras}
BuildRequires: %{python_module astropy}
BuildRequires: %{python_module imageio-ffmpeg}
BuildRequires: %{python_module av}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module tifffile}
BuildRequires: python3-GDAL
# python3-itk does not work on 32-bit, don't bother testing that
%endif
# /SECTION
BuildArch: noarch
@@ -93,7 +93,7 @@ export IMAGEIO_NO_INTERNET=1
%check
export IMAGEIO_NO_INTERNET=1
# plain openSUSE does not have the right codecs to test this ffmpeg
donttest="test_ffmpeg"
donttest="test_ffmpeg or test_bayer_write"
# unmarked online tests
donttest="$donttest or test_freeimage"
%pytest -ra -k "not ($donttest)" -m "not needs_internet"