Skip to contentSkip to conversation

python3-protobuf: upgrade 4.23.4 -> 4.24.0

PATCH In review [email protected] 2 participants 2 messages Aug 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-protobuf: upgrade 4.23.4 -> 4.24.0

From: Wang Mingyu <[email protected]>

Changelog:
https://github.com/protocolbuffers/protobuf/releases/tag/v24.0

---
 .../{python3-protobuf_4.23.4.bb => python3-protobuf_4.24.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-protobuf_4.23.4.bb => python3-protobuf_4.24.0.bb} (92%)
meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb renamed from meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb +1 -1
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb
index 8474a43d69..fdc80b7015 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "ccd9430c0719dce806b93f89c91de7977304729e55377f872a92465d548329a9"
+SRC_URI[sha256sum] = "5d0ceb9de6e08311832169e601d1fc71bd8e8c779f3ee38a97a78554945ecb85"
 
 # http://errors.yoctoproject.org/Errors/Details/184715/
 # Can't find required file: ../src/google/protobuf/descriptor.proto
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · wangmy

From: Wang Mingyu <[email protected]>

Changelog:
https://github.com/protocolbuffers/protobuf/releases/tag/v24.0

Fails to build with clang

| python/message.c:140:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
|   140 |   if (bits->type_basicsize == -1) goto err;
|       |       ~~~~~~~~~~~~~~~~~~~~ ^  ~~
| python/message.c:1238:49: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
|  1238 |                        upb_MessageDef_MiniTable(other->def),
|       |                                                 ^~~~~~~~~~
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-protobuf/4.24.0/protobuf-4.24.0/upb/reflection/message_def.h:138:69: note: passing argument to parameter 'm' here
|   138 | const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m);
|       | 
     ^
| python/message.c:1609:69: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
|  1609 |       upb_Message_DeepClone(self->ptr.msg, upb_MessageDef_MiniTable(self->def),
|       | 
     ^~~~~~~~~
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-protobuf/4.24.0/protobuf-4.24.0/upb/reflection/message_def.h:138:69: note: passing argument to parameter 'm' here
|   138 | const upb_MiniTable* upb_MessageDef_MiniTable(const upb_MessageDef* m);
|       | 
     ^
| python/message.c:1611:44: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'const upb_MessageDef *' (aka 'const struct upb_MessageDef *') [-Wint-conversion]
|  1611 |   PyObject* ret = PyUpb_Message_Get(clone, self->def, arena);
|       |                                            ^~~~~~~~~
| python/message.c:822:71: note: passing argument to parameter 'm' here
|   822 | PyObject* PyUpb_Message_Get(upb_Message* u_msg, const upb_MessageDef* m,
|       | 
       ^

| 1 warning and 3 errors generated.
|

Quoted 33 lines
---
  .../{python3-protobuf_4.23.4.bb => python3-protobuf_4.24.0.bb}  | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-protobuf_4.23.4.bb => python3-protobuf_4.24.0.bb} (92%)

meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb renamed from meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb +1 -2
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-protobuf_4.23.4.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_4.24.0.bb
index 8474a43d69..fdc80b7015 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=53dbfa56f61b90215a
 
  inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "ccd9430c0719dce806b93f89c91de7977304729e55377f872a92465d548329a9"
+SRC_URI[sha256sum] = "5d0ceb9de6e08311832169e601d1fc71bd8e8c779f3ee38a97a78554945ecb85"
 
  # http://errors.yoctoproject.org/Errors/Details/184715/
  # Can't find required file: ../src/google/protobuf/descriptor.proto
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#104392): https://lists.openembedded.org/g/openembedded-devel/message/104392
Mute This Topic: https://lists.openembedded.org/mt/100771801/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-