hi Sandro,
I think I have fixed matplotlib in svn by applying the ubuntu patches.
It solves the ~9 rc bugs and a few other ones.
Unfortunately it can currently not be tested as python-tk is broken but
that should be fixed soon.
The package adds adt-tests which verify basic functionality, note the
wxagg-dbg test seems broken, regular wxagg test success so I we can live
with that for now.

Can you please upload the fix soon?

I did have some problems with deadlocks when building in a chroot but
not on the host.
I suspect it may be related to run/shm and the use of multiprocessing.
If you have the same issues please also apply attached patch.

Thanks
Julian
--- a/setupext.py
+++ b/setupext.py
@@ -1587,24 +1587,9 @@ class BackendGtk3Agg(OptionalBackendPack
         # This check needs to be performed out-of-process, because
         # importing gi and then importing regular old pygtk afterward
         # segfaults the interpreter.
-        try:
-            p = multiprocessing.Pool()
-        except:
-            return "unknown (can not use multiprocessing to determine)"
-        try:
-            success, msg = p.map(backend_gtk3agg_internal_check, [0])[0]
-        except:
-            success = False
-            msg = "Could not determine"
-        finally:
-            p.close()
-            p.join()
-        if success:
-            BackendAgg.force = True
+        BackendAgg.force = True
 
-            return msg
-        else:
-            raise CheckFailed(msg)
+        return "ok"
 
     def get_package_data(self):
         return {'matplotlib': ['mpl-data/*.glade']}
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to