gnu: python-proto-plus: Update to 1.26.1.

* gnu/packages/protobuf.scm (python-proto-plus): Update to 1.26.1.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-flags>: Skip one test.
[native-inputs]: Add python-pytest, python-pytz, and python-setuptools.

Change-Id: Ib2920538afc6d412e4b83efc81d6ff5663b57263
This commit is contained in:
Sharlatan Hellseher 2025-10-26 10:33:27 +00:00
parent ed911d2be4
commit 6e55c13795
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -56,6 +56,7 @@
#:use-module (gnu packages ruby-check)
#:use-module (gnu packages ruby-xyz)
#:use-module (gnu packages serialization)
#:use-module (gnu packages time)
#:use-module (srfi srfi-1))
(define-public fstrm
@ -619,15 +620,27 @@ structured data.")
(define-public python-proto-plus
(package
(name "python-proto-plus")
(version "1.20.3")
(version "1.26.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "proto-plus" version))
(uri (pypi-uri "proto_plus" version))
(sha256
(base32 "1raad9qnmfva94nm33k40bcwrckgljbfky5pdwh4xhg6r5dj52zj"))))
(build-system python-build-system)
(propagated-inputs (list python-protobuf))
(base32 "04m0jsy1cf7fqzafswvcqvwihgfyp9xkrqlr71vql260qjj1b991"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; Not packaged <https://github.com/google/pytype>:
;; ModuleNotFoundError: No module named 'google.type'
#~(list "--deselect=tests/test_fields_enum.py::test_unwrapped_enum_fields")))
(native-inputs
(list python-pytest
;; python-pytype
python-pytz
python-setuptools))
(propagated-inputs
(list python-protobuf))
(home-page "https://github.com/googleapis/proto-plus-python.git")
(synopsis "Pythonic protocol buffers")
(description "This is a wrapper around protocol buffers. Protocol buffers