ソースを参照

python3-grpcio: update 1.66.1 -> 1.66.2

This fixes python 3.13 issues.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Alexander Kanavin 7 ヶ月 前
コミット
940ce69937

+ 1 - 2
meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch

@@ -1,4 +1,4 @@
-From 252aa78526287fe033c5656cd166e551fa5daa88 Mon Sep 17 00:00:00 2001
+From 0760579b4890b48ea3ab36e48f1f6fb3e7ed05f5 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 30 Jan 2023 10:31:10 -0800
 Subject: [PATCH] Include missing <cstdint> header
@@ -11,7 +11,6 @@ int32_t.
 
 Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970]
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
 ---
  third_party/re2/util/pcre.h | 1 +
  1 file changed, 1 insertion(+)

+ 1 - 4
meta-python/recipes-devtools/python/python3-grpcio/0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch

@@ -1,4 +1,4 @@
-From 7335a36d0b5c1c597566f9aa3f458a5b6817c3b4 Mon Sep 17 00:00:00 2001
+From ee0e37b02d0d28279e103653688bf7203275ec47 Mon Sep 17 00:00:00 2001
 From: aurel32 <aurelien@aurel32.net>
 Date: Fri, 22 Mar 2024 14:21:13 -0700
 Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support
@@ -77,6 +77,3 @@ index 5e232c1..83552fc 100644
  #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY
  #endif
  #endif
--- 
-2.44.0
-

+ 5 - 6
meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch

@@ -1,4 +1,4 @@
-From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001
+From eee5daeb5b53b0c4a013aa5887a726434ec81600 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <martin.jansa@gmail.com>
 Date: Mon, 6 May 2024 01:36:39 +0200
 Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus)
@@ -43,18 +43,17 @@ third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in
  1166 |   return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry);
       |          ^~~~~~~~~~~~~~~~~~~
 
+Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)]
 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
 ---
-Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)]
-
  crypto/internal.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/crypto/internal.h b/crypto/internal.h
-index a77102d76..30d6826dd 100644
+index f93c2e5..2fca2fb 100644
 --- a/crypto/internal.h
 +++ b/crypto/internal.h
-@@ -1176,7 +1176,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) {
+@@ -1193,7 +1193,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) {
  
  // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry
  // bit. |carry| must be zero or one.
@@ -63,7 +62,7 @@ index a77102d76..30d6826dd 100644
  
  #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \
    (_Generic((x),                                    \
-@@ -1228,7 +1228,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry,
+@@ -1245,7 +1245,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry,
  
  // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow
  // bit. |borrow| must be zero or one.

+ 2 - 5
meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch

@@ -1,4 +1,4 @@
-From b3bca013007a4a66703573d243e433f22e1e6684 Mon Sep 17 00:00:00 2001
+From e2c78c555ab3d9509c4ade511e2f711eb7188626 Mon Sep 17 00:00:00 2001
 From: Changqing Li <changqing.li@windriver.com>
 Date: Wed, 15 May 2024 16:55:09 +0800
 Subject: [PATCH] target.h: define proper macro for ppc/ppc64
@@ -18,7 +18,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
  1 file changed, 4 insertions(+)
 
 diff --git a/third_party/boringssl-with-bazel/src/include/openssl/target.h b/third_party/boringssl-with-bazel/src/include/openssl/target.h
-index 29b1dc6..d779813 100644
+index 2760f52..e743402 100644
 --- a/third_party/boringssl-with-bazel/src/include/openssl/target.h
 +++ b/third_party/boringssl-with-bazel/src/include/openssl/target.h
 @@ -54,6 +54,10 @@
@@ -32,6 +32,3 @@ index 29b1dc6..d779813 100644
  #else
  // The list above enumerates the platforms that BoringSSL supports. For these
  // platforms we keep a reasonable bar of not breaking them: automated test
--- 
-2.25.1
-

+ 1 - 1
meta-python/recipes-devtools/python/python3-grpcio/0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch

@@ -1,4 +1,4 @@
-From 671618df3e48619f0c7a5a3acd8982374a5e43db Mon Sep 17 00:00:00 2001
+From f84421d8ee06890e2c98c0f7c9ec6c73f88e77c3 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sun, 12 Feb 2023 21:25:04 -0800
 Subject: [PATCH] zlib: Include unistd.h for open/close C APIs

+ 1 - 1
meta-python/recipes-devtools/python/python3-grpcio/abseil-ppc-fixes.patch

@@ -1,4 +1,4 @@
-From 102dcce6610e6606fffd3a4986f84eb52177f8c8 Mon Sep 17 00:00:00 2001
+From a2ec96a96ff7ba016e800212a942b9f29f255415 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 13 Mar 2021 10:26:25 -0800
 Subject: [PATCH] An all-in-one patch that fixes several issues:

+ 1 - 1
meta-python/recipes-devtools/python/python3-grpcio_1.66.1.bb → meta-python/recipes-devtools/python/python3-grpcio_1.66.2.bb

@@ -13,7 +13,7 @@ SRC_URI += "file://0001-Include-missing-cstdint-header.patch \
            file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \
            file://0001-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \
            "
-SRC_URI[sha256sum] = "35334f9c9745add3e357e3372756fd32d925bd52c41da97f4dfdafbde0bf0ee2"
+SRC_URI[sha256sum] = "563588c587b75c34b928bc428548e5b00ea38c46972181a4d8b75ba7e3f24231"
 
 RDEPENDS:${PN} = "python3-protobuf"