Hello community, here is the log from the commit of package python-lazr.config for openSUSE:Factory checked in at 2020-07-05 01:20:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lazr.config (Old) and /work/SRC/openSUSE:Factory/.python-lazr.config.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lazr.config" Sun Jul 5 01:20:04 2020 rev:3 rq:818561 version:2.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lazr.config/python-lazr.config.changes 2020-04-15 19:56:46.837676156 +0200 +++ /work/SRC/openSUSE:Factory/.python-lazr.config.new.3060/python-lazr.config.changes 2020-07-05 01:21:42.117646019 +0200 @@ -1,0 +2,5 @@ +Thu Jul 2 12:57:31 UTC 2020 - [email protected] + +- switch from nose to pytest + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lazr.config.spec ++++++ --- /var/tmp/diff_new_pack.1BaD7h/_old 2020-07-05 01:21:44.293652338 +0200 +++ /var/tmp/diff_new_pack.1BaD7h/_new 2020-07-05 01:21:44.293652338 +0200 @@ -33,7 +33,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module lazr.delegates} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module zope.interface} # /SECTION %python_subpackages @@ -52,7 +52,18 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand nosetests-%{$python_bin_suffix} -P lazr +# use pytest, reported to [email protected] on 2020-06-03 +cat << EOF > pytest.ini +[pytest] +addopts = --doctest-glob='*.rst' +doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE +testpaths = src/lazr +EOF +export PYTHONPATH=src +# test_not_stackable fails otherwise (with nose it did not run at all) +# needs to be investigated more +sed -i 's:verifyObject, IStackableConfig, config.extends::' src/lazr/config/tests/test_config.py +%pytest %files %{python_files} %doc README.rst
