Upgrade to the latest release.

* Update PKG-INFO md5 checksum
* Update SRC_URI sha256 checksum

Running a python gRPC server using the latest 1.70 python3 grpc related
recipes in OE master is broken due to import change in protobuf generated
code that I am told was introduced in protobuf v27.

With python3-protobuf_4.25.3 one will run into issues when they run their
gRPC server, for example:

root@radxa-zero-3e:~# python3 /usr/bin/instrument_server.py
Traceback (most recent call last):
  File "/usr/bin/instrument_server.py", line 4, in <module>
    import instrument_pb2
  File "/usr/bin/instrument_pb2.py", line 9, in <module>
    from google.protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf'
(/usr/lib/python3.13/site-packages/google/protobuf/__init__.py)

Signed-off-by: unit exe <unitex...@gmail.com>
---
 ...{python3-protobuf_4.25.3.bb => python3-protobuf_5.29.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-protobuf_4.25.3.bb =>
python3-protobuf_5.29.3.bb} (90%)

diff --git a/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb
b/meta-python/recipes-devtools/python/python3-protobuf_5.29.3.bb
similarity index 90%
rename from meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_5.29.3.bb
index e1dd8e17c7..c146e1eb1e 100644
--- a/meta-python/recipes-devtools/python/python3-protobuf_4.25.3.bb
+++ b/meta-python/recipes-devtools/python/python3-protobuf_5.29.3.bb
@@ -5,12 +5,12 @@ SECTION = "devel/python"
 #
https://github.com/protocolbuffers/protobuf/blob/main/third_party/utf8_range/LICENSE
 LICENSE = "BSD-3-Clause & MIT"
 LIC_FILES_CHKSUM = " \
-
 file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a9f8f0d527c043d
\
+
 file://PKG-INFO;beginline=8;endline=8;md5=be628fb2c2ba7982037799701e5913bf
\

 
file://utf8_range/utf8_range.h;beginline=1;endline=2;md5=f05b3ef36cc354d7134597075a1af64f
\
 "

 inherit pypi setuptools3
-SRC_URI[sha256sum] =
"25b5d0b42fd000320bd7830b349e3b696435f3b329810427a6bcce6a5492cc5c"
+SRC_URI[sha256sum] =
"5da0f41edaf117bde316404bad1a486cb4ededf8e4a54891296f648e8e076620"

 CVE_PRODUCT += "google:protobuf protobuf:protobuf google-protobuf
protobuf-python"

-- 
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#212048): 
https://lists.openembedded.org/g/openembedded-core/message/212048
Mute This Topic: https://lists.openembedded.org/mt/111430082/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to