Hello community, here is the log from the commit of package python-imageio for openSUSE:Factory checked in at 2019-03-26 15:44:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-imageio (Old) and /work/SRC/openSUSE:Factory/.python-imageio.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-imageio" Tue Mar 26 15:44:06 2019 rev:5 rq:688136 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-imageio/python-imageio.changes 2018-12-24 11:38:21.365613752 +0100 +++ /work/SRC/openSUSE:Factory/.python-imageio.new.25356/python-imageio.changes 2019-03-26 15:44:24.512150786 +0100 @@ -1,0 +2,9 @@ +Mon Mar 4 06:52:01 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Remove bcond preventing tests from running, use IMAGEIO_NO_INTERNET + to activate tests which can run without the internet, and skip + currently failing tests on Python 2 and 3 +- Remove unused test dependency nose +- Recommend Pillow as it is a mandatory dependency of the test suite + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-imageio.spec ++++++ --- /var/tmp/diff_new_pack.hoeKb6/_old 2019-03-26 15:44:25.296149867 +0100 +++ /var/tmp/diff_new_pack.hoeKb6/_new 2019-03-26 15:44:25.296149867 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-imageio # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Tests don't work without internet -%bcond_with tests Name: python-imageio Version: 2.3.0 Release: 0 @@ -28,20 +26,20 @@ URL: http://imageio.github.io/ Source0: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz Source1: python-imageio-rpmlintrc -BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: ffmpeg -BuildRequires: freeimage-devel BuildRequires: python-rpm-macros Requires: ffmpeg Requires: python-numpy +Recommends: python-Pillow Recommends: libfreeimageplus3 BuildArch: noarch -%if %{with tests} -BuildRequires: %{python_module nose} +# There are many other optional dependencies, but they are skipped anyway +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} -%endif +BuildRequires: python-enum34 %python_subpackages %description @@ -67,14 +65,16 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check pushd tests -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -py.test-%{$python_bin_suffix} -} -popd +export IMAGEIO_NO_INTERNET=1 +PYTHONPATH=%{buildroot}%{python2_sitelib} python2 -m pytest -k 'not test_fei_file_fail' +%if %{python3_version_nodots} == 37 +PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m pytest -k 'not test_series_unclosed and not test_import_dependencies' +%else +PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m pytest -k 'not test_import_dependencies' %endif +popd %files %{python_files} %license LICENSE