Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-parameterized for openSUSE:Factory checked in at 2022-08-23 14:25:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-parameterized (Old) and /work/SRC/openSUSE:Factory/.python-parameterized.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parameterized" Tue Aug 23 14:25:32 2022 rev:12 rq:998409 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-parameterized/python-parameterized.changes 2022-04-17 23:49:55.986314687 +0200 +++ /work/SRC/openSUSE:Factory/.python-parameterized.new.2083/python-parameterized.changes 2022-08-23 14:25:34.999085692 +0200 @@ -1,0 +2,7 @@ +Fri Aug 19 18:54:32 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Disable testing with nose2 + * nose2 is actively maintained, but not used much in the + distribution. No need to test it in Ring1. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-parameterized.spec ++++++ --- /var/tmp/diff_new_pack.gbGxgT/_old 2022-08-23 14:25:38.787094029 +0200 +++ /var/tmp/diff_new_pack.gbGxgT/_new 2022-08-23 14:25:38.795094046 +0200 @@ -16,6 +16,14 @@ # +%bcond_with ringdisabled +%if %{with ringdisabled} +# nose2 is actively maintained, but not used much in the distribution. No need to test it in ring1 +%bcond_with nose2 +%else +%bcond_without nose2 +%endif + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parameterized Version: 0.8.1 @@ -29,12 +37,13 @@ # PATCH-FIX-OPENSUSE remove_nose.patch mc...@suse.com # Remove nose dependency (patch is not very good, DO NOT SEND UPSTREAM!) Patch1: remove_nose.patch -BuildRequires: %{python_module nose2} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +%if %{with nose2} +BuildRequires: %{python_module nose2} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros -Suggests: python-nose2 BuildArch: noarch %python_subpackages @@ -56,7 +65,9 @@ # https://github.com/wolever/parameterized/issues/122 sed -i 's:import mock:from unittest import mock:' parameterized/test.py export LANG=en_US.UTF8 +%if %{with nose2} %{python_expand nose2-%$python_version -v -B --pretty-assert} +%endif %python_exec -m unittest parameterized.test # https://github.com/wolever/parameterized/issues/122 %pytest parameterized/test.py -k 'not (test_with_docstring_1_v_l_ or test_with_docstring_0_value1)' @@ -64,6 +75,7 @@ %files %{python_files} %doc CHANGELOG.txt README.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/parameterized +%{python_sitelib}/parameterized-%{version}*-info %changelog