BSD Ports

www/py-asgiref 3.12.1 NetBSD

Contains various reference ASGI implementations

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
b7856a9ce1
License
modified-bsd
Categories
www, python
Package size
47.7 KiB, 246.2 KiB installed

Description

Contains various reference ASGI implementations, including: * A base channel layer, asgiref.base_layer * An in-memory channel layer, asgiref.inmemory * WSGI-to-ASGI and ASGI-to-WSGI adapters, in asgiref.wsgi

In the other systems

The newest version among them is 3.12.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwww/py-asgiref3.12.1 newestnone known-[email protected]2026-10-24
FreeBSDwww/py-asgiref3.12.1 newestnone known-[email protected]2026-07-25
OpenBSDwww/py-asgiref3.11.0 behind since 2026-07-25no data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlywww/py-asgiref3.8.1_1 behind since 2026-07-25none known-[email protected]-
MidnightBSDwww/py-asgiref3.7.2_2 behind since 2026-07-25no data-[email protected]-
HardenedBSDwww/py-asgiref3.12.1 newestno data-[email protected]-
GhostBSDwww/py-asgiref3.12.1 newestno data-[email protected]-

Compare across BSDs

Version history 2

  1. 3.13.0 b7856a9ce1
  2. 3.12.1 facdfb3662

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-asgiref

From pkgsrc:

cd /usr/pkgsrc/www/py-asgiref && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.12.1
NetBSD 10.1 aarch643.12.1
SmartOS / illumos x86_643.13.0
macOS 15 arm643.12.1

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-asgiref-3.12.1, py313-asgiref-3.12.1, py314-asgiref-3.12.1

Commit history 3

DateCommitCreditsLog message
b7856a9ce1 adam py-asgiref: updated to 3.13.0
3.13.0 (2026-10-23) * It is now possible to nest ``ThreadSensitiveContext`` by providing an explicit ``executor`` for thread-sensitive tasks. This enables moving a block of such work away from the parent context's shared worker. The provided executor must run work sequentially and on a single thread, as per ``ThreadPoolExecutor(max_workers=1)``, and the calling code is responsible for managing the executor's lifecycle. See the README for more details. * ``Local`` attribute access is now 2-3x faster. ``Local(...)`` now uses one of two internal specialisations, selected by ``thread_critical``, instead of checking the mode on every access. As a result ``Local`` is now marked ``@final`` and raises ``TypeError`` if …
692dc6243b adam py-asgiref: forget Python 3.10
facdfb3662 adam py-asgiref: updated to 3.12.1
3.12.1 (2026-07-14) * Restored the previous SyncToAsync.__call__ internal code shape, which was relied on by some APM services. Note, this change was available whilst maintaining the underlying fix. It does not constitute an API stability promise. Ideally APMs are *not* monkey patching internal APIs, and future changes will be made here if needed. 3.12.0 (2026-07-14) * ``AsyncToSync`` no longer captures the running event loop on instantiation. This resolves a series of deadlocks that users experienced after asgiref 3.9.0, particularly with pytest-asyncio. pytest-asyncio stops the event loop between tests, and long-running unawaited futures could find themselves trying to schedule work onto a stopped loop, and so would never complete. Ideally, code …