Port details |
- py-nest-asyncio Patch asyncio to allow nested event loops
- 1.5.5 devel
=0 1.5.4Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2020-12-19 20:07:16
- Last Update: 2022-04-16 04:19:22
- Commit Hash: 1ae9464
- Also Listed In: python
- License: BSD2CLAUSE
- Description:
- By design 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. Trying to do so
will give the error "RuntimeError: This event loop is already running".
The issue pops up in various environments, such as web servers, GUI applications
and in Jupyter notebooks.
This module patches asyncio to allow nested use of asyncio.run and
loop.run_until_complete.
WWW: https://github.com/erdewit/nest_asyncio
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}nest-asyncio>0:devel/py-nest-asyncio@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-nest-asyncio/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-nest-asyncio
- pkg install py38-nest-asyncio
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.NOTE: This is a Python port. Instead of py38-nest-asyncio listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py38-nest-asyncio
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1649423794
SHA256 (nest_asyncio-1.5.5.tar.gz) = e442291cd942698be619823a17a86a5759eabe1f8613084790de189fe9e16d65
SIZE (nest_asyncio-1.5.5.tar.gz) = 7386
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- This port is required by:
- for Run
-
- devel/py-ipykernel
- devel/py-nbclient
- www/py-notebook
- Configuration Options:
- No options to configure
- Options name:
- devel_py-nest-asyncio
- USES:
- python:3.5+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 7
Number of commits found: 7
|