{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Patch asyncio to allow nested event loops","compare":"/compare/py312-nest-asyncio/index.json","dependentCount":null,"description":"By design asyncio does not allow its event loop to be nested. This presents a\npractical problem: When in an environment where the event loop is already\nrunning it's impossible to run tasks and wait for the result. Trying to do so\nwill give the error \"RuntimeError: This event loop is already running\".\n\nThe issue pops up in various environments, such as web servers, GUI\napplications and in Jupyter notebooks.\n\nThis module patches asyncio to allow nested use of asyncio.run and\nloop.run_until_complete.","flavors":[{"comment":"Patch asyncio to allow nested event loops","pkgName":"py312-nest-asyncio-1.6.0nb1"},{"comment":"Patch asyncio to allow nested event loops","pkgName":"py313-nest-asyncio-1.6.0nb1"},{"comment":"Patch asyncio to allow nested event loops","pkgName":"py314-nest-asyncio-1.6.0nb1"}],"html":"https://daemonports.org/netbsd/devel/py-nest-asyncio/","kind":"port","lastUpdate":null,"license":["modified-bsd"],"maintainer":"pkgsrc-users@NetBSD.org","name":"py311-nest-asyncio","newest":true,"newestVersion":"1.6.0","noVulnData":false,"origin":"devel/py-nest-asyncio","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-nest-asyncio","path":"/devel/py-nest-asyncio/","system":"FreeBSD","version":"1.6.0_1"},{"behindSince":"2026-07-14","maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","noVulnData":true,"origin":"devel/py-nest-asyncio","path":"/openbsd/devel/py-nest-asyncio/","system":"OpenBSD","version":"1.5.4p3"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-nest-asyncio","path":"/dragonfly/devel/py-nest-asyncio/","system":"DragonFly","version":"1.6.0_1"},{"maintainer":"ports@MidnightBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-nest-asyncio","path":"/midnightbsd/devel/py-nest-asyncio/","system":"MidnightBSD","updated":"2026-07-14","version":"1.6.0_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-nest-asyncio","path":"","system":"HardenedBSD","version":"1.6.0_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-nest-asyncio","path":"","system":"GhostBSD","version":"1.6.0_1"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["1.6.0nb1"]},{"repo":"NetBSD 10.1 aarch64","versions":["1.6.0nb1"]},{"repo":"SmartOS / illumos x86_64","versions":["1.6.0nb1"]},{"repo":"macOS 15 arm64","versions":["1.6.0nb1"]}],"pkgName":"py311-nest-asyncio-1.6.0nb1","related":["devel/py-nest-asyncio2"],"repository":"pkgsrc","requiredBy":["www/py-nbclassic"],"requiredByCount":1,"runDepends":["lang/python311"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"1.6.0nb1","versions":null,"vulnerabilities":null,"www":"https://github.com/erdewit/nest_asyncio"}
