From 52cbf69e393cf851a047a5ff393e37952cfa6284 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Tue, 22 Jul 2025 11:12:19 +0800 Subject: python3-grpcio-tools: upgrade 1.72.1 -> 1.73.1 Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- ...otobuf-Disable-musttail-attribute-on-mips.patch | 6 ++--- ...up.py-Do-not-mix-C-and-C-compiler-options.patch | 7 ++---- .../python/python3-grpcio-tools_1.72.1.bb | 28 ---------------------- .../python/python3-grpcio-tools_1.73.1.bb | 28 ++++++++++++++++++++++ 4 files changed, 33 insertions(+), 36 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-grpcio-tools_1.73.1.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch index cb12fb4983..0293cfe650 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch @@ -1,4 +1,4 @@ -From ded393c799d4d970d69a75c458f3672b03099aeb Mon Sep 17 00:00:00 2001 +From 668d3e577073e51cc7e98b42d89c1e2b9b4e04b4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 16 Sep 2022 19:09:15 -0700 Subject: [PATCH] protobuf: Disable musttail attribute on mips @@ -13,10 +13,10 @@ Signed-off-by: Wang Mingyu 1 file changed, 1 insertion(+) diff --git a/third_party/protobuf/src/google/protobuf/port_def.inc b/third_party/protobuf/src/google/protobuf/port_def.inc -index 56f995e..4d36c2f 100644 +index edd6d51..6ddaf80 100644 --- a/third_party/protobuf/src/google/protobuf/port_def.inc +++ b/third_party/protobuf/src/google/protobuf/port_def.inc -@@ -227,6 +227,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), +@@ -235,6 +235,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), #error PROTOBUF_TAILCALL was previously defined #endif #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch index 439b337bda..b779d1441a 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch @@ -1,4 +1,4 @@ -From f1bf68aaa5417bcb7ad4996f1be8d2c0f53c521c Mon Sep 17 00:00:00 2001 +From 1f1f174ed3ca28bdf8bbb479eb1d948d934dcc53 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 17 Feb 2021 13:38:55 -0800 Subject: [PATCH] setup.py: Do not mix C and C++ compiler options @@ -27,7 +27,7 @@ Signed-off-by: Khem Raj 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py -index 1a997df..86e3ad1 100644 +index ff27e67..964baf4 100644 --- a/setup.py +++ b/setup.py @@ -90,9 +90,11 @@ def check_linker_need_libatomic(): @@ -54,6 +54,3 @@ index 1a997df..86e3ad1 100644 stdin=PIPE, stdout=PIPE, stderr=PIPE, --- -2.43.0 - diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.1.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.1.bb deleted file mode 100644 index 52d68c71a9..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.72.1.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Google gRPC tools" -HOMEPAGE = "https://www.grpc.io/" -SECTION = "devel/python" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" - -inherit pypi setuptools3 - -PYPI_PACKAGE = "grpcio_tools" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -DEPENDS += "python3-grpcio" - -SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ - file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ - " -SRC_URI[sha256sum] = "a11afb21d0e960eb41f3c3053206e9271ec42579582c13193b99a0dca6be86d1" - -RDEPENDS:${PN} = "python3-grpcio" - -do_compile:prepend() { - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" -} - -BBCLASSEXTEND = "native nativesdk" - -CVE_PRODUCT += "grpc:grpc" diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.73.1.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.73.1.bb new file mode 100644 index 0000000000..d380c3b1cf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.73.1.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Google gRPC tools" +HOMEPAGE = "https://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "grpcio_tools" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +DEPENDS += "python3-grpcio" + +SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ + file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ + " +SRC_URI[sha256sum] = "6e06adec3b0870f5947953b0ef8dbdf2cebcdff61fb1fe08120cc7483c7978aa" + +RDEPENDS:${PN} = "python3-grpcio" + +do_compile:prepend() { + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" +} + +BBCLASSEXTEND = "native nativesdk" + +CVE_PRODUCT += "grpc:grpc" -- cgit v1.2.3-54-g00ecf