guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit a8d58a70567327f20db91108223896db5eac62b1
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Sep 21 23:51:24 2025 +0200

    gnu: Add python-etcd3.
    
    * gnu/packages/python-xyz.scm (python-etcd3): New variable.
    
    Change-Id: Ic41bfd08d26c549dcaab4043448fe93a506e7a95
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4f133e20d6..8f6d2ca242 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -275,6 +275,7 @@
   #:use-module (gnu packages rdf)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages regex)
+  #:use-module (gnu packages rpc)
   #:use-module (gnu packages rust)
   #:use-module (gnu packages rust-apps)
   #:use-module (gnu packages scanner)
@@ -5854,6 +5855,35 @@ command-line script you can get the latest strip of a 
webcomic, catch-up to the
 downloaded, or download a strip for a particular date or index, if possible.")
     (license license:expat)))
 
+(define-public python-etcd3
+  (package
+    (name "python-etcd3")
+    (version "0.12.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/kragniz/python-etcd3";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "06hw0kcl77v8px5w2hfnf2l9gjnjrspjb49kx3jqa382z7wzdkk0"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX: Tests require the etcd package.
+      #:tests? #f
+      #:test-backend #~'custom
+      #:test-flags                      ; Taken from tox.ini.
+      #~(list "pifpaf" "-e" "python" "run" "etcd" "--cluster" "--" "pytest")))
+    (propagated-inputs (list python-grpcio python-protobuf python-tenacity))
+    (native-inputs (list python-mock python-pifpaf python-pytest 
python-setuptools))
+    (home-page "https://github.com/kragniz/python-etcd3";)
+    (synopsis "Python client for the etcd3 API")
+    (description
+     "This package provide a Python client for the @code{etcd3} API.")
+    (license license:asl2.0)))
+
 (define-public python-et-xmlfile
   (package
     (name "python-et-xmlfile")

Reply via email to