Hello community,

here is the log from the commit of package python-chai for openSUSE:Leap:15.2 
checked in at 2020-03-27 16:48:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-chai (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-chai.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-chai"

Fri Mar 27 16:48:39 2020 rev:12 rq:789055 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-chai/python-chai.changes        
2020-03-09 18:03:34.244764056 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-chai.new.3160/python-chai.changes      
2020-03-27 16:48:40.815952928 +0100
@@ -1,0 +2,8 @@
+Thu Mar 26 09:20:19 UTC 2020 - Paolo Stivanin <[email protected]>
+
+- Add 0001-Fix-tests.patch
+  * remove deprecation warnings
+  * fix files name under tests folder, so that they can be executed
+    with unittest
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-tests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-chai.spec ++++++
--- /var/tmp/diff_new_pack.En36Pa/_old  2020-03-27 16:48:41.127953111 +0100
+++ /var/tmp/diff_new_pack.En36Pa/_new  2020-03-27 16:48:41.131953113 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-chai
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -24,7 +24,9 @@
 License:        BSD-3-Clause
 URL:            https://github.com/agoragames/chai
 Source:         
https://files.pythonhosted.org/packages/source/c/chai/chai-%{version}.tar.gz
-BuildRequires:  %{python_module nose}
+# https://github.com/agoragames/chai/pull/37
+Patch0:         0001-Fix-tests.patch
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -37,6 +39,7 @@
 %prep
 %setup -q -n chai-%{version}
 rm -rf chai.egg-info
+%patch0 -p1
 
 %build
 %python_build
@@ -46,7 +49,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec %{_bindir}/nosetests
+%python_exec -m unittest discover -s tests/ -v
 
 %files %{python_files}
 %license LICENSE.txt

++++++ 0001-Fix-tests.patch ++++++
++++ 1119 lines (skipped)


Reply via email to