summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@siemens.com>2026-03-16 14:53:47 +0100
committerKhem Raj <raj.khem@gmail.com>2026-03-18 14:33:28 -0700
commit94990de7360fed34fc2800bed12662d754a22001 (patch)
treef3f219ab6d9f51d1772e23943ceba3aba834192e /meta-python
parent04ef8fb242afed697f0740925247a3fe5b41381e (diff)
downloadmeta-openembedded-94990de7360fed34fc2800bed12662d754a22001.tar.gz
python3-grpcio: upgrade 1.76.0 -> 1.78.0
Change build tools from setuptools3 to python_setuptools_build_meta Add cython depends and change cython requirement from cython==3.1.1 to cython>=3.1.1. Currently we use cython version 3.2.4 Changelog: https://github.com/grpc/grpc/releases/tag/v1.78.0 Changes for python: - aio: fix race condition causing asyncio.run() to hang forever during the shutdown process. - Migrate to pyproject.toml build system from setup.py builds. - Log error details when ExecuteBatchError occurs (at DEBUG level). - Update setuptools min version to 77.0.1. Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb)10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb
index 037614da3e..6ac6a72d25 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.76.0.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb
@@ -13,11 +13,11 @@ DEPENDS += "c-ares openssl python3-protobuf re2 zlib"
13SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ 13SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
14 file://abseil-ppc-fixes.patch \ 14 file://abseil-ppc-fixes.patch \
15 " 15 "
16SRC_URI[sha256sum] = "7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73" 16SRC_URI[sha256sum] = "7382b95189546f375c174f53a5fa873cef91c4b8005faa05cc5b3beea9c4f1c5"
17 17
18RDEPENDS:${PN} = "python3-protobuf python3-typing-extensions" 18RDEPENDS:${PN} = "python3-protobuf python3-typing-extensions"
19 19
20inherit setuptools3 20inherit python_setuptools_build_meta cython
21inherit pypi 21inherit pypi
22 22
23CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" 23CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
@@ -29,6 +29,12 @@ export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
29export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1" 29export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1"
30export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1" 30export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1"
31 31
32do_configure:append() {
33 # Relax strict cython version pin so that the available cython satisfies the requirement.
34 # The C files are pre-generated so cython is not actually used during compilation.
35 sed -i 's/\"cython==/\"cython>=/' ${S}/pyproject.toml
36}
37
32do_compile:prepend() { 38do_compile:prepend() {
33 export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" 39 export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}"
34} 40}