5 Commits

Author SHA1 Message Date
Peter Marko
0ae047668f
python3-protobuf: patch CVE-2026-0994
Pick patch from PR in NVD report.
It is the only code change in 33.5 release.
Skip the test file change as it's not shipped in python module sources.
Resolve formatting-only conflict.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
2026-02-09 09:35:49 +05:30
Derek Straka
cf59d70d6a
python3-protobuf: update to version 4.25.1
Remove patch 0001-message.c-Cast-uintptr_t-types-to-upb_MessageDef.patch
that was incorporated upstream and released in 4.25.1

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:43 -08:00
Khem Raj
e86cb4eabd python3-protobuf: Fix build errors seen with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-17 08:03:39 -07:00
Pascal Bach
1e0ec61f7a python3-protobuf, python-protobuf: 3.6.1 -> 3.8.0
The patch for Python 3.7 compatibility is already in 3.8.0.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-17 08:17:12 -07:00
Hongxu Jia
ce02a140a0 python3-protobuf: add cpp implementation support
- Compiling with option `--cpp_implementation', add cpp implementation
support which requires to build with protobuf.

- Workaround native compile failure while host gcc <= 4.8
Setting environment KOKORO_BUILD_NUMBER, the build will explicitly compile
with option `-std=c++11', it could  workaround native compile failure while
host gcc <= 4.8
...
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options
...

- Add Python 3.7 compatibility

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:26 -08:00