Hello community,

here is the log from the commit of package python-futures for openSUSE:Factory 
checked in at 2015-05-19 23:46:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-futures (Old)
 and      /work/SRC/openSUSE:Factory/.python-futures.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-futures"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-futures/python-futures.changes    
2015-05-10 10:46:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-futures.new/python-futures.changes       
2015-05-19 23:46:39.000000000 +0200
@@ -1,0 +2,11 @@
+Tue May 19 06:54:32 UTC 2015 - [email protected]
+
+- Enable and fix test suite (fix-testsuite.patch)
+
+-------------------------------------------------------------------
+Tue May 19 06:47:44 UTC 2015 - [email protected]
+
+- Update to 3.0.2:
+  * Made multiprocessing optional again on implementations other than just 
Jython
+
+-------------------------------------------------------------------

Old:
----
  futures-3.0.1.tar.gz

New:
----
  fix-testsuite.patch
  futures-3.0.2.tar.gz

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

Other differences:
------------------
++++++ python-futures.spec ++++++
--- /var/tmp/diff_new_pack.5CbV9K/_old  2015-05-19 23:46:40.000000000 +0200
+++ /var/tmp/diff_new_pack.5CbV9K/_new  2015-05-19 23:46:40.000000000 +0200
@@ -17,13 +17,15 @@
 
 
 Name:           python-futures
-Version:        3.0.1
+Version:        3.0.2
 Release:        0
 Summary:        Backport of the concurrent.futures package from Python 3.2
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 Url:            http://code.google.com/p/pythonfutures
 Source:         
http://pypi.python.org/packages/source/f/futures/futures-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE fix-testsuite.patch -- fix testsuite expectations
+Patch0:         fix-testsuite.patch
 BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -41,6 +43,7 @@
 
 %prep
 %setup -q -n futures-%{version}
+%patch0 -p1
 
 %build
 python setup.py build
@@ -48,8 +51,8 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-#%%check
-#python test_futures.py
+%check
+python test_futures.py
 
 %files
 %defattr(-,root,root,-)

++++++ fix-testsuite.patch ++++++
--- a/test_futures.py
+++ b/test_futures.py
@@ -575,19 +575,19 @@
 
     def test_repr(self):
         self.assertRegexpMatches(repr(PENDING_FUTURE),
-                                 '<Future at 0x[0-9a-f]+ state=pending>')
+                                 '<Future at 0x[0-9a-f]+L? state=pending>')
         self.assertRegexpMatches(repr(RUNNING_FUTURE),
-                                 '<Future at 0x[0-9a-f]+ state=running>')
+                                 '<Future at 0x[0-9a-f]+L? state=running>')
         self.assertRegexpMatches(repr(CANCELLED_FUTURE),
-                                 '<Future at 0x[0-9a-f]+ state=cancelled>')
+                                 '<Future at 0x[0-9a-f]+L? state=cancelled>')
         self.assertRegexpMatches(repr(CANCELLED_AND_NOTIFIED_FUTURE),
-                                 '<Future at 0x[0-9a-f]+ state=cancelled>')
+                                 '<Future at 0x[0-9a-f]+L? state=cancelled>')
         self.assertRegexpMatches(
                 repr(EXCEPTION_FUTURE),
-                '<Future at 0x[0-9a-f]+ state=finished raised IOError>')
+                '<Future at 0x[0-9a-f]+L? state=finished raised IOError>')
         self.assertRegexpMatches(
                 repr(SUCCESSFUL_FUTURE),
-                '<Future at 0x[0-9a-f]+ state=finished returned int>')
+                '<Future at 0x[0-9a-f]+L? state=finished returned int>')
 
     def test_cancel(self):
         f1 = create_future(state=PENDING)
++++++ futures-3.0.1.tar.gz -> futures-3.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/futures-3.0.1/CHANGES new/futures-3.0.2/CHANGES
--- old/futures-3.0.1/CHANGES   2015-05-03 08:28:16.000000000 +0200
+++ new/futures-3.0.2/CHANGES   2015-05-12 08:37:47.000000000 +0200
@@ -1,3 +1,9 @@
+3.0.2
+=====
+
+- Made multiprocessing optional again on implementations other than just Jython
+
+
 3.0.1
 =====
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/futures-3.0.1/PKG-INFO new/futures-3.0.2/PKG-INFO
--- old/futures-3.0.1/PKG-INFO  2015-05-03 08:32:05.000000000 +0200
+++ new/futures-3.0.2/PKG-INFO  2015-05-12 08:38:34.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: futures
-Version: 3.0.1
+Version: 3.0.2
 Summary: Backport of the concurrent.futures package from Python 3.2
 Home-page: https://github.com/agronholm/pythonfutures
 Author: Alex Gronholm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/futures-3.0.1/concurrent/futures/__init__.py 
new/futures-3.0.2/concurrent/futures/__init__.py
--- old/futures-3.0.1/concurrent/futures/__init__.py    2015-05-03 
07:24:12.000000000 +0200
+++ new/futures-3.0.2/concurrent/futures/__init__.py    2015-05-12 
08:35:09.000000000 +0200
@@ -15,11 +15,9 @@
                                       wait,
                                       as_completed)
 from concurrent.futures.thread import ThreadPoolExecutor
-import sys
 
 try:
     from concurrent.futures.process import ProcessPoolExecutor
 except ImportError:
-    # Jython doesn't have multiprocessing
-    if not sys.platform.startswith('java'):
-        raise
+    # some platforms don't have multiprocessing
+    pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/futures-3.0.1/futures.egg-info/PKG-INFO 
new/futures-3.0.2/futures.egg-info/PKG-INFO
--- old/futures-3.0.1/futures.egg-info/PKG-INFO 2015-05-03 08:32:05.000000000 
+0200
+++ new/futures-3.0.2/futures.egg-info/PKG-INFO 2015-05-12 08:38:34.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: futures
-Version: 3.0.1
+Version: 3.0.2
 Summary: Backport of the concurrent.futures package from Python 3.2
 Home-page: https://github.com/agronholm/pythonfutures
 Author: Alex Gronholm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/futures-3.0.1/setup.py new/futures-3.0.2/setup.py
--- old/futures-3.0.1/setup.py  2015-05-03 08:31:35.000000000 +0200
+++ new/futures-3.0.2/setup.py  2015-05-12 08:37:47.000000000 +0200
@@ -8,7 +8,7 @@
     from distutils.core import setup
 
 setup(name='futures',
-      version='3.0.1',
+      version='3.0.2',
       description='Backport of the concurrent.futures package from Python 3.2',
       author='Brian Quinlan',
       author_email='[email protected]',


Reply via email to