Hello community, here is the log from the commit of package python-zignal for openSUSE:Factory checked in at 2020-07-05 01:18:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zignal (Old) and /work/SRC/openSUSE:Factory/.python-zignal.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zignal" Sun Jul 5 01:18:11 2020 rev:4 rq:818497 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zignal/python-zignal.changes 2020-05-16 22:27:28.885414382 +0200 +++ /work/SRC/openSUSE:Factory/.python-zignal.new.3060/python-zignal.changes 2020-07-05 01:20:09.705367189 +0200 @@ -1,0 +2,5 @@ +Fri Jul 3 07:51:37 UTC 2020 - [email protected] + +- do not depend on nose, use %pytest + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zignal.spec ++++++ --- /var/tmp/diff_new_pack.57Vjoi/_old 2020-07-05 01:20:11.445372527 +0200 +++ /var/tmp/diff_new_pack.57Vjoi/_new 2020-07-05 01:20:11.449372538 +0200 @@ -38,8 +38,8 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module matplotlib} -BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module samplerate} BuildRequires: %{python_module scipy} # /SECTION @@ -60,8 +60,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# https://github.com/ronnyandersson/zignal/issues/9 +sed -i '/import nose/d' zignal/tests/*.py # https://github.com/ronnyandersson/zignal/issues/8 -%python_expand nosetests-%{$python_bin_suffix} -v zignal/tests -e 'test_set_duration_and_samples' +%pytest -k 'not test_set_duration_and_samples' %post %python_install_alternative zignal-listsndcards
