Skip to contentSkip to conversation

python3-pyzmq: Fix ptests

PATCH New Khem Raj 1 participant 1 message Apr 5, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-pyzmq: Fix ptests

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

---
 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(-)
meta-python/recipes-devtools/python/python3-pyzmq/run-ptest +2 -1
index 8d2017d39c..beefefa663 100644
@@ -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'
meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +1 -0
index ca602d2507..540aa62006 100644
@@ -28,6 +28,7 @@ FILES:${PN}-test += "\
 RDEPENDS:${PN} += "\
         python3-json \
         python3-multiprocessing \
+        python3-tornado \
 "
 
 RDEPENDS:${PN}-ptest += "\
Signature · 1 line
2.44.0