Skip to contentSkip to conversation

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

PATCH Applied James Hilliard 3 participants 3 messages Sep 22, 2021

lore
Share & tools
lore
#0 lore raw

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

python-protobuf no longer supports python2, so depend on BR2_PACKAGE_PYTHON3. Reverse dependencies already depend on python3.

---
Changes v1 -> v2:
- depend on BR2_PACKAGE_PYTHON3

---
 package/protobuf/protobuf.hash               | 2 +-
 package/protobuf/protobuf.mk                 | 2 +-
 package/python-protobuf/Config.in            | 1 +
 package/python-protobuf/python-protobuf.hash | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)
package/protobuf/protobuf.hash +1 -1
index 2a65156cb3..777f19d6b9 100644
@@ -1,3 +1,3 @@
 # Locally calculated
 sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
-sha256  51cec99f108b83422b7af1170afd7aeb2dd77d2bcbb7b6bad1f92509e9ccf8cb  protobuf-cpp-3.17.3.tar.gz
+sha256  7308590dbb95e77066b99c5674eed855c8257e70658d2af586f4a81ff0eea2b1  protobuf-cpp-3.18.0.tar.gz
package/protobuf/protobuf.mk +1 -1
index fa8ea890e2..bb9c6bf37c 100644
@@ -7,7 +7,7 @@
 # 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.17.3
+PROTOBUF_VERSION = 3.18.0
 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
 PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION)
 PROTOBUF_LICENSE = BSD-3-Clause
package/python-protobuf/Config.in +1 -0
index 1af82112b4..9b20881196 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF
 	bool "python-protobuf"
 	# host-protobuf only builds on certain architectures
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	depends on BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	help
 	  Python implementation of the Google Protocol Buffers.
package/python-protobuf/python-protobuf.hash +1 -1
index 8eca476884..e9a5ac4904 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  3253c6d17ec0bb6f6382e555cf5ca0a9ffab8d81b691f100f96ce9f5e753018e  protobuf-python-3.17.3.tar.gz
+sha256  4f792034070915819065c162a310142d66835333824e2e0a2ca26ed54b013408  protobuf-python-3.18.0.tar.gz
 sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by Michael Nosthoff on v2 1/1
#1 lore raw

Hi,

Quoted 54 lines · James Hilliard

python-protobuf no longer supports python2, so depend on BR2_PACKAGE_PYTHON3. Reverse dependencies already depend on python3.

---
Changes v1 -> v2:
- depend on BR2_PACKAGE_PYTHON3

---
  package/protobuf/protobuf.hash               | 2 +-
  package/protobuf/protobuf.mk                 | 2 +-
  package/python-protobuf/Config.in            | 1 +
  package/python-protobuf/python-protobuf.hash | 2 +-
  4 files changed, 4 insertions(+), 3 deletions(-)
package/protobuf/protobuf.hash +1 -1
index 2a65156cb3..777f19d6b9 100644
@@ -1,3 +1,3 @@
  # Locally calculated
  sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
-sha256  51cec99f108b83422b7af1170afd7aeb2dd77d2bcbb7b6bad1f92509e9ccf8cb  protobuf-cpp-3.17.3.tar.gz
+sha256  7308590dbb95e77066b99c5674eed855c8257e70658d2af586f4a81ff0eea2b1  protobuf-cpp-3.18.0.tar.gz
package/protobuf/protobuf.mk +1 -1
index fa8ea890e2..bb9c6bf37c 100644
@@ -7,7 +7,7 @@
  # 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.17.3
+PROTOBUF_VERSION = 3.18.0
  PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
  PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION)
  PROTOBUF_LICENSE = BSD-3-Clause
package/python-protobuf/Config.in +1 -0
index 1af82112b4..9b20881196 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF
  	bool "python-protobuf"
  	# host-protobuf only builds on certain architectures
  	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	depends on BR2_PACKAGE_PYTHON3
  	select BR2_PACKAGE_PYTHON_SIX # runtime
  	help
  	  Python implementation of the Google Protocol Buffers.
package/python-protobuf/python-protobuf.hash +0 -0
index 8eca476884..e9a5ac4904 100644

package/python-protobuf/python-protobuf.hash line 3

Quoted 4 lines
package/python-protobuf/python-protobuf.hash +1 -1
@@ -1,3 +1,3 @@
  # Locally calculated
-sha256  3253c6d17ec0bb6f6382e555cf5ca0a9ffab8d81b691f100f96ce9f5e753018e  protobuf-python-3.17.3.tar.gz
+sha256  4f792034070915819065c162a310142d66835333824e2e0a2ca26ed54b013408  protobuf-python-3.18.0.tar.gz
  sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE

That was quick :)

Regards,
Michael

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to James Hilliard
Quoted 5 lines · James Hilliard

python-protobuf no longer supports python2, so depend on BR2_PACKAGE_PYTHON3. Reverse dependencies already depend on python3.

Applied to master, thanks.

Regards,
Arnout

Quoted 50 lines

---
Changes v1 -> v2:
- depend on BR2_PACKAGE_PYTHON3

---
  package/protobuf/protobuf.hash               | 2 +-
  package/protobuf/protobuf.mk                 | 2 +-
  package/python-protobuf/Config.in            | 1 +
  package/python-protobuf/python-protobuf.hash | 2 +-
  4 files changed, 4 insertions(+), 3 deletions(-)
package/protobuf/protobuf.hash +1 -1
index 2a65156cb3..777f19d6b9 100644
@@ -1,3 +1,3 @@
  # Locally calculated
  sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
-sha256  51cec99f108b83422b7af1170afd7aeb2dd77d2bcbb7b6bad1f92509e9ccf8cb  protobuf-cpp-3.17.3.tar.gz
+sha256  7308590dbb95e77066b99c5674eed855c8257e70658d2af586f4a81ff0eea2b1  protobuf-cpp-3.18.0.tar.gz
package/protobuf/protobuf.mk +1 -1
index fa8ea890e2..bb9c6bf37c 100644
@@ -7,7 +7,7 @@
  # 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.17.3
+PROTOBUF_VERSION = 3.18.0
  PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
  PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION)
  PROTOBUF_LICENSE = BSD-3-Clause
package/python-protobuf/Config.in +1 -0
index 1af82112b4..9b20881196 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_PROTOBUF
  	bool "python-protobuf"
  	# host-protobuf only builds on certain architectures
  	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	depends on BR2_PACKAGE_PYTHON3
  	select BR2_PACKAGE_PYTHON_SIX # runtime
  	help
  	  Python implementation of the Google Protocol Buffers.
package/python-protobuf/python-protobuf.hash +0 -0
index 8eca476884..e9a5ac4904 100644

package/python-protobuf/python-protobuf.hash line 3

Quoted 4 lines
package/python-protobuf/python-protobuf.hash +1 -1
@@ -1,3 +1,3 @@
  # Locally calculated
-sha256  3253c6d17ec0bb6f6382e555cf5ca0a9ffab8d81b691f100f96ce9f5e753018e  protobuf-python-3.17.3.tar.gz
+sha256  4f792034070915819065c162a310142d66835333824e2e0a2ca26ed54b013408  protobuf-python-3.18.0.tar.gz
  sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot