From 717dbbe5845291c666020a3d92343409ea41d275 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Mon, 23 Aug 2021 14:52:24 +0800 Subject: [PATCH] python3-pyzmq: upgrade 22.1.0 -> 22.2.1 22.2.1 Fix bundling of wepoll on Windows. 22.2.0 New features: IPC support on Windows: where available (64bit Windows wheels and bundled libzmq when compiling from source, via wepoll), IPC should work on appropriate Windows versions. Nicer reprs of contexts and sockets Memory allocated by recv(copy=False) is no longer read-only asyncio: Always reference current loop instead of attaching to the current loop at instantiation time. This fixes e.g. contexts and/or sockets instantiated prior to a call to asyncio.run. ssh: $PYZMQ_PARAMIKO_HOST_KEY_POLICY can be used to set the missing host key policy, e.g. AutoAdd. Fixes: Fix memory corruption in gevent integration Fix memoryview(zmq.Frame) with cffi backend Fix threadsafety issue when closing sockets Changes: pypy Windows wheels are 64b-only, following an update in cibuildwheel 2.0 deprecate zmq.utils.jsonapi and remove support for non-stdlib json implementations in send/recv_json. Custom serialization methods should be used instead. Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../{python3-pyzmq_22.1.0.bb => python3-pyzmq_22.2.1.bb} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pyzmq_22.1.0.bb => python3-pyzmq_22.2.1.bb} (83%) diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb similarity index 83% rename from meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb rename to meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb index 9e418f04b..f58074a9a 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb @@ -8,11 +8,14 @@ DEPENDS = "zeromq" FILESEXTRAPATHS:prepend := "${THISDIR}/python-pyzmq:" SRC_URI += "file://club-rpath-out.patch" -SRC_URI[sha256sum] = "7040d6dd85ea65703904d023d7f57fab793d7ffee9ba9e14f3b897f34ff2415d" +SRC_URI[sha256sum] = "6d18c76676771fd891ca8e0e68da0bbfb88e30129835c0ade748016adb3b6242" inherit pypi pkgconfig setuptools3 -RDEPENDS:${PN} += "${PYTHON_PN}-multiprocessing" +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-json \ +" FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug"