Skip to contentSkip to conversation

package/{python-}protobuf: bump to version 21.4

PATCH Applied Michael Nosthoff via buildroot 1 participant 2 messages Jul 27, 2022 – Aug 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/{python-}protobuf: bump to version 21.4

protobuf changed it versioning scheme [1]. The Release version is now only the Minor.Patch version of the language specific version.

C++ stays on Major version 3, but python got bumped to 4. So the handling in the .mk files changed to reflect that.

python-protobuf changed it version to 4 because of some breaking changes, see[1].

[1] https://developers.google.com/protocol-buffers/docs/news/2022-05-06

--

chhanges from patch 21.3 -> 21.4:
- package version number for both packages is now the protbuf version
- Major version is contained in the SOURCE variable of the packages

python-protobuf runtime tested by Julien

---
 package/protobuf/protobuf.hash               | 2 +-
 package/protobuf/protobuf.mk                 | 4 ++--
 package/python-protobuf/python-protobuf.hash | 2 +-
 package/python-protobuf/python-protobuf.mk   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
package/protobuf/protobuf.hash +1 -1
index f37b2dee40..9dc0f9ff07 100644
@@ -1,3 +1,3 @@
 # Locally calculated
 sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
-sha256  dddd73664306d7d895a95e1cf18925b31b52785e468727e4635b45edae5166f9  protobuf-cpp-3.20.1.tar.gz
+sha256  a9fd8043fef746e8d8cca9f023fb7ba6d3d102eab6dd35a04ce7157d1928726b  protobuf-cpp-3.21.4.tar.gz
package/protobuf/protobuf.mk +2 -2
index c4c33ba7da..ffbc39347f 100644
@@ -7,8 +7,8 @@
 # When bumping this package, make sure to also verify if the
 # python-protobuf package still works and to update its hash,
 # as they share the same version/site variables.
-PROTOBUF_VERSION = 3.20.1
-PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
+PROTOBUF_VERSION = 21.4
+PROTOBUF_SOURCE = protobuf-cpp-3.$(PROTOBUF_VERSION).tar.gz
 PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION)
 PROTOBUF_LICENSE = BSD-3-Clause
 PROTOBUF_LICENSE_FILES = LICENSE
package/python-protobuf/python-protobuf.hash +1 -1
index ddfa48b491..ae2e07d637 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  d3449b4df32ca155f8cd71051db916b2bf74cc925760e269c0acf09b48ec1cb8  protobuf-python-3.20.1.tar.gz
+sha256  32d8a37271f42aaa0f40659f77040484d6048b187e4a98dac09eb9ed592a91dc  protobuf-python-4.21.4.tar.gz
 sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
package/python-protobuf/python-protobuf.mk +1 -1
index b91ba49339..df90254670 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
-PYTHON_PROTOBUF_SOURCE = protobuf-python-$(PYTHON_PROTOBUF_VERSION).tar.gz
+PYTHON_PROTOBUF_SOURCE = protobuf-python-4.$(PYTHON_PROTOBUF_VERSION).tar.gz
 PYTHON_PROTOBUF_SITE = $(PROTOBUF_SITE)
 PYTHON_PROTOBUF_LICENSE = BSD-3-Clause
 PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 20 lines · On Wed, 27 Jul 2022 09:25:00 +0200 Michael Nosthoff via buildroot…

protobuf changed it versioning scheme [1]. The Release version is now only the Minor.Patch version of the language specific version.

C++ stays on Major version 3, but python got bumped to 4. So the handling in the .mk files changed to reflect that.

python-protobuf changed it version to 4 because of some breaking changes, see[1].

[1] https://developers.google.com/protocol-buffers/docs/news/2022-05-06

--

chhanges from patch 21.3 -> 21.4:
- package version number for both packages is now the protbuf version
- Major version is contained in the SOURCE variable of the packages

Quoted 7 lines

python-protobuf runtime tested by Julien

---
 package/protobuf/protobuf.hash               | 2 +-
 package/protobuf/protobuf.mk                 | 4 ++--
 package/python-protobuf/python-protobuf.hash | 2 +-
 package/python-protobuf/python-protobuf.mk   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot