diff mbox series

[meta-python] python3-pyzmq: Fix ptests

Message ID 20240405035238.473755-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python] python3-pyzmq: Fix ptests | expand

Commit Message

Khem Raj April 5, 2024, 3:52 a.m. UTC
Add missing dependency on tornado, its also flagged by some ptests

   {'python3-pyzmq': ['tests/test_ioloop.py:test_ioloop',
                      'tests/test_ioloop.py:test_ioloop_install']}

Skip ptests which cause zeromq errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-pyzmq/run-ptest | 3 ++-
 meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
index 8d2017d39c..beefefa663 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
@@ -1,3 +1,4 @@ 
 #!/bin/sh
 
-pytest --automake
+pytest --automake \
+-k 'not test_callable_check and not test_on_recv_basic and not test_on_recv_wake and not test_on_recv_async and not test_on_recv_async_error and not test_curve'
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
index ca602d2507..540aa62006 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
@@ -28,6 +28,7 @@  FILES:${PN}-test += "\
 RDEPENDS:${PN} += "\
         python3-json \
         python3-multiprocessing \
+        python3-tornado \
 "
 
 RDEPENDS:${PN}-ptest += "\