Skip to contentSkip to conversation

python3-grpcio: Upgrade to 1.36.1

PATCH In review Khem Raj 2 participants 2 messages Mar 3, 2021 – Mar 8, 2021 RISC-V

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-grpcio: Upgrade to 1.36.1

Release notes are here [1]

See the differences after 1.35.0 upwards

[1] https://github.com/grpc/grpc/releases

---
 .../python/python3-grpcio/ppc-boringssl-support.patch           | 2 +-
 .../python/python3-grpcio/riscv64_support.patch                 | 2 +-
 .../{python3-grpcio_1.35.0.bb => python3-grpcio_1.36.1.bb}      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-grpcio_1.35.0.bb => python3-grpcio_1.36.1.bb} (93%)
meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch +1 -1
index dadd3da85e..5c9be443d8 100644
@@ -12,6 +12,6 @@ Signed-off-by: Khem Raj <[email protected]>
 +#elif (defined(__PPC__) || defined(__powerpc__))
 +#define OPENSSL_32_BIT
 +#define OPENSSL_PPC
- #elif defined(__mips__) && !defined(__LP64__)
+ #elif defined(__MIPSEL__) && !defined(__LP64__)
  #define OPENSSL_32_BIT
  #define OPENSSL_MIPS
meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch +1 -1
index 7e071ae1e6..350c67deaf 100644
@@ -5,7 +5,7 @@ Signed-off-by: Khem Raj <[email protected]>
 --- a/third_party/boringssl-with-bazel/src/include/openssl/base.h
 +++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h
 @@ -108,6 +108,14 @@ extern "C" {
- #elif defined(__mips__) && defined(__LP64__)
+ #elif defined(__MIPSEL__) && defined(__LP64__)
  #define OPENSSL_64_BIT
  #define OPENSSL_MIPS64
 +#elif defined(__riscv)
meta-python/recipes-devtools/python/python3-grpcio_1.36.1.bb renamed from meta-python/recipes-devtools/python/python3-grpcio_1.35.0.bb +1 -1
similarity index 93%
rename from meta-python/recipes-devtools/python/python3-grpcio_1.35.0.bb
rename to meta-python/recipes-devtools/python/python3-grpcio_1.36.1.bb
index 2c137f6ce7..d374b54b34 100644
@@ -11,7 +11,7 @@ SRC_URI_append_class-target = " file://ppc-boringssl-support.patch \
                                 file://riscv64_support.patch \
                                 file://boring_ssl.patch \
 "
-SRC_URI[sha256sum] = "7bd0ebbb14dde78bf66a1162efd29d3393e4e943952e2f339757aa48a184645c"
+SRC_URI[sha256sum] = "a66ea59b20f3669df0f0c6a3bd57b985e5b2d1dcf3e4c29819bb8dc232d0fd38"
 
 RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
                   ${PYTHON_PN}-setuptools \
Signature · 1 line
2.30.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Khem Raj

[Please note: This e-mail is from an EXTERNAL e-mail address]

Release notes are here [1]

See the differences after 1.35.0 upwards

[1] https://github.com/grpc/grpc/releases

Quoted 54 lines
---
  .../python/python3-grpcio/ppc-boringssl-support.patch           | 2 +-
  .../python/python3-grpcio/riscv64_support.patch                 | 2 +-
  .../{python3-grpcio_1.35.0.bb => python3-grpcio_1.36.1.bb}      | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-grpcio_1.35.0.bb => python3-grpcio_1.36.1.bb} (93%)

meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch +1 -1
index dadd3da85e..5c9be443d8 100644
@@ -12,6 +12,6 @@ Signed-off-by: Khem Raj <[email protected]>
  +#elif (defined(__PPC__) || defined(__powerpc__))
  +#define OPENSSL_32_BIT
  +#define OPENSSL_PPC
- #elif defined(__mips__) && !defined(__LP64__)
+ #elif defined(__MIPSEL__) && !defined(__LP64__)
   #define OPENSSL_32_BIT
   #define OPENSSL_MIPS
meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch +1 -1
index 7e071ae1e6..350c67deaf 100644
@@ -5,7 +5,7 @@ Signed-off-by: Khem Raj <[email protected]>
  --- a/third_party/boringssl-with-bazel/src/include/openssl/base.h
  +++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h
  @@ -108,6 +108,14 @@ extern "C" {
- #elif defined(__mips__) && defined(__LP64__)
+ #elif defined(__MIPSEL__) && defined(__LP64__)
   #define OPENSSL_64_BIT
   #define OPENSSL_MIPS64
  +#elif defined(__riscv)
meta-python/recipes-devtools/python/python3-grpcio_1.36.1.bb renamed from meta-python/recipes-devtools/python/python3-grpcio_1.35.0.bb +1 -2
similarity index 93%
rename from meta-python/recipes-devtools/python/python3-grpcio_1.35.0.bb
rename to meta-python/recipes-devtools/python/python3-grpcio_1.36.1.bb
index 2c137f6ce7..d374b54b34 100644
@@ -11,7 +11,7 @@ SRC_URI_append_class-target = " file://ppc-boringssl-support.patch \
                                  file://riscv64_support.patch \
                                  file://boring_ssl.patch \
  "
-SRC_URI[sha256sum] = "7bd0ebbb14dde78bf66a1162efd29d3393e4e943952e2f339757aa48a184645c"
+SRC_URI[sha256sum] = "a66ea59b20f3669df0f0c6a3bd57b985e5b2d1dcf3e4c29819bb8dc232d0fd38"
 
  RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
                    ${PYTHON_PN}-setuptools \
--

2.30.1