From 0a7b5dae717a11383d7c0326b2701737f377ebb8ff3f82b40452ea795593b92c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 25 Aug 2020 10:37:02 +0000 Subject: [PATCH] Accepting request 827063 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/827063 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=9 --- python-maxminddb.changes | 5 +++++ python-maxminddb.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-maxminddb.changes b/python-maxminddb.changes index dd989b2..524b899 100644 --- a/python-maxminddb.changes +++ b/python-maxminddb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 16 14:12:17 UTC 2020 - John Vandenberg + +- Replace nose with pytest + ------------------------------------------------------------------- Tue Jul 28 18:51:50 UTC 2020 - Sebastian Wagner diff --git a/python-maxminddb.spec b/python-maxminddb.spec index bf2e8ba..3344aae 100644 --- a/python-maxminddb.spec +++ b/python-maxminddb.spec @@ -35,7 +35,7 @@ BuildRequires: python-ipaddress %endif # SECTION test requirements BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -48,6 +48,7 @@ subnets (IPv4 or IPv6). %prep %setup -q -n maxminddb-%{version} +sed -i '/nose/d' setup.py %build export CFLAGS="%{optflags}" @@ -58,7 +59,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%pytest_arch %files %{python_files} %license LICENSE