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

commit 3e5cd32193024c583976fad3b80461032cdfe26c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jan 19 22:52:47 2026 +0000

    gnu: Add python-wait-for2.
    
    * gnu/packages/python-xyz.scm (python-wait-for2): New variable.
    
    Change-Id: I11e048274e08e479afce345fa1d75794f4f5672c
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a448fed44f..b3afaab7e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -40175,6 +40175,33 @@ built-in pprint.pprint, it produces compact, 
well-formatted representations
 even for complex custom types.")
     (license license:asl2.0)))
 
+(define-public python-wait-for2
+  (package
+    (name "python-wait-for2")
+    (version "0.4.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/Traktormaster/wait-for2";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08911yby18sw2y6njn1fqlwvf9j2aay0p5d3wykdlcj36nyxfv1w"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-pytest-asyncio
+           python-setuptools))
+    (home-page "https://github.com/Traktormaster/wait-for2";)
+    (synopsis "Asyncio wait_for handling simultaneous cancellation and future 
completion")
+    (description
+     "This package provide an alternate implementation of 
@code{asyncio.wait_for()}
+introduced in Python 3.12.  It handles several edge cases like simultaneous
+cancellation of wait and completion of future differently and consistently
+across Python versions 3.7+.")
+    (license license:asl2.0)))
+
 (define-public python-wand
   (package
     (name "python-wand")

Reply via email to