| Port details |
- py-nest-asyncio2 Patch asyncio to allow nested event loops
- 1.7.2 devel
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: dvl@FreeBSD.org
 - Port Added: 2026-05-27 18:24:07
- Last Update: 2026-05-27 18:23:34
- Commit Hash: bbf0259
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://github.com/Chaoses-Ib/nest-asyncio2
- Description:
- nest-asyncio2 is a fork of the unmaintained nest_asyncio.
All interfaces are kept as they are. To migrate, you just need to change the
package and module name to nest_asyncio2.
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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}nest-asyncio2>0:devel/py-nest-asyncio2@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-nest-asyncio2/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-nest-asyncio2
- pkg install py311-nest-asyncio2
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 py311-nest-asyncio2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-nest-asyncio2
- Package flavors (<flavor>: <package>)
- py311: py311-nest-asyncio2
- distinfo:
- TIMESTAMP = 1779905446
SHA256 (nest_asyncio2-1.7.2.tar.gz) = 1921d70b92cc4612c374928d081552efb59b83d91b2b789d935c665fa01729a8
SIZE (nest_asyncio2-1.7.2.tar.gz) = 14743
No package information for this port in our database- Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools-scm>=3.4.3 : devel/py-setuptools-scm@py311
- py311-setuptools>=42 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-nest-asyncio2
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
1.7.2 27 May 2026 18:23:34
    |
Dan Langille (dvl)  |
devel/py-nest-asyncio2: Add new port
nest-asyncio2 is a fork of the unmaintained nest_asyncio |
Number of commits found: 1
|