devel/py-nest-asyncio - The NetBSD Packages Collection

Patch asyncio to allow nested event loops

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.

Build dependencies

devel/py-setuptools devel/py-setuptools_scm devel/py-wheel devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py310-nest-asyncio-1.5.8.tgz
NetBSD 10.0aarch64py311-nest-asyncio-1.5.8.tgz
NetBSD 10.0aarch64py312-nest-asyncio-1.5.8.tgz
NetBSD 10.0aarch64py38-nest-asyncio-1.5.8.tgz
NetBSD 10.0aarch64py39-nest-asyncio-1.5.8.tgz
NetBSD 10.0aarch64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0aarch64ebpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0alphapy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py310-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv4py311-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv4py312-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv4py39-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv4py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv4py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy310-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv6hfpy311-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv6hfpy312-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv6hfpy38-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv6hfpy39-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv6hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv6hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy310-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv7hfpy311-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv7hfpy312-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv7hfpy38-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv7hfpy39-nest-asyncio-1.5.8.tgz
NetBSD 10.0earmv7hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0earmv7hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py310-nest-asyncio-1.5.8.tgz
NetBSD 10.0i386py311-nest-asyncio-1.5.8.tgz
NetBSD 10.0i386py312-nest-asyncio-1.5.8.tgz
NetBSD 10.0i386py38-nest-asyncio-1.5.8.tgz
NetBSD 10.0i386py39-nest-asyncio-1.5.8.tgz
NetBSD 10.0i386py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0i386py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0mips64ebpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0powerpcpy310-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy311-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy38-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy39-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy310-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy311-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy312-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy38-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy39-nest-asyncio-1.5.8.tgz
NetBSD 10.0powerpcpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0powerpcpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0powerpcpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0powerpcpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0powerpcpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0sh3elpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparc64py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy310-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy311-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy312-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy38-nest-asyncio-1.6.0.tgz
NetBSD 10.0sparcpy39-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py310-nest-asyncio-1.5.8.tgz
NetBSD 10.0x86_64py311-nest-asyncio-1.5.8.tgz
NetBSD 10.0x86_64py312-nest-asyncio-1.5.8.tgz
NetBSD 10.0x86_64py38-nest-asyncio-1.5.8.tgz
NetBSD 10.0x86_64py39-nest-asyncio-1.5.8.tgz
NetBSD 10.0x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py38-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py39-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 10.0x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py310-nest-asyncio-1.5.8.tgz
NetBSD 9.0aarch64py311-nest-asyncio-1.5.8.tgz
NetBSD 9.0aarch64py312-nest-asyncio-1.5.8.tgz
NetBSD 9.0aarch64py38-nest-asyncio-1.5.8.tgz
NetBSD 9.0aarch64py39-nest-asyncio-1.5.8.tgz
NetBSD 9.0aarch64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0aarch64py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy38-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0alphapy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv4py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv4py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv4py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv4py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy310-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv6hfpy311-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv6hfpy38-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv6hfpy39-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv6hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv6hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy310-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv7hfpy311-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv7hfpy38-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv7hfpy39-nest-asyncio-1.5.8.tgz
NetBSD 9.0earmv7hfpy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy38-nest-asyncio-1.6.0.tgz
NetBSD 9.0earmv7hfpy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py310-nest-asyncio-1.5.8.tgz
NetBSD 9.0i386py311-nest-asyncio-1.5.8.tgz
NetBSD 9.0i386py38-nest-asyncio-1.5.8.tgz
NetBSD 9.0i386py39-nest-asyncio-1.5.8.tgz
NetBSD 9.0i386py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0i386py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0m68kpy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0m68kpy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0m68kpy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0powerpcpy310-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy311-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy312-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy38-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy39-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy310-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy311-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy38-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy39-nest-asyncio-1.5.8.tgz
NetBSD 9.0powerpcpy310-nest-asyncio-1.6.0.tgz
NetBSD 9.0powerpcpy311-nest-asyncio-1.6.0.tgz
NetBSD 9.0powerpcpy312-nest-asyncio-1.6.0.tgz
NetBSD 9.0powerpcpy38-nest-asyncio-1.6.0.tgz
NetBSD 9.0powerpcpy39-nest-asyncio-1.6.0.tgz
NetBSD 9.0sparc64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0sparc64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0sparc64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0sparc64py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0sparc64py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py310-nest-asyncio-1.5.8.tgz
NetBSD 9.0x86_64py311-nest-asyncio-1.5.8.tgz
NetBSD 9.0x86_64py312-nest-asyncio-1.5.8.tgz
NetBSD 9.0x86_64py38-nest-asyncio-1.5.8.tgz
NetBSD 9.0x86_64py39-nest-asyncio-1.5.8.tgz
NetBSD 9.0x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py38-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py39-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.0x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.3x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.3x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.3x86_64py312-nest-asyncio-1.6.0.tgz
NetBSD 9.3x86_64py310-nest-asyncio-1.6.0.tgz
NetBSD 9.3x86_64py311-nest-asyncio-1.6.0.tgz
NetBSD 9.3x86_64py312-nest-asyncio-1.6.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.