sharlatan pushed a commit to branch python-team
in repository guix.
commit 21c98be12228f76e8a1fa306aed9dfdab1bd408c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Nov 26 20:14:19 2024 +0000
gnu: Add python-taskgroup.
* gnu/packages/python-xyz.scm (python-taskgroup): New variable.
Change-Id: Ic92ff1e687bbb8b30238e356bf80ed944ff9f87b
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c19f3942f3..d387c08d69 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35905,6 +35905,28 @@ quite huge, this Guix package doesn't depend on
pandas. In case, just also
install @code{python-pandas}.")
(license license:expat)))
+(define-public python-taskgroup
+ (package
+ (name "python-taskgroup")
+ (version "0.0.0a4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "taskgroup" version))
+ (sha256
+ (base32 "170m7b59nxrhzs0nz6brj9brz4rzvw6k587ja0cnc9qy48nr027b"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; no tests in PyPI and Git checkout
+ (native-inputs
+ (list python-flit-core))
+ (home-page "https://github.com/graingert/taskgroup")
+ (synopsis "Backport of asyncio.TaskGroup, asyncio.Runner and
asyncio.timeout")
+ (description
+ "This package provides a backport of @code{asyncio.TaskGroup},
+@code{asyncio.Runner} and @code{asyncio.timeout}.")
+ (license license:expat)))
+
(define-public python-csb43
(package
(name "python-csb43")