gnu: python-protobuf: Update to 3.20.3.

* gnu/packages/protobuf.scm (python-protobuf): Update to 3.20.3.
[inputs]: Use protobuf-3.20.
[arguments]: Do not use C++ implementation.

Change-Id: I21d140ce2959b009026847b1ad73c15dfa23fd91
This commit is contained in:
Ricardo Wurmus 2025-02-12 11:31:03 +01:00 committed by Andreas Enge
parent 0c7debdcd1
commit b0faa68d52
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2,7 +2,7 @@
;;; Copyright © 2014, 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017, 2018, 2019, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017-2019, 2022-2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
@ -467,21 +467,18 @@ mechanism for serializing structured data.")
(define-public python-protobuf
(package
(name "python-protobuf")
(version "3.20.2")
(version "3.20.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "protobuf" version))
(sha256
(base32
"0l0p2lczs5iahgkhzm3298pjl49bk9iiwngkglg7ll7fkqqwlbbi"))))
"1wh5f4rnzbv46xy1rx62cprhg5hqf2py06s9b7rfpzwwki12fd1f"))))
(build-system python-build-system)
(inputs (list protobuf))
(arguments
`(;; Favor C++ implementation from protobuf over the native Python
;; implementation. The additional dependency yields significant
;; performance improvements for some workloads.
#:configure-flags '("--cpp_implementation")))
;; The C++ implementation is not compatible with Python 3.11, so we cannot
;; pass --cpp_implementation any more.
(inputs (list protobuf-3.20))
(home-page "https://github.com/google/protobuf")
(synopsis "Protocol buffers is a data interchange format")
(description