Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cairocffi for openSUSE:Factory checked in at 2021-02-16 22:34:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old) and /work/SRC/openSUSE:Factory/.python-cairocffi.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cairocffi" Tue Feb 16 22:34:05 2021 rev:17 rq:872042 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes 2020-12-12 20:31:25.941793696 +0100 +++ /work/SRC/openSUSE:Factory/.python-cairocffi.new.28504/python-cairocffi.changes 2021-02-16 22:34:07.657467318 +0100 @@ -1,0 +2,6 @@ +Sat Feb 13 22:13:03 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Don't test the optional numpy support on python36 flavor, + because due to NEP 29, python36-numpy is removed from TW + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cairocffi.spec ++++++ --- /var/tmp/diff_new_pack.9Fi91K/_old 2021-02-16 22:34:08.165468015 +0100 +++ /var/tmp/diff_new_pack.9Fi91K/_new 2021-02-16 22:34:08.165468015 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cairocffi # -# 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 @@ -27,7 +27,6 @@ URL: https://github.com/Kozea/cairocffi Source: https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz BuildRequires: %{python_module cffi >= 1.1.0} -BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 39.2.0} BuildRequires: %{python_module xcffib >= 0.3.2} @@ -36,6 +35,7 @@ BuildRequires: fdupes BuildRequires: gdk-pixbuf BuildRequires: python-rpm-macros +BuildRequires: %{python_module numpy if (%python-base without python36-base)} Requires: cairo Requires: python Requires: python-cffi >= 1.1.0 @@ -80,7 +80,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%pytest --pyargs cairocffi +# Don't test with NumPy in the python36 flavor, because python36-numpy is not in TW anymore +python36_ignore="--ignore %{buildroot}%{python36_sitelib}/cairocffi/test_numpy.py" +%pytest --pyargs cairocffi ${$python_ignore} %files %{python_files} %license LICENSE