devel/py-nest-asyncio 1.6.0_1 DragonFly
Patch asyncio to allow nested event loops
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE
- Categories
- devel, python
- Package size
- 9.9 KiB, 39.4 KiB installed
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.
In the other systems
The newest version among them is 1.6.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-nest-asyncio | 1.6.0_1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/py-nest-asyncio | 1.6.0_1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/py-nest-asyncio | 1.5.4p3 behind since 2026-07-14 | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/py-nest-asyncio | 1.6.0nb1 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/py-nest-asyncio | 1.6.0_1 newest | no data | - | [email protected] | 2026-07-14 |
| HardenedBSD | devel/py-nest-asyncio | 1.6.0_1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-nest-asyncio | 1.6.0_1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-nest-asyncio
From DPorts:
cd /usr/dports/devel/py-nest-asyncio && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.