Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-stestr for openSUSE:Factory 
checked in at 2021-10-30 23:13:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-stestr (Old)
 and      /work/SRC/openSUSE:Factory/.python-stestr.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-stestr"

Sat Oct 30 23:13:03 2021 rev:19 rq:927140 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-stestr/python-stestr.changes      
2021-07-10 22:53:38.784154980 +0200
+++ /work/SRC/openSUSE:Factory/.python-stestr.new.1890/python-stestr.changes    
2021-10-30 23:13:04.383023432 +0200
@@ -1,0 +2,7 @@
+Sat Oct 16 20:23:53 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 3.2.1:
+  * Fixed the detection of test worker failures before reporting final
+    result status  
+
+-------------------------------------------------------------------

Old:
----
  stestr-3.2.0.tar.gz

New:
----
  stestr-3.2.1.tar.gz

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

Other differences:
------------------
++++++ python-stestr.spec ++++++
--- /var/tmp/diff_new_pack.vi3B1D/_old  2021-10-30 23:13:04.851023808 +0200
+++ /var/tmp/diff_new_pack.vi3B1D/_new  2021-10-30 23:13:04.851023808 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-stestr%{psuffix}
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -17,8 +17,6 @@
 
 
 %{?!python_module:%define python_module() python3-%{**}}
-# depending on openstack packages: stay on primary python interpreter only
-%define pythons python3
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define psuffix -%{flavor}
@@ -28,7 +26,7 @@
 %bcond_with test
 %endif
 Name:           python-stestr%{psuffix}
-Version:        3.2.0
+Version:        3.2.1
 Release:        0
 Summary:        A test runner runner similar to testrepository
 License:        Apache-2.0
@@ -39,9 +37,7 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-dbm
 Requires:       python-PyYAML >= 3.10.0
-Requires:       python-cliff >= 2.8.0
 Requires:       python-fixtures >= 3.0.0
 Requires:       python-future
 Requires:       python-pbr >= 2.0.0
@@ -55,7 +51,6 @@
 %if %{with test}
 BuildRequires:  %{python_module PyYAML >= 3.10.0}
 BuildRequires:  %{python_module SQLAlchemy}
-BuildRequires:  %{python_module cliff >= 2.8.0}
 BuildRequires:  %{python_module coverage >= 4.0}
 BuildRequires:  %{python_module ddt >= 1.0.1}
 BuildRequires:  %{python_module fixtures >= 3.0.0}
@@ -70,6 +65,7 @@
 %endif
 %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
 Requires:       python-dbm
+Requires:       python3-cliff
 %endif
 %if !0%{?_no_weakdeps}
 Recommends:     python-SQLAlchemy
@@ -93,7 +89,7 @@
 %if %{with test}
 %check
 export LC_ALL="en_US.UTF8"
-%pytest stestr/tests -k 'not test_empty_with_pretty_out'
+python3 -m pytest stestr/tests -k 'not test_empty_with_pretty_out'
 %endif
 
 %if ! %{with test}

++++++ stestr-3.2.0.tar.gz -> stestr-3.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/AUTHORS new/stestr-3.2.1/AUTHORS
--- old/stestr-3.2.0/AUTHORS    2021-04-21 19:45:13.000000000 +0200
+++ new/stestr-3.2.1/AUTHORS    2021-09-22 00:04:52.000000000 +0200
@@ -1 +1 @@
-Matthew Treinish <mtrein...@kortar.org>
+Masayuki Igawa <masay...@igawa.io>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/ChangeLog new/stestr-3.2.1/ChangeLog
--- old/stestr-3.2.0/ChangeLog  2021-04-21 19:45:13.000000000 +0200
+++ new/stestr-3.2.1/ChangeLog  2021-09-22 00:04:52.000000000 +0200
@@ -1,6 +1,6 @@
 CHANGES
 =======
 
-3.2.0
+3.2.1
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/PKG-INFO new/stestr-3.2.1/PKG-INFO
--- old/stestr-3.2.0/PKG-INFO   2021-04-21 19:45:14.084294000 +0200
+++ new/stestr-3.2.1/PKG-INFO   2021-09-22 00:04:53.311973300 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: stestr
-Version: 3.2.0
+Version: 3.2.1
 Summary: A parallel Python test runner built around subunit
 Home-page: http://stestr.readthedocs.io/en/latest/
 Author: Matthew Treinish
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/stestr/subunit_trace.py 
new/stestr-3.2.1/stestr/subunit_trace.py
--- old/stestr-3.2.0/stestr/subunit_trace.py    2021-04-21 19:45:04.000000000 
+0200
+++ new/stestr-3.2.1/stestr/subunit_trace.py    2021-09-22 00:04:41.000000000 
+0200
@@ -426,8 +426,8 @@
         print("\nNo tests were successful during the run", file=sys.stderr)
         return 1
     in_progress = get_stuck_in_progress()
-    if count_tests('status', '^inprogress$') > 0:
-        print("\nThe following tests exited without returning a status \n"
+    if in_progress:
+        print("\nThe following tests exited without returning a status\n"
               "and likely segfaulted or crashed Python:", file=sys.stderr)
         for test in in_progress:
             print("\n\t* %s" % test, file=sys.stderr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/stestr/tests/test_subunit_trace.py 
new/stestr-3.2.1/stestr/tests/test_subunit_trace.py
--- old/stestr-3.2.0/stestr/tests/test_subunit_trace.py 2021-04-21 
19:45:04.000000000 +0200
+++ new/stestr-3.2.1/stestr/tests/test_subunit_trace.py 2021-09-22 
00:04:41.000000000 +0200
@@ -122,6 +122,23 @@
                       timestamp=dt.now(UTC))
         stream.stopTestRun()
         output.seek(0)
+        # capture stderr for test
+        stderr = io.StringIO()
+        sys_err = sys.stderr
+        sys.stderr = stderr
+
+        def restore_stderr():
+            sys.stderr = sys_err
+
+        self.addCleanup(restore_stderr)
         stdin = io.TextIOWrapper(io.BufferedReader(output))
         returncode = subunit_trace.trace(stdin, sys.stdout)
         self.assertEqual(1, returncode)
+        stderr.seek(0)
+        expected = """
+The following tests exited without returning a status
+and likely segfaulted or crashed Python:
+
+\t* test_segfault
+"""
+        self.assertEqual(stderr.read(), expected)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/stestr.egg-info/PKG-INFO 
new/stestr-3.2.1/stestr.egg-info/PKG-INFO
--- old/stestr-3.2.0/stestr.egg-info/PKG-INFO   2021-04-21 19:45:13.000000000 
+0200
+++ new/stestr-3.2.1/stestr.egg-info/PKG-INFO   2021-09-22 00:04:52.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: stestr
-Version: 3.2.0
+Version: 3.2.1
 Summary: A parallel Python test runner built around subunit
 Home-page: http://stestr.readthedocs.io/en/latest/
 Author: Matthew Treinish
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stestr-3.2.0/stestr.egg-info/pbr.json 
new/stestr-3.2.1/stestr.egg-info/pbr.json
--- old/stestr-3.2.0/stestr.egg-info/pbr.json   2021-04-21 19:45:13.000000000 
+0200
+++ new/stestr-3.2.1/stestr.egg-info/pbr.json   2021-09-22 00:04:52.000000000 
+0200
@@ -1 +1 @@
-{"git_version": "7d655e4", "is_release": false}
\ No newline at end of file
+{"git_version": "2889233", "is_release": false}
\ No newline at end of file

Reply via email to