Hello community,

here is the log from the commit of package python-testflo for openSUSE:Factory 
checked in at 2020-07-26 16:19:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testflo (Old)
 and      /work/SRC/openSUSE:Factory/.python-testflo.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-testflo"

Sun Jul 26 16:19:14 2020 rev:6 rq:822659 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-testflo/python-testflo.changes    
2020-03-11 18:56:15.783699474 +0100
+++ /work/SRC/openSUSE:Factory/.python-testflo.new.3592/python-testflo.changes  
2020-07-26 16:19:53.256838791 +0200
@@ -1,0 +2,8 @@
+Fri Jul 24 12:21:37 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com>
+
+- Update to 1.4.2
+  * support Python 3.6, 3.7 and 3.8
+  * added option to exclude test function
+  * dropped RELEASE_NOTES.txt -- there is no upstream changelog by now
+
+-------------------------------------------------------------------

Old:
----
  testflo-1.4.1.tar.gz

New:
----
  testflo-1.4.2.tar.gz

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

Other differences:
------------------
++++++ python-testflo.spec ++++++
--- /var/tmp/diff_new_pack.CtofPb/_old  2020-07-26 16:19:54.468839924 +0200
+++ /var/tmp/diff_new_pack.CtofPb/_new  2020-07-26 16:19:54.468839924 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-testflo
-Version:        1.4.1
+Version:        1.4.2
 Release:        0
 Summary:        A flow-based testing framework
 License:        Apache-2.0
@@ -74,7 +74,7 @@
 
 %files %{python_files}
 %license LICENSE.txt
-%doc README.md RELEASE_NOTES.txt
+%doc README.md
 %python_alternative %{_bindir}/testflo
 %{python_sitelib}/*
 

++++++ testflo-1.4.1.tar.gz -> testflo-1.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/PKG-INFO new/testflo-1.4.2/PKG-INFO
--- old/testflo-1.4.1/PKG-INFO  2020-02-28 19:44:32.330716800 +0100
+++ new/testflo-1.4.2/PKG-INFO  2020-06-10 18:17:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: testflo
-Version: 1.4.1
+Version: 1.4.2
 Summary: A simple flow-based testing framework
 Home-page: UNKNOWN
 Author: UNKNOWN
@@ -75,4 +75,7 @@
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Operating System :: Microsoft :: Windows
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/RELEASE_NOTES.txt 
new/testflo-1.4.2/RELEASE_NOTES.txt
--- old/testflo-1.4.1/RELEASE_NOTES.txt 2020-02-13 17:42:08.000000000 +0100
+++ new/testflo-1.4.2/RELEASE_NOTES.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,50 +0,0 @@
-testflo version 1.3.6 Release Notes
-Feb 13, 2020
-
-* add option to show skipped tests (even if not verbose)
-
-testflo version 1.3.5 Release Notes
-Jan 6, 2020
-
-* use setuptools
-* filter out expected fails from failtests.in
-* added msg when there are out-of-sync collective MPI calls
-* require coverage <5.0
-
-testflo version 1.3.4 Release Notes
-Dec 6, 2018
-
-* bug fix
-
-testflo version 1.3.3 Release Notes
-Dec 3, 2018
-
-* bug fix
-
-testflo version 1.3.2 Release Notes
-Nov 17, 2018
-
-Features:
-* added support for ISOLATED attribute
-
-testflo version 1.3.1 Release Notes
-Aug 17, 2018
-
-Updates:
-* output from --pre_announce now looks better, with the result ('.', 'S', or 
'F') showing on the same line as the
-    "about to run ..." instead of on the following line
-* comments are now allowed inside of a test list file
-* added a --full_path option so that full testspec paths will be displayed. 
Having the full path make it easier to
-    copy and paste the testspec to run testflo on just that single test.
-* updated the long_description in setup.py for pypi.
-
-testflo version 1.1 Release Notes
-September 27, 2016
-
-Features:
-* supports setUpModule/tearDownModule
-* supports setUpClass/tearDownClass
-* supports expected failures
-* supports unittest.skip class decorator
-* added --compact option to print only single character test results without
-  showing error or skip messages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/setup.py new/testflo-1.4.2/setup.py
--- old/testflo-1.4.1/setup.py  2020-02-28 14:43:11.000000000 +0100
+++ new/testflo-1.4.2/setup.py  2020-06-10 17:14:57.000000000 +0200
@@ -79,6 +79,9 @@
           'Operating System :: POSIX :: Linux',
           'Operating System :: Microsoft :: Windows',
           'Programming Language :: Python :: 3.5',
+          'Programming Language :: Python :: 3.6',
+          'Programming Language :: Python :: 3.7',
+          'Programming Language :: Python :: 3.8',
           'Programming Language :: Python :: Implementation :: CPython',
       ],
       license='Apache 2.0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/testflo/__init__.py 
new/testflo-1.4.2/testflo/__init__.py
--- old/testflo-1.4.1/testflo/__init__.py       2020-02-28 19:42:36.000000000 
+0100
+++ new/testflo-1.4.2/testflo/__init__.py       2020-06-10 18:14:32.000000000 
+0200
@@ -1 +1 @@
-__version__ = '1.4.1'
+__version__ = '1.4.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/testflo/discover.py 
new/testflo-1.4.2/testflo/discover.py
--- old/testflo-1.4.1/testflo/discover.py       2020-02-28 14:43:11.000000000 
+0100
+++ new/testflo-1.4.2/testflo/discover.py       2020-06-10 17:14:57.000000000 
+0200
@@ -159,7 +159,7 @@
         tcname = ':'.join((fname, testcase.__name__))
         for name, method in getmembers(testcase, ismethod):
             if self.func_match(name):
-                yield Test('.'.join((tcname, method.__name__)), self.options)
+                yield Test('.'.join((tcname, name)), self.options)
 
     def _testspec_iter(self, testspec):
         """Returns an iterator of Test objects found in the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/testflo/main.py 
new/testflo-1.4.2/testflo/main.py
--- old/testflo-1.4.1/testflo/main.py   2020-02-28 14:43:11.000000000 +0100
+++ new/testflo-1.4.2/testflo/main.py   2020-06-10 17:14:57.000000000 +0200
@@ -48,17 +48,17 @@
 
 
 def dryrun(input_iter):
-    """Iterator added to the pipeline when user only wants
-    a dry run, listing all of the discovered tests but not
-    actually running them.
+    """Iterator added to the pipeline when user only wants a dry run, listing 
specs for all of the
+    discovered tests but not actually running them.
     """
     for tests in input_iter:
         for test in tests:
             if test.status is None:
                 test.status = 'OK'
-            print(test)
+            print(test.spec)
             yield test
 
+
 def run_pipeline(source, pipe):
     """Run a pipeline of test iteration objects."""
 
@@ -140,9 +140,14 @@
         options.test_glob = ['test*']
 
     def func_matcher(funcname):
+        for pattern in options.excludes:
+            if fnmatchcase(funcname, pattern):
+                return False
+
         for pattern in options.test_glob:
             if fnmatchcase(funcname, pattern):
                 return True
+
         return False
 
     if options.benchmark:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/testflo/util.py 
new/testflo-1.4.2/testflo/util.py
--- old/testflo-1.4.1/testflo/util.py   2020-02-28 14:43:11.000000000 +0100
+++ new/testflo-1.4.2/testflo/util.py   2020-06-10 17:14:57.000000000 +0200
@@ -106,6 +106,9 @@
                         help='Pattern to use for test discovery. Multiple 
patterns are allowed.',
                         default=[])
 
+    parser.add_argument('--exclude', action='append', dest='excludes', 
metavar='GLOB', default=[],
+                        help="Pattern to exclude test functions. Multiple 
patterns are allowed.")
+
     parser.add_argument('--timeout', action='store', dest='timeout', 
type=float,
                         help='Timeout in seconds. Test will be terminated if 
it takes longer than timeout. Only'
                              ' works for tests running in a subprocess (MPI 
and isolated).')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/testflo.egg-info/PKG-INFO 
new/testflo-1.4.2/testflo.egg-info/PKG-INFO
--- old/testflo-1.4.1/testflo.egg-info/PKG-INFO 2020-02-28 19:44:32.000000000 
+0100
+++ new/testflo-1.4.2/testflo.egg-info/PKG-INFO 2020-06-10 18:17:37.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: testflo
-Version: 1.4.1
+Version: 1.4.2
 Summary: A simple flow-based testing framework
 Home-page: UNKNOWN
 Author: UNKNOWN
@@ -75,4 +75,7 @@
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Operating System :: Microsoft :: Windows
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/testflo-1.4.1/testflo.egg-info/SOURCES.txt 
new/testflo-1.4.2/testflo.egg-info/SOURCES.txt
--- old/testflo-1.4.1/testflo.egg-info/SOURCES.txt      2020-02-28 
19:44:32.000000000 +0100
+++ new/testflo-1.4.2/testflo.egg-info/SOURCES.txt      2020-06-10 
18:17:37.000000000 +0200
@@ -2,7 +2,6 @@
 LICENSE.txt
 MANIFEST.in
 README.md
-RELEASE_NOTES.txt
 setup.cfg
 setup.py
 testflo/__init__.py


Reply via email to