guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6e55c13795222039c68fbceeef4efc9fe25c2daa
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Oct 26 10:33:27 2025 +0000
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
---
gnu/packages/protobuf.scm | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index fdb355f5bf..2b18129a4f 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -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