Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-colormap for openSUSE:Factory checked in at 2021-02-22 14:40:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-colormap (Old) and /work/SRC/openSUSE:Factory/.python-colormap.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-colormap" Mon Feb 22 14:40:19 2021 rev:5 rq:874195 version:1.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-colormap/python-colormap.changes 2020-03-16 10:20:13.359633287 +0100 +++ /work/SRC/openSUSE:Factory/.python-colormap.new.2378/python-colormap.changes 2021-02-22 14:40:23.960620253 +0100 @@ -1,0 +2,7 @@ +Sun Feb 21 18:54:36 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Skip python36 build: No python36-matplotlib in Tumbleweed + (NumPy 1.20, NEP 29) +- Enable the tests, but don't depend on coverage or nose + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-colormap.spec ++++++ --- /var/tmp/diff_new_pack.JFNcDK/_old 2021-02-22 14:40:24.616620980 +0100 +++ /var/tmp/diff_new_pack.JFNcDK/_new 2021-02-22 14:40:24.620620985 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-colormap # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python36 1 Name: python-colormap Version: 1.0.3 Release: 0 @@ -32,11 +33,10 @@ Requires: python-matplotlib BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module coverage} BuildRequires: %{python_module easydev} BuildRequires: %{python_module matplotlib} -BuildRequires: %{python_module nose-cov} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -49,6 +49,10 @@ %prep %setup -q -n colormap-%{version} +# We don't want the pytest addopts for coverage. Nothing relevant in there +rm setup.cfg +# matplotlib depends on numpy anyway, use that as replacement for easydev.easytest using nose +sed -i 's/from easydev.easytest import assert_list_almost_equal/from numpy.testing import assert_almost_equal as assert_list_almost_equal/' test/test_colors.py %build %python_build @@ -57,6 +61,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE