Hello community,

here is the log from the commit of package python-python-subunit for 
openSUSE:Factory checked in at 2014-12-30 00:50:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-subunit (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-subunit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-subunit"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-subunit/python-python-subunit.changes  
    2014-10-06 22:05:17.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-subunit.new/python-python-subunit.changes
 2014-12-30 00:51:06.000000000 +0100
@@ -1,0 +2,9 @@
+Mon Dec 29 16:49:46 UTC 2014 - [email protected]
+
+- Update to version 1.0.0
+  + Tests have been fixed with testtools 1.2.0 and above.
+  + With testtools 1.4.0 and above import errors are now
+   shown in detail by ``subunit.run``.
+- Fix build on Factory
+
+-------------------------------------------------------------------

Old:
----
  python-subunit-0.0.21.tar.gz

New:
----
  python-subunit-1.0.0.tar.gz

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

Other differences:
------------------
++++++ python-python-subunit.spec ++++++
--- /var/tmp/diff_new_pack.DKkvKi/_old  2014-12-30 00:51:09.000000000 +0100
+++ /var/tmp/diff_new_pack.DKkvKi/_new  2014-12-30 00:51:09.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-python-subunit
-Version:        0.0.21
+Version:        1.0.0
 Release:        0
 Summary:        Python implementation of subunit test streaming protocol
 License:        Apache-2.0 or BSD-3-Clause

++++++ python-subunit-0.0.21.tar.gz -> python-subunit-1.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/MANIFEST.in 
new/python-subunit-1.0.0/MANIFEST.in
--- old/python-subunit-0.0.21/MANIFEST.in       2012-12-17 09:21:20.000000000 
+0100
+++ new/python-subunit-1.0.0/MANIFEST.in        2014-08-31 21:24:05.000000000 
+0200
@@ -1,4 +1,4 @@
-exclude .bzrignore
+exclude .gitignore
 exclude aclocal.m4
 prune autom4te.cache
 prune c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/NEWS 
new/python-subunit-1.0.0/NEWS
--- old/python-subunit-0.0.21/NEWS      2014-08-27 03:32:38.000000000 +0200
+++ new/python-subunit-1.0.0/NEWS       2014-11-18 22:37:55.000000000 +0100
@@ -5,6 +5,21 @@
 NEXT (In development)
 ---------------------
 
+1.0.0
+-----
+
+BUGFIXES
+~~~~~~~~
+
+* Tests have been fixed with testtools 1.2.0 and above.
+  (Robert Collins)
+
+IMPROVEMENTS
+~~~~~~~~~~~~
+
+* With testtools 1.4.0 and above import errors are now
+  shown in detail by ``subunit.run``. (Robert Collins)
+
 0.0.21
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/PKG-INFO 
new/python-subunit-1.0.0/PKG-INFO
--- old/python-subunit-0.0.21/PKG-INFO  2014-08-27 03:33:40.000000000 +0200
+++ new/python-subunit-1.0.0/PKG-INFO   2014-11-18 22:40:31.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: python-subunit
-Version: 0.0.21
+Version: 1.0.0
 Summary: Python implementation of subunit test streaming protocol
 Home-page: http://launchpad.net/subunit
 Author: Robert Collins
@@ -472,7 +472,7 @@
         * Update versions in configure.ac and python/subunit/__init__.py.
         * Update NEWS.
         * Do a make distcheck, which will update Makefile etc.
-        * Do a PyPI release: PYTHONPATH=../../python python ../../setup.py 
sdist upload -s
+        * Do a PyPI release: PYTHONPATH=../../python python ../../setup.py 
sdist bdist_wheel upload -s
         * Upload the regular one to LP.
         * Push a tagged commit.
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/README 
new/python-subunit-1.0.0/README
--- old/python-subunit-0.0.21/README    2014-08-24 08:00:35.000000000 +0200
+++ new/python-subunit-1.0.0/README     2014-11-18 22:39:29.000000000 +0100
@@ -464,7 +464,7 @@
 * Update versions in configure.ac and python/subunit/__init__.py.
 * Update NEWS.
 * Do a make distcheck, which will update Makefile etc.
-* Do a PyPI release: PYTHONPATH=../../python python ../../setup.py sdist 
upload -s
+* Do a PyPI release: PYTHONPATH=../../python python ../../setup.py sdist 
bdist_wheel upload -s
 * Upload the regular one to LP.
 * Push a tagged commit.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/python/subunit/__init__.py 
new/python-subunit-1.0.0/python/subunit/__init__.py
--- old/python-subunit-0.0.21/python/subunit/__init__.py        2014-08-27 
03:31:40.000000000 +0200
+++ new/python-subunit-1.0.0/python/subunit/__init__.py 2014-11-18 
22:37:40.000000000 +0100
@@ -153,7 +153,7 @@
 # If the releaselevel is 'final', then the tarball will be major.minor.micro.
 # Otherwise it is major.minor.micro~$(revno).
 
-__version__ = (0, 0, 21, 'final', 0)
+__version__ = (1, 0, 0, 'final', 0)
 
 PROGRESS_SET = 0
 PROGRESS_CUR = 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/python/subunit/run.py 
new/python-subunit-1.0.0/python/subunit/run.py
--- old/python-subunit-0.0.21/python/subunit/run.py     2014-08-24 
07:18:12.000000000 +0200
+++ new/python-subunit-1.0.0/python/subunit/run.py      2014-11-18 
09:59:26.000000000 +0100
@@ -70,9 +70,13 @@
             result.stopTestRun()
         return result
 
-    def list(self, test):
+    def list(self, test, loader=None):
         "List the test."
         result, errors = self._list(test)
+        if loader is not None:
+            # We were called with the updated API by testtools.run, so look for
+            # errors on the loader, not the test list result.
+            errors = loader.errors
         if errors:
             failed_descr = '\n'.join(errors).encode('utf8')
             result.status(file_name="import errors", runnable=False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-subunit-0.0.21/python/subunit/tests/test_run.py 
new/python-subunit-1.0.0/python/subunit/tests/test_run.py
--- old/python-subunit-0.0.21/python/subunit/tests/test_run.py  2014-08-24 
07:27:32.000000000 +0200
+++ new/python-subunit-1.0.0/python/subunit/tests/test_run.py   2014-11-18 
09:59:26.000000000 +0100
@@ -65,6 +65,18 @@
         exc = self.assertRaises(SystemExit, runner.list, None)
         self.assertEqual((2,), exc.args)
 
+    def test_list_includes_loader_errors(self):
+        bytestream = io.BytesIO()
+        runner = SubunitTestRunner(stream=bytestream)
+        def list_test(test):
+            return [], []
+        class Loader(object):
+            errors = ['failed import']
+        loader = Loader()
+        self.patch(run, 'list_test', list_test)
+        exc = self.assertRaises(SystemExit, runner.list, None, loader=loader)
+        self.assertEqual((2,), exc.args)
+
     class FailingTest(TestCase):
         def test_fail(self):
             1/0
@@ -80,9 +92,14 @@
             self.fail("SystemExit raised")
         self.assertThat(bytestream.getvalue(), StartsWith(_b('\xb3')))
 
+    class ExitingTest(TestCase):
+        def test_exit(self):
+            raise SystemExit(0)
+
     def test_exits_nonzero_when_execution_errors(self):
         bytestream = io.BytesIO()
         stream = io.TextIOWrapper(bytestream, encoding="utf8")
-        exc = self.assertRaises(Exception, run.main,
-                argv=["progName", 
"subunit.tests.test_run.TestSubunitTestRunner.MissingTest"],
+        exc = self.assertRaises(SystemExit, run.main,
+                argv=["progName", 
"subunit.tests.test_run.TestSubunitTestRunner.ExitingTest"],
                 stdout=stream)
+        self.assertEqual(0, exc.args[0])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-subunit-0.0.21/python_subunit.egg-info/PKG-INFO 
new/python-subunit-1.0.0/python_subunit.egg-info/PKG-INFO
--- old/python-subunit-0.0.21/python_subunit.egg-info/PKG-INFO  2014-08-27 
03:33:40.000000000 +0200
+++ new/python-subunit-1.0.0/python_subunit.egg-info/PKG-INFO   2014-11-18 
22:40:31.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: python-subunit
-Version: 0.0.21
+Version: 1.0.0
 Summary: Python implementation of subunit test streaming protocol
 Home-page: http://launchpad.net/subunit
 Author: Robert Collins
@@ -472,7 +472,7 @@
         * Update versions in configure.ac and python/subunit/__init__.py.
         * Update NEWS.
         * Do a make distcheck, which will update Makefile etc.
-        * Do a PyPI release: PYTHONPATH=../../python python ../../setup.py 
sdist upload -s
+        * Do a PyPI release: PYTHONPATH=../../python python ../../setup.py 
sdist bdist_wheel upload -s
         * Upload the regular one to LP.
         * Push a tagged commit.
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-subunit-0.0.21/python_subunit.egg-info/SOURCES.txt 
new/python-subunit-1.0.0/python_subunit.egg-info/SOURCES.txt
--- old/python-subunit-0.0.21/python_subunit.egg-info/SOURCES.txt       
2014-08-27 03:33:40.000000000 +0200
+++ new/python-subunit-1.0.0/python_subunit.egg-info/SOURCES.txt        
2014-11-18 22:40:31.000000000 +0100
@@ -1,6 +1,7 @@
 MANIFEST.in
 NEWS
 README
+setup.cfg
 setup.py
 filters/subunit-1to2
 filters/subunit-2to1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-subunit-0.0.21/setup.cfg 
new/python-subunit-1.0.0/setup.cfg
--- old/python-subunit-0.0.21/setup.cfg 2014-08-27 03:33:40.000000000 +0200
+++ new/python-subunit-1.0.0/setup.cfg  2014-11-18 22:40:31.000000000 +0100
@@ -1,3 +1,6 @@
+[bdist_wheel]
+universal = 1
+
 [egg_info]
 tag_build = 
 tag_date = 0

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to