devel/py-nest-asyncio 1.6.0_1 FreeBSD
Patch asyncio to allow nested event loops
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- devel, python
- Package size
- 10.8 KiB, 37.8 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-nest-asyncio | 1.6.0_1 |
| OpenBSD | devel/py-nest-asyncio | 1.5.4p3 |
| NetBSD | devel/py-nest-asyncio | 1.6.0nb1 |
| DragonFly | devel/py-nest-asyncio | 1.6.0_1 |
| MidnightBSD | devel/py-nest-asyncio | 1.6.0_1 |
| HardenedBSD | devel/py-nest-asyncio | 1.6.0_1 |
| GhostBSD | devel/py-nest-asyncio | 1.6.0_1 |
Install
Binary package:
pkg install py312-nest-asyncio
From the ports tree:
cd /usr/ports/devel/py-nest-asyncio/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-nest-asyncio>0:devel/py-nest-asyncio
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.6.0_1 | 1.6.0_1 | 1.5.6 | 1.6.0_1 | 1.6.0_1 |
| FreeBSD:14:quarterly | 1.6.0_1 | 1.6.0_1 | n/a | 1.6.0_1 | 1.6.0_1 |
| FreeBSD:15:latest | 1.6.0_1 | 1.6.0_1 | n/a | 1.6.0_1 | 1.6.0_1 |
| FreeBSD:15:quarterly | 1.6.0_1 | 1.6.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.6.0_1 | 1.6.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=42: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.3: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 7
Required by 55
- deskutils/py-qmd
- devel/py-nbclassic
- graphics/py-olmocr
- misc/colibri
- misc/comfyui
- misc/hermes-agent
- misc/py-codecarbon
- misc/py-compressed-tensors
- misc/py-kokoro
- misc/py-llama-index-core
- misc/py-llama-index-embeddings-huggingface
- misc/py-llama-index-llms-ibm
- misc/py-llama-index-llms-openai
- misc/py-llama-index-llms-openai-like
- misc/py-optimum
- misc/py-peft
- misc/py-sagemaker
- misc/py-sagemaker-mlops
- misc/py-sagemaker-serve
- misc/py-sagemaker-train
- misc/py-sentence-transformers
- misc/py-transformers
- misc/py-vllm
- misc/py-xgrammar
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-google-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-ibm-models
- textproc/py-docling-jobkit
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-ocr
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-parse
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/py-docling-slim
- textproc/py-extended-docling
- textproc/py-langchain-docling
- www/py-dash
- www/py-dash-bootstrap-components
- www/py-firecrawl-py
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| nest_asyncio-1.6.0.tar.gz | 7418 | 6f172d5449aca15afd6c646851f4e31e02c598d553a667e38cafa997cfec55fe |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.