Commit Graph

5 Commits (master)

Author SHA1 Message Date
Josef Schlehofer 6bec81f1cf python-protobuf: drop unused dependencies
python3-protobuf depends on protobuf and python3-ctypes, and the build
depends on protobuf/host. The PyPI source builds its extension module
from the bundled upb and utf8_range sources, ships the generated _pb2
modules and never runs protoc. Nothing in it uses ctypes.

The extension module needs only libc, libgcc_s and libpython in the
snapshot builds of ten architectures. Depend on python3-light alone.
A clean aarch64 system then installs 9.0 MB less, because protobuf,
protobuf-lite, libstdcpp, libatomic, python3-ctypes and libffi are no
longer pulled in.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-21 12:15:39 +02:00
Alexandru Ardelean 2944b4252a python-protobuf: update to 7.36.2
Update to the latest upstream release.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-10-12 12:43:40 +03:00
Alexandru Ardelean a56b754b01 python-protobuf: add test script
Add a CI test.sh that imports google.protobuf and round-trips the
Timestamp and Struct well-known types through SerializeToString and
ParseFromString, covering the descriptor pool, encoder and decoder
without needing a compiled .proto. Modelled on python-rpds-py's test.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-08-09 20:00:40 +03:00
Alexandru Ardelean c5d531cf99 python-protobuf: bump to 7.35.1
Refresh sha256 from the PyPI sdist.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-08-09 20:00:40 +03:00
George Sapkin 02221e455b python-protobuf: add new package
Add Protobuf Python package.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 20:57:12 +03:00