Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-testflo for openSUSE:Factory 
checked in at 2024-01-03 12:24:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testflo (Old)
 and      /work/SRC/openSUSE:Factory/.python-testflo.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-testflo"

Wed Jan  3 12:24:14 2024 rev:11 rq:1136318 version:1.4.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-testflo/python-testflo.changes    
2023-12-13 18:36:29.289786536 +0100
+++ /work/SRC/openSUSE:Factory/.python-testflo.new.28375/python-testflo.changes 
2024-01-03 12:24:19.246014512 +0100
@@ -1,0 +2,6 @@
+Fri Dec 29 09:44:57 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 1.4.15:
+  * handle python 3.12.1 change to skip behavior
+
+-------------------------------------------------------------------

Old:
----
  testflo-1.4.14.tar.gz

New:
----
  testflo-1.4.15.tar.gz

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

Other differences:
------------------
++++++ python-testflo.spec ++++++
--- /var/tmp/diff_new_pack.tzd1JO/_old  2024-01-03 12:24:20.734068881 +0100
+++ /var/tmp/diff_new_pack.tzd1JO/_new  2024-01-03 12:24:20.734068881 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-testflo
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,18 @@
 #
 
 
-%define skip_python36 1
+%{?sle15_python_module_pythons}
 Name:           python-testflo
-Version:        1.4.14
+Version:        1.4.15
 Release:        0
 Summary:        A flow-based testing framework
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/OpenMDAO/testflo
 Source:         
https://files.pythonhosted.org/packages/source/t/testflo/testflo-%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
@@ -53,10 +55,10 @@
 %setup -q -n testflo-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/testflo
 
@@ -75,5 +77,5 @@
 %doc README.md
 %python_alternative %{_bindir}/testflo
 %{python_sitelib}/testflo
-%{python_sitelib}/testflo-*.egg-info
+%{python_sitelib}/testflo-%{version}.dist-info
 

++++++ testflo-1.4.14.tar.gz -> testflo-1.4.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.14/PKG-INFO new/testflo-1.4.15/PKG-INFO
--- old/testflo-1.4.14/PKG-INFO 2023-11-13 17:21:00.157166200 +0100
+++ new/testflo-1.4.15/PKG-INFO 2023-12-28 19:25:25.970558400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: testflo
-Version: 1.4.14
+Version: 1.4.15
 Summary: A simple flow-based testing framework
 License: Apache 2.0
 Classifier: Development Status :: 4 - Beta
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.14/testflo/__init__.py 
new/testflo-1.4.15/testflo/__init__.py
--- old/testflo-1.4.14/testflo/__init__.py      2023-11-13 17:19:24.000000000 
+0100
+++ new/testflo-1.4.15/testflo/__init__.py      2023-12-28 19:24:57.000000000 
+0100
@@ -1 +1 @@
-__version__ = '1.4.14'
+__version__ = '1.4.15'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.14/testflo/utresult.py 
new/testflo-1.4.15/testflo/utresult.py
--- old/testflo-1.4.14/testflo/utresult.py      2023-10-23 21:57:00.000000000 
+0200
+++ new/testflo-1.4.15/testflo/utresult.py      2023-12-28 19:15:59.000000000 
+0100
@@ -76,7 +76,12 @@
 
     def addSkip(self, test, reason):
         """Called when a test is skipped."""
-        resdata = self._tests[test.id()]
+        # as of Python 3.12.1, startTest is not called before processing 
skips, so we
+        # add the test to our list without having called the super() startTest 
method
+        if test.id() not in self._tests:
+            resdata = self._tests[test.id()] = _ResultData(test)
+        else:
+            resdata = self._tests[test.id()]
         resdata.status = 'SKIP'
         resdata.error = reason
         super().addSkip(test, reason)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.14/testflo.egg-info/PKG-INFO 
new/testflo-1.4.15/testflo.egg-info/PKG-INFO
--- old/testflo-1.4.14/testflo.egg-info/PKG-INFO        2023-11-13 
17:21:00.000000000 +0100
+++ new/testflo-1.4.15/testflo.egg-info/PKG-INFO        2023-12-28 
19:25:25.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: testflo
-Version: 1.4.14
+Version: 1.4.15
 Summary: A simple flow-based testing framework
 License: Apache 2.0
 Classifier: Development Status :: 4 - Beta

Reply via email to