Hello community,
here is the log from the commit of package python-parsimonious for
openSUSE:Factory checked in at 2020-04-21 13:12:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parsimonious (Old)
and /work/SRC/openSUSE:Factory/.python-parsimonious.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parsimonious"
Tue Apr 21 13:12:26 2020 rev:2 rq:795886 version:0.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-parsimonious/python-parsimonious.changes
2020-04-14 16:31:38.104120057 +0200
+++
/work/SRC/openSUSE:Factory/.python-parsimonious.new.2738/python-parsimonious.changes
2020-04-21 13:12:28.445028498 +0200
@@ -1,0 +2,7 @@
+Mon Apr 20 15:58:03 UTC 2020 - Matej Cepl <[email protected]>
+
+- Add replace-nose.patch which replaces use of nose with the
+ standard library (gh#erikrose/parsimonious#160)
+- Switch from using nose runner to pytest
+
+-------------------------------------------------------------------
New:
----
replace-nose.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-parsimonious.spec ++++++
--- /var/tmp/diff_new_pack.vDX98p/_old 2020-04-21 13:12:29.465030533 +0200
+++ /var/tmp/diff_new_pack.vDX98p/_new 2020-04-21 13:12:29.465030533 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-parsimonious
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,11 @@
Group: Development/Languages/Python
URL: https://github.com/erikrose/parsimonious
Source:
https://files.pythonhosted.org/packages/source/p/parsimonious/parsimonious-%{version}.tar.gz
-BuildRequires: %{python_module nose}
+# PATCH-FIX-UPSTREAM replace-nose.patch gh#erikrose/parsimonious#160
[email protected]
+# replace use of nose with the standard library
+Patch0: replace-nose.patch
+
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: fdupes
@@ -41,6 +45,7 @@
%prep
%setup -q -n parsimonious-%{version}
+%autopatch -p1
%build
%python_build
@@ -50,7 +55,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py nosetests
+%pytest
%files %{python_files}
%doc README.rst
++++++ replace-nose.patch ++++++
++++ 979 lines (skipped)