summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio
Commit message (Collapse)AuthorAgeFilesLines
* python3-grpcio: upgrade 1.70.0 -> 1.71.0Wang Mingyu2025-03-251-3/+3
| | | | | | | | 0001-python-enable-unbundled-cross-compilation.patch refreshed for 1.71.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: revert unbundling abseil-cppPeter Marko2025-02-231-0/+102
| | | | | | | | | | | | | | | | | | | | | This reverts commit 990b03b6165808cebe59886e4941bb86b05744e2. >>> import grpc Traceback (most recent call last): File "<python-input-0>", line 1, in <module> import grpc File "/usr/lib/python3.13/site-packages/grpc/__init__.py", line 22, in <module> from grpc import _compression File "/usr/lib/python3.13/site-packages/grpc/_compression.py", line 20, in <module> from grpc._cython import cygrpc ImportError: /usr/lib/python3.13/site-packages/grpc/_cython/cygrpc.cpython-313-x86_64-linux-gnu.so: undefined symbol: _ZN4absl12lts_2024072212log_internal17kUnsignedCharNullE Even installing whole abseil-ccp does not solve this. ldd on this library does not include libraries containing this symbol. Some work in linking upstram would be needed. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: use system abseil-cppPeter Marko2025-02-061-102/+0
| | | | | | | | This also allows to remove a custom patch to maintain and corrects license, SPDX and CVE handling. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: use system re2Peter Marko2025-02-061-29/+0
| | | | | | | | This also allows to remove a custom patch to maintain and corrects license, SPDX and CVE handling. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: use system zlibPeter Marko2025-02-061-24/+0
| | | | | | | | This also allows to remove a custom patch to maintain and corrects license, SPDX and CVE handling. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: use openssl instead of bundled boringssl-with-bazelPeter Marko2025-02-062-107/+0
| | | | | | | | | grpc recipe already uses system openssl without problem. This also allows to remove 2 patches to maintain and corrects license, SPDX and CVE handling. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: add patch to allow unbundled buildPeter Marko2025-02-061-0/+49
| | | | | | | | This is preparation for next commits which to use system libraries instead of bundled third_party components. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.67.1 -> 1.68.1Wang Mingyu2024-12-242-85/+10
| | | | | | | | | | | | port_def.inc abseil-ppc-fixes.patch refreshed for 1.68.1 0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch removed since it's included in 1.68.1 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.66.2 -> 1.67.1Wang Mingyu2024-11-051-2/+2
| | | | | | | | 0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch refreshed for 1.67.1 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: update 1.66.1 -> 1.66.2Alexander Kanavin2024-10-166-19/+11
| | | | | | | This fixes python 3.13 issues. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: backport abseil-cpp RISC-V fixScott Murray2024-06-111-0/+82
| | | | | | | | | | | Backport upstream abseil-cpp fix[1] for SIGILL crash on RISC-V with 6.6 and newer kernels. The patch has been tweaked to apply on top of the existing patch stack to the vendored copy of abseil-cpp. [1]: https://github.com/abseil/abseil-cpp/commit/7335a36d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: fix do_compile failure for qemuppc64/qemuppcChangqing Li2024-05-191-0/+37
| | | | | | | define proper macro for ppc/ppc64 to fix compile error Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: Fix build with gcc-14Martin Jansa2024-05-051-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * crypto: use _Generic only if !defined(__cplusplus) * fixes build with gcc-14 which has __builtin_addc and __builtin_subc with gcc-13 it was already using the #else branch because of missing builtins * fixes https://github.com/grpc/grpc/issues/35945 http://errors.yoctoproject.org/Errors/Details/766916/ * _Generic was introduced in boringssl with: https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4 * but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes this internal.h and from the .cc extension gcc will process it as C++ where _Generic isn't available, causing: In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125: third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)': third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expression before 'unsigned' 1159 | unsigned: __builtin_addc, \ | ^~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ^~~~~~~~~~~~~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expression before 'unsigned' 1160 | unsigned long: __builtin_addcl, \ | ^~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ^~~~~~~~~~~~~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expression before 'unsigned' 1161 | unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry)) | ^~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ^~~~~~~~~~~~~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not declared in this scope 1158 | (_Generic((x), \ | ^~~~~~~~ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio(-tools): upgrade 1.60.1 -> 1.62.0Wang Mingyu2024-03-082-10/+8
| | | | | | | | | | | | | | | 0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch abseil-ppc-fixes.patch refreshed for 1.62.0 Changelog: ========== -[metadata] Allow non application/grpc content-type values. -[BoringSSL] Update third_party/boringssl-with-bazel. -[GPR] Removed GPR_BACKWARDS_COMPATIBILITY_MODE. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: update 1.56.2 -> 1.59.3Alexander Kanavin2023-12-187-183/+41
| | | | | | | | | | | | | This is needed for python 3.12 compatibility. Drop 0001-direct_mmap-Use-off_t-on-linux.patch as issue resolved upstream. Other dropped patches are all due to the code being significantly refactored upstream; if the issues persist, please write updated patches. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: Fix build on muslKhem Raj2023-07-071-0/+42
| | | | | | | Use off_t instead of deprecated off64_t LFS interface makes it portable across musl and glibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: Upgrade to 1.56.0Khem Raj2023-07-074-89/+22
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-212-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: Add missing include for close/open APIsKhem Raj2023-02-121-0/+27
| | | | | | This is found with clang16 stricter warnings Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: Fix build with gcc13Khem Raj2023-02-011-0/+32
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.48.1 -> 1.49.0wangmy2022-09-211-12/+15
| | | | | | | | 0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch refreshed for new version. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.47.0 -> 1.48.0Xu Huan2022-08-272-38/+23
| | | | | | | | | | | | | | 0001-absl-always-use-asm-sgidefs.h.patch removed since it's included in 1.48.0 abseil-ppc-fixes.patch refreshed for new version License-Update: Add the contents of Mozilla Public License to license file. Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: upgrade 1.45.0 -> 1.47.0Xu Huan2022-07-071-9/+16
| | | | | | | | 0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch refreshed for new version. Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio, python3-grpcio-tools: Upgrade to 1.44.0Khem Raj2022-03-152-12/+84
| | | | | | | | | | | - Fix build on ppc64le/musl - Add patch to fix abseil on ppc64 - Changes are here [1] [1] https://github.com/grpc/grpc/releases/tag/v1.44.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
* python3-grpcio: Update to 1.38.0Khem Raj2021-05-312-22/+1
| | | | | | | | Drop riscv patch as its applied upstream Refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-grpcio: Upgrade 1.36.1 -> 1.37.0Leon Anavi2021-04-131-18/+32
| | | | | | | | | | | | | | | | | Upgrade to release 1.37.0: - Use boringssl asm optimizations in aarch64 wheel source build. - Clarify Guarantees about grpc.Future Interface. - Use crosscompilation to build python armv7 wheels. - [Aio] Add time_remaining method to ServicerContext. - Standardize all environment variable boolean configuration in python's setup.py. - Crosscompile python aarch64 wheels with dockcross. - Fix Signal Safety Issue. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-grpcio: Fix build on mips and muslKhem Raj2021-03-082-0/+48
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-grpcio: Upgrade to 1.36.1Khem Raj2021-03-082-2/+2
| | | | | | | | | | | Release notes are here [1] See the differences after 1.35.0 upwards [1] https://github.com/grpc/grpc/releases Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-grpcio: Upgrade to 1.35.0Khem Raj2021-02-195-111/+84
| | | | | | | | | Drop 0001-Fix-build-on-riscv32.patch, its upstreamed Forward port rest of the patches Use OPENSSL_NO_ASM only for armv7+/aarch64 Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-grpcio: Fix build with riscv32Khem Raj2020-04-292-4/+74
| | | | | | | Ensure libseil-cpp can build for rv32 and boringssl riscv patch considers rv32 separate from rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: fix native build failure on ubuntu 16.04 and centos 8Hongxu Jia2020-03-261-23/+33
| | | | | | | | | | | | | | | | 1. Keep '-std=c++11' and '-std=gnu99' to fix native build error with old gcc (such as gcc 5.4.0 on ubuntu 16.04); for clang, remove them through setting GRPC_PYTHON_CFLAGS at do_compile in bb recipe 2. While export CC="gcc ", cc_args is empty, it will cause subprocess.Popen always return 1. On centos 8, if you don't install package libatomic, there will be a native build error `cannot find /usr/lib64/libatomic.so.1.2.0'. Add no harm '-g' to cc_args if cc_args is empty. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: fix do_compile error for nativeQi.Chen@windriver.com2020-02-201-3/+3
| | | | | | | | | | | When building python3-grpcio-native, we will meet do_compile error because of no 'cc'. In fact, 'cc' is not in our hosttools. So fix to use gcc and make the patch also apply to native. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-grpcio: Upgrade to 1.27.1Khem Raj2020-02-133-0/+97
Merge inc file into bb, there are no other users of it Delete gettid patch, fixed differenty upstream Add code to use cross compiler in setup.py Define GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY so it does not use SYS_clock_gettime syscalls since it does not work when 64bit time_t is used on 32bit arches Signed-off-by: Khem Raj <raj.khem@gmail.com>