notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-nest-asyncio2 Patch asyncio to allow nested event loops
1.7.2 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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:
  1. py311-setuptools-scm>=3.4.3 : devel/py-setuptools-scm@py311
  2. py311-setuptools>=42 : devel/py-setuptools@py311
  3. py311-wheel>=0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/n/nest_asyncio2/
  2. https://pypi.org/packages/source/n/nest_asyncio2/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.2
27 May 2026 18:23:34
commit hash: bbf02593e14e5ad0bd5422e508e29ca7bfafa4f4commit hash: bbf02593e14e5ad0bd5422e508e29ca7bfafa4f4commit hash: bbf02593e14e5ad0bd5422e508e29ca7bfafa4f4commit hash: bbf02593e14e5ad0bd5422e508e29ca7bfafa4f4 files touched by this commit
Dan Langille (dvl) search for other commits by this committer
devel/py-nest-asyncio2: Add new port

nest-asyncio2 is a fork of the unmaintained nest_asyncio

Number of commits found: 1