Hello community,
here is the log from the commit of package python-pyroute2 for openSUSE:Factory
checked in at 2020-07-03 00:15:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyroute2 (Old)
and /work/SRC/openSUSE:Factory/.python-pyroute2.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyroute2"
Fri Jul 3 00:15:23 2020 rev:20 rq:818349 version:0.5.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyroute2/python-pyroute2.changes
2020-06-10 00:45:59.698571150 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyroute2.new.3060/python-pyroute2.changes
2020-07-03 00:18:27.181267602 +0200
@@ -1,0 +2,5 @@
+Thu Jul 2 13:39:28 UTC 2020 - [email protected]
+
+- test package with pytest, drop unused nose dependency
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyroute2.spec ++++++
--- /var/tmp/diff_new_pack.zk7fde/_old 2020-07-03 00:18:28.109270680 +0200
+++ /var/tmp/diff_new_pack.zk7fde/_new 2020-07-03 00:18:28.113270693 +0200
@@ -24,7 +24,7 @@
License: GPL-2.0-or-later OR Apache-2.0
URL: https://github.com/svinota/pyroute2
Source:
https://files.pythonhosted.org/packages/source/p/pyroute2/pyroute2-%{version}.tar.gz
-BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -63,8 +63,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# tests require root access
-#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
nosetests-%{$python_bin_suffix} -v
+%pytest
%post
%python_install_alternative pyroute2-cli