From 717dbbe5845291c666020a3d92343409ea41d275 Mon Sep 17 00:00:00 2001 From: zhengruoqin Date: Mon, 23 Aug 2021 14:52:24 +0800 Subject: 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 --- .../python/python3-pyzmq_22.1.0.bb | 26 ------------------- .../python/python3-pyzmq_22.2.1.bb | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb deleted file mode 100644 index 9e418f04b5..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyzmq_22.1.0.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Pyzmq provides Zero message queue access for the Python language" -HOMEPAGE = "http://zeromq.org/bindings:python" -LICENSE = "BSD & LGPL-3.0" -LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ - file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" -DEPENDS = "zeromq" - -FILESEXTRAPATHS:prepend := "${THISDIR}/python-pyzmq:" - -SRC_URI += "file://club-rpath-out.patch" -SRC_URI[sha256sum] = "7040d6dd85ea65703904d023d7f57fab793d7ffee9ba9e14f3b897f34ff2415d" - -inherit pypi pkgconfig setuptools3 - -RDEPENDS:${PN} += "${PYTHON_PN}-multiprocessing" - -FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" - -do_compile:prepend() { - echo [global] > ${S}/setup.cfg - echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg - echo have_sys_un_h = True >> ${S}/setup.cfg - echo skip_check_zmq = True >> ${S}/setup.cfg - echo libzmq_extension = False >> ${S}/setup.cfg - echo no_libzmq_extension = True >> ${S}/setup.cfg -} diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb b/meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb new file mode 100644 index 0000000000..f58074a9a9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzmq_22.2.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Pyzmq provides Zero message queue access for the Python language" +HOMEPAGE = "http://zeromq.org/bindings:python" +LICENSE = "BSD & LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ + file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" +DEPENDS = "zeromq" + +FILESEXTRAPATHS:prepend := "${THISDIR}/python-pyzmq:" + +SRC_URI += "file://club-rpath-out.patch" +SRC_URI[sha256sum] = "6d18c76676771fd891ca8e0e68da0bbfb88e30129835c0ade748016adb3b6242" + +inherit pypi pkgconfig setuptools3 + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-json \ +" + +FILES:${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" + +do_compile:prepend() { + echo [global] > ${S}/setup.cfg + echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg + echo have_sys_un_h = True >> ${S}/setup.cfg + echo skip_check_zmq = True >> ${S}/setup.cfg + echo libzmq_extension = False >> ${S}/setup.cfg + echo no_libzmq_extension = True >> ${S}/setup.cfg +} -- cgit 1.2.3-korg