From efe9f07bf4b4baf62dbf2a12622f464d583b5a18 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 10 Jun 2025 11:33:04 +0800 Subject: python3-grpcio: upgrade 1.72.0 -> 1.72.1 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-grpcio_1.72.0.bb | 46 ---------------------- .../python/python3-grpcio_1.72.1.bb | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-grpcio_1.72.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.72.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.72.0.bb deleted file mode 100644 index 19983c9e33..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.72.0.bb +++ /dev/null @@ -1,46 +0,0 @@ -DESCRIPTION = "Google gRPC" -HOMEPAGE = "https://www.grpc.io/" -SECTION = "devel/python" -LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0 & MIT & BSD-2-Clause" -LIC_FILES_CHKSUM = " \ - file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906 \ - file://third_party/utf8_range/utf8_validity.h;beginline=1;endline=5;md5=db08ddb5817e660489678e7c3653805a \ - file://third_party/xxhash/xxhash.h;beginline=1;endline=34;md5=d41d564db2353fc80a713956d85b1690 \ -" - -DEPENDS += "c-ares openssl python3-protobuf re2 zlib" - -SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ - file://abseil-ppc-fixes.patch \ - " -SRC_URI[sha256sum] = "05aee9be958a580e169e1aa8987387bcd8be6ed7fc5c2a3a048b6a2b911473cd" - -RDEPENDS:${PN} = "python3-protobuf" - -inherit setuptools3 -inherit pypi - -CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" - -# unbundling abseil-cpp needs work on dynamic linker issue -#export GRPC_PYTHON_BUILD_SYSTEM_ABSL = "1" -export GRPC_PYTHON_BUILD_SYSTEM_CARES = "1" -export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1" -export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1" -export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1" - -do_compile:prepend() { - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" -} - -GRPC_CFLAGS ?= "" -GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" -export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" - -CLEANBROKEN = "1" - -BBCLASSEXTEND = "native nativesdk" - -CCACHE_DISABLE = "1" - -CVE_PRODUCT += "grpc:grpc" diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb new file mode 100644 index 0000000000..79059a33cf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.72.1.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "Google gRPC" +HOMEPAGE = "https://www.grpc.io/" +SECTION = "devel/python" +LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0 & MIT & BSD-2-Clause" +LIC_FILES_CHKSUM = " \ + file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906 \ + file://third_party/utf8_range/utf8_validity.h;beginline=1;endline=5;md5=db08ddb5817e660489678e7c3653805a \ + file://third_party/xxhash/xxhash.h;beginline=1;endline=34;md5=d41d564db2353fc80a713956d85b1690 \ +" + +DEPENDS += "c-ares openssl python3-protobuf re2 zlib" + +SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ + file://abseil-ppc-fixes.patch \ + " +SRC_URI[sha256sum] = "87f62c94a40947cec1a0f91f95f5ba0aa8f799f23a1d42ae5be667b6b27b959c" + +RDEPENDS:${PN} = "python3-protobuf" + +inherit setuptools3 +inherit pypi + +CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" + +# unbundling abseil-cpp needs work on dynamic linker issue +#export GRPC_PYTHON_BUILD_SYSTEM_ABSL = "1" +export GRPC_PYTHON_BUILD_SYSTEM_CARES = "1" +export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1" +export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1" +export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1" + +do_compile:prepend() { + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" +} + +GRPC_CFLAGS ?= "" +GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" +export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" + +CLEANBROKEN = "1" + +BBCLASSEXTEND = "native nativesdk" + +CCACHE_DISABLE = "1" + +CVE_PRODUCT += "grpc:grpc" -- cgit v1.2.3-54-g00ecf