[SCM] Packaging for pytables branch, master, updated. debian/2.3.1-2-5-ga496452

Yaroslav Halchenko debian at onerussian.com
Tue Feb 14 23:32:19 UTC 2012


The following commit has been merged in the master branch:
commit a49645249a397fce5256d45b457f03a166d21fc5
Author: Yaroslav Halchenko <debian at onerussian.com>
Date:   Tue Feb 14 18:20:51 2012 -0500

    Patch up_skip_multiprocessing_test_on_gnu to disable test on Hurd and kFreeBSD systems -- multiprocessing locking seems to be N/A

diff --git a/debian/changelog b/debian/changelog
index d7a8ce2..d0312ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,14 @@
 pytables (2.3.1-3) unstable; urgency=low
 
+  [ Antonio Valentino ]
   * Set Vcs-* fields in the control file (Closes: 657766)
   * Enabled bzip2 and lzo compressors (Closes: #657789)
 
- -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 04 Feb 2012 11:09:35 +0100
+  [ Yaroslav Halchenko ]
+  * Patch up_skip_multiprocessing_test_on_gnu to disable test on Hurd and
+    kFreeBSD systems -- multiprocessing locking seems to be N/A
+
+ -- Yaroslav Halchenko <debian at onerussian.com>  Tue, 14 Feb 2012 18:20:06 -0500
 
 pytables (2.3.1-2) unstable; urgency=low
 
diff --git a/debian/patches/up_skip_multiprocessing_test_on_gnu b/debian/patches/up_skip_multiprocessing_test_on_gnu
new file mode 100644
index 0000000..59f3688
--- /dev/null
+++ b/debian/patches/up_skip_multiprocessing_test_on_gnu
@@ -0,0 +1,22 @@
+From: Yaroslav Halchenko <debian at onerussian.com>
+Subject: Skip the unittest on kFreeBSD and Hurd -- locking seems to be N/A
+
+  on kfreebsd /dev/shm is N/A
+  on Hurd -- inter-process semaphore locking is N/A
+
+Vendor: Debian
+
+--- a/tables/tests/test_basics.py
++++ b/tables/tests/test_basics.py
+@@ -2294,6 +2294,11 @@ def _worker(fn, qout = None):
+ class BloscSubprocess(common.PyTablesTestCase):
+     def test_multiprocess(self):
+         import multiprocessing as mp
++        import platform as pl
++
++        if pl.system().lower in ('gnu', 'gnu/kfreebsd'):
++            raise common.SkipTest(
++                "multiprocessing module is not supported on Hurd/kFreeBSD")
+ 
+         # Create a relatively large table with Blosc level 9 (large blocks)
+         fn = tempfile.mktemp(prefix="multiproc-blosc9-", suffix=".h5")

-- 
Packaging for pytables



More information about the debian-science-commits mailing list