Patch asyncio to allow nested event loops
34.81 KB
built 2026-10-17 11:22:42 GMT
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.
Dependencies
16 totalRequires15
- (python3dist(tomli) if python3-devel < 3.11)
- pyproject-rpm-macros
- pyproject-rpm-macros
- python3-devel
- python3-devel
- python3dist(packaging)
- python3dist(pip) >= 19
- python3dist(setuptools) >= 42
- python3dist(setuptools-scm) >= 3.4.3
- python3dist(setuptools-scm[toml]) >= 3.4.3
- python3dist(wheel)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
Provides1
- python3-nest-asyncio = 1.6.0-13.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| nest_asyncio-1.6.0.tar.gz | 7.24 KB |
| python-nest-asyncio.spec | 5.92 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
