Skip to content

Python bindings version is not equal to C++ package.

Description:

The python protobuf version in PKGBUILD is not right. I detected this problem in a package which depends on this one.

Additional info:

  • package version(s): python-protobuf-28.1
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. Install python-protobuf
$ sudo pacman -Syu
$ sudo pacman -S python-protobuf
$ pacman -Q python-protobuf
python-protobuf 28.1-1
  1. Check python protobuf module version
$ python
Python 3.12.6 (main, Sep  8 2024, 13:18:56) [GCC 14.2.1 20240805] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import google.protobuf
>>> google.protobuf.__version__
'5.28.1'
>>> 

The right output will be

$ pacman -Q python-protobuf
python-protobuf 5.28.1-1
Edited by Carlos Aznarán
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information