From dc8afb18c1cea424e175473ab6ad550bd3809f40 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 29 Jan 2021 15:10:28 +0200 Subject: python3-pyzmq: Upgrade 21.0.2 -> 22.0.2 Upgrade to release 22.0.2: - Add workaround for bug in DLL loading for Windows wheels with conda Python >= 3.8 - Fix type of Frame.bytes for non-copying recvs with CFFI backend (regression in 21.0) - Add manylinux wheels for pypy - Some typing fixes - Bump bundled libzmq to 4.3.4 - Strip unused symbols in manylinux wheels, resulting in dramatically smaller binaries. This matches behavior in v20 and earlier. - Windows CPython wheels bundle public libzmq binary builds, instead of building libzmq as a Python Extension. This means they include libsodium for the first time. - Our own implementation of bundling libzmq into pyzmq on Windows is removed, instead relying on delvewheel (or installations putting dlls on %PATH%) to bundle dependency dlls. - The (new in 21.0) Windows wheels for PyPy likely require the Windows vcredist package. This may have always been the case, but the delvewheel approach doesn't seem to work. - Windows + PyPy is now the only remaining case where a wheel has libzmq built as an Extension. All other builds ship libzmq built using its own tooling, which should result in better, more stable builds. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pyzmq_22.0.2.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyzmq_22.0.2.bb (limited to 'meta-python/recipes-devtools/python/python3-pyzmq_22.0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_22.0.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_22.0.2.bb new file mode 100644 index 0000000000..555f27cb49 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzmq_22.0.2.bb @@ -0,0 +1,26 @@ +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] = "d7b82a959e5e22d492f4f5a1e650e909a6c8c76ede178f538313ddb9d1e92963" + +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 +} -- cgit v1.2.3-54-g00ecf