Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package python-ws4py

I've just uploaded this package with a fix for a FTBFS on a 1 CPU machine.

The source debdiff between -3 and -4 is attached (some of the diffs are due to
git-dpm patch generation logic).

unblock python-ws4py/0.3.4-4

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-ws4py-0.3.4/debian/changelog 
python-ws4py-0.3.4/debian/changelog
--- python-ws4py-0.3.4/debian/changelog 2016-08-07 17:02:52.000000000 -0400
+++ python-ws4py-0.3.4/debian/changelog 2017-02-19 20:57:41.000000000 -0500
@@ -1,3 +1,14 @@
+python-ws4py (0.3.4-4) unstable; urgency=medium
+
+  [ Sandro Tosi ]
+  * Team upload.
+
+  [ Norimitsu Sugimoto ]
+  * fix to fail unittest test_manager.py on 1 core CPU machine.
+    (Closes: #834921)
+
+ -- Sandro Tosi <mo...@debian.org>  Sun, 19 Feb 2017 20:57:41 -0500
+
 python-ws4py (0.3.4-3) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru python-ws4py-0.3.4/debian/.git-dpm python-ws4py-0.3.4/debian/.git-dpm
--- python-ws4py-0.3.4/debian/.git-dpm  2016-08-07 16:56:14.000000000 -0400
+++ python-ws4py-0.3.4/debian/.git-dpm  2017-02-19 20:57:41.000000000 -0500
@@ -1,6 +1,6 @@
 # see git-dpm(1) from git-dpm package
-750981d4c6165b945def438b4dd790c3326d03de
-750981d4c6165b945def438b4dd790c3326d03de
+13ac903999b5f3472de0794d710e88d31793c436
+13ac903999b5f3472de0794d710e88d31793c436
 7f43f2a6bff1aabafad023652042439d7b9b8d84
 7f43f2a6bff1aabafad023652042439d7b9b8d84
 python-ws4py_0.3.4.orig.tar.gz
diff -Nru python-ws4py-0.3.4/debian/patches/0001-Fix-tests.patch 
python-ws4py-0.3.4/debian/patches/0001-Fix-tests.patch
--- python-ws4py-0.3.4/debian/patches/0001-Fix-tests.patch      2016-08-07 
16:56:14.000000000 -0400
+++ python-ws4py-0.3.4/debian/patches/0001-Fix-tests.patch      2017-02-19 
20:57:41.000000000 -0500
@@ -1,4 +1,4 @@
-From a7d5ce7c1e8d39c2e68eeb6ef5bab72b3981dc37 Mon Sep 17 00:00:00 2001
+From 3722f5ece7e22ed67a84bfaae464853a146d2eb4 Mon Sep 17 00:00:00 2001
 From: Stein Magnus Jodal <jo...@debian.org>
 Date: Thu, 5 Nov 2015 15:46:08 +0100
 Subject: Fix tests
@@ -6,12 +6,14 @@
 Based on upstream commits:
 - b5d47f7b3497f1b713a20fe6306b7d9afdd8c408
 - b2a76a33960040d7d3d27c68bf17c12f169f81c7
+
+fix unittest failing on 1 CPU machines
 ---
- test/test_manager.py | 13 +++++++------
- 1 file changed, 7 insertions(+), 6 deletions(-)
+ test/test_manager.py | 14 ++++++++------
+ 1 file changed, 8 insertions(+), 6 deletions(-)
 
 diff --git a/test/test_manager.py b/test/test_manager.py
-index 8c229b0..da57d44 100644
+index 8c229b0..fceb77d 100644
 --- a/test/test_manager.py
 +++ b/test/test_manager.py
 @@ -16,10 +16,10 @@ class WSManagerTest(unittest.TestCase):
@@ -36,7 +38,15 @@
          m.poller.reset_mock()
          
          m.remove(ws)
-@@ -97,8 +97,9 @@ class WSManagerTest(unittest.TestCase):
+@@ -62,6 +62,7 @@ class WSManagerTest(unittest.TestCase):
+         self.assertFalse(m.running)
+         
+         m.start()
++        time.sleep(0.2)
+         self.assertTrue(m.running)
+ 
+         m.stop()
+@@ -97,8 +98,9 @@ class WSManagerTest(unittest.TestCase):
          
          m.add(ws)
          m.start()
@@ -47,7 +57,7 @@
          
          m.stop()
      
-@@ -109,7 +110,7 @@ class WSManagerTest(unittest.TestCase):
+@@ -109,7 +111,7 @@ class WSManagerTest(unittest.TestCase):
          ws = MagicMock()
          m.add(ws)
          m.close_all()
@@ -56,7 +66,7 @@
          
      @patch('ws4py.manager.SelectPoller')
      def test_broadcast(self, MockSelectPoller):
-@@ -120,7 +121,7 @@ class WSManagerTest(unittest.TestCase):
+@@ -120,7 +122,7 @@ class WSManagerTest(unittest.TestCase):
          m.add(ws)
  
          m.broadcast(b'hello there')
diff -Nru 
python-ws4py-0.3.4/debian/patches/0002-Make-intersphinx-use-object.inv-from-python-doc.patch
 
python-ws4py-0.3.4/debian/patches/0002-Make-intersphinx-use-object.inv-from-python-doc.patch
--- 
python-ws4py-0.3.4/debian/patches/0002-Make-intersphinx-use-object.inv-from-python-doc.patch
        2016-08-07 16:56:14.000000000 -0400
+++ 
python-ws4py-0.3.4/debian/patches/0002-Make-intersphinx-use-object.inv-from-python-doc.patch
        2017-02-19 20:57:41.000000000 -0500
@@ -1,4 +1,4 @@
-From 750981d4c6165b945def438b4dd790c3326d03de Mon Sep 17 00:00:00 2001
+From 13ac903999b5f3472de0794d710e88d31793c436 Mon Sep 17 00:00:00 2001
 From: Stein Magnus Jodal <jo...@debian.org>
 Date: Sun, 7 Aug 2016 22:56:09 +0200
 Subject: Make intersphinx use object.inv from python-doc

Reply via email to