[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/29: gnu: Add python-nest-asyncio.
From: |
guix-commits |
Subject: |
08/29: gnu: Add python-nest-asyncio. |
Date: |
Tue, 13 Apr 2021 07:51:49 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 2043e7bfc8786a4831247da7095c1e623ad1c4d0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 13 08:35:17 2021 +0200
gnu: Add python-nest-asyncio.
* gnu/packages/python-xyz.scm (python-nest-asyncio): New variable.
---
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 f837bf7..67b2172 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23851,6 +23851,28 @@ be kept in mind when creating it. It is easily
created, modified, or viewed wit
a text editor and easily understood and used by both programmers and
non-programmers.")
(license license:expat))) ; MIT license
+(define-public python-nest-asyncio
+ (package
+ (name "python-nest-asyncio")
+ (version "1.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nest_asyncio" version))
+ (sha256
+ (base32
+ "1anha29fcijminn5bh2icnx8x7nk39lna9wkc72262i12p2s3idg"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/erdewit/nest_asyncio")
+ (synopsis "Patch asyncio to allow nested event loops")
+ (description
+ "By design @code{asyncio} does not allow its event loop to be nested.
+This presents a practical problem: when in an environment where the event loop
+is already running it's impossible to run tasks and wait for the result. This
+module patches @code{asyncio} to allow nested use of @code{asyncio.run} and
+@code{loop.run_until_complete}.")
+ (license license:bsd-3)))
+
(define-public python-parallel
(package
(name "python-parallel")
- branch master updated (85788dd -> 9e7f09c), guix-commits, 2021/04/13
- 02/29: gnu: python-jupyter-core: Update to 4.7.1., guix-commits, 2021/04/13
- 01/29: gnu: python-terminado: Update to 0.9.4., guix-commits, 2021/04/13
- 13/29: gnu: Remove python2-matplotlib-documentation., guix-commits, 2021/04/13
- 14/29: gnu: Remove python2-ipyparallel., guix-commits, 2021/04/13
- 17/29: gnu: Remove python2-ipykernel., guix-commits, 2021/04/13
- 05/29: gnu: python-widgetsnbextension: Add missing inputs., guix-commits, 2021/04/13
- 08/29: gnu: Add python-nest-asyncio.,
guix-commits <=
- 11/29: gnu: python-nbconvert: Update to 6.0.7., guix-commits, 2021/04/13
- 10/29: gnu: Add python-nbclient., guix-commits, 2021/04/13
- 19/29: gnu: Add python-pygments-github-lexers., guix-commits, 2021/04/13
- 23/29: gnu: python-testpath: Update to 0.4.4., guix-commits, 2021/04/13
- 03/29: gnu: python-jupyter-client: Update to 6.1.12., guix-commits, 2021/04/13
- 21/29: gnu: Add python-sphinxcontrib-github-alt., guix-commits, 2021/04/13
- 24/29: gnu: Add python-deprecation., guix-commits, 2021/04/13
- 07/29: gnu: python-notebook: Update inputs., guix-commits, 2021/04/13
- 20/29: gnu: Add python-requests-unixsocket., guix-commits, 2021/04/13
- 26/29: gnu: Add python-jupyterlab-widgets., guix-commits, 2021/04/13