guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2.


From: Gisement
Subject: [bug#72125] [PATCH 1/4] gnu: python-protobuf: Update to 5.27.2.
Date: Mon, 15 Jul 2024 19:28:54 +0200

Change-Id: Ibaf04dd3d66789ab0e2407e25e1a79e55f4d6e4d
---
 gnu/packages/protobuf.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/protobuf.scm b/gnu/packages/protobuf.scm
index d47b67fa61..ef91a1b838 100644
--- a/gnu/packages/protobuf.scm
+++ b/gnu/packages/protobuf.scm
@@ -429,21 +429,21 @@ (define-public python-nanopb
 (define-public python-protobuf
   (package
     (name "python-protobuf")
-    (version "3.20.2")
+    (version "5.27.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "protobuf" version))
        (sha256
-        (base32
-         "0l0p2lczs5iahgkhzm3298pjl49bk9iiwngkglg7ll7fkqqwlbbi"))))
+        (base32 "0517bvr76daiwnz3jb099mckmklh5kzjg0pjfmh8bbxr4vrdxv7k"))))
     (build-system python-build-system)
     (inputs (list protobuf))
+    ;; The library moved to upb, a C implementation faster than C++ and
+    ;; native python. It requires no special installation.
     (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")))
+     ;; There are no tests.
+     (list
+      #:tests? #f))
     (home-page "https://github.com/google/protobuf";)
     (synopsis "Protocol buffers is a data interchange format")
     (description
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]