pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-anyio



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul 14 09:08:48 UTC 2026

Modified Files:
        pkgsrc/devel/py-anyio: Makefile distinfo

Log Message:
py-anyio: updated to 4.14.2

4.14.2

- Changed ``ByteReceiveStream.receive()`` implementations to raise a ``ValueError`` when
  ``max_bytes`` is not a positive integer
- Fixed ``CapacityLimiter.total_tokens`` rejecting ``float("inf")`` when the limiter was
  instantiated outside of an event loop. The adapter setter checked for infinity by
  identity (``value is math.inf``), so only the exact ``math.inf`` singleton was accepted,
  while every backend setter (using ``math.isinf()``) accepts any positive infinity
- Fixed ``to_process.run_sync()`` deadlocking when the worker function writes enough data
  to ``sys.stderr`` to fill the (undrained) pipe buffer. The worker process now redirects
  ``sys.stderr`` to ``os.devnull`` as well, matching the documented behavior
- Fixed ``TLSStream.wrap()`` matching an internationalized (unicode) host name against
  the peer certificate using IDNA 2003 (via the standard library) instead of IDNA 2008,
  which could cause the host name to be matched against the wrong certificate
- Fixed ``anyio.open_process()`` (and ``run_process()``) ignoring the ``extra_groups``
  argument, as it mistakenly passed the value of the ``group`` argument instead
- Fixed ``CapacityLimiter.acquire_nowait()`` and
  ``CapacityLimiter.acquire_nowait_on_behalf_of()`` raising ``trio.WouldBlock`` instead
  of ``anyio.WouldBlock`` on the ``trio`` backend when there are no tokens available
- Fixed ``CapacityLimiter`` on the asyncio backend over-granting tokens
  (``borrowed_tokens`` exceeding ``total_tokens`` and ``available_tokens`` going
  negative) when a non-blocking acquire was made in the window between a token
  being released and the notified waiter resuming. The freed token is now
  reserved for the woken waiter right away, so the non-blocking acquire correctly
  raises ``WouldBlock``
- Fixed unnecessary CPU spin when delivering cancellation from ``CancelScope`` on
  asyncio under certain conditions, including improper cancel scope nesting


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/py-anyio/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-anyio/Makefile
diff -u pkgsrc/devel/py-anyio/Makefile:1.36 pkgsrc/devel/py-anyio/Makefile:1.37
--- pkgsrc/devel/py-anyio/Makefile:1.36 Thu Jun 25 08:51:55 2026
+++ pkgsrc/devel/py-anyio/Makefile      Tue Jul 14 09:08:48 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2026/06/25 08:51:55 adam Exp $
+# $NetBSD: Makefile,v 1.37 2026/07/14 09:08:48 adam Exp $
 
-DISTNAME=      anyio-4.14.1
+DISTNAME=      anyio-4.14.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anyio/}

Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.32 pkgsrc/devel/py-anyio/distinfo:1.33
--- pkgsrc/devel/py-anyio/distinfo:1.32 Thu Jun 25 08:51:55 2026
+++ pkgsrc/devel/py-anyio/distinfo      Tue Jul 14 09:08:48 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.32 2026/06/25 08:51:55 adam Exp $
+$NetBSD: distinfo,v 1.33 2026/07/14 09:08:48 adam Exp $
 
-BLAKE2s (anyio-4.14.1.tar.gz) = 1e1dd0a7361b995d8039b1f2ac4ec90573130bda8f6a655516b4e96dcee4ec7f
-SHA512 (anyio-4.14.1.tar.gz) = 46561cd8e551953237ad079fc0669fbf21fc9f8bcf5e1a3dbd44f52248a9dbcb54a34a801d094994b4a22fb5470439be681f6c743b02f73dbdc27ebb1de911ce
-Size (anyio-4.14.1.tar.gz) = 254831 bytes
+BLAKE2s (anyio-4.14.2.tar.gz) = 5db93b44be803767a54283d7475e48be6e2cf8b5b8b16b74a7339563a672f517
+SHA512 (anyio-4.14.2.tar.gz) = 94f52ab81fbfab5d30937a0a7f4714f5cc9d8265f5450ccce1fff1f953f234f8c286d484f06f91e8737fa8d4d325275a1a62cce31fd66d4447c55eddcca87f2e
+Size (anyio-4.14.2.tar.gz) = 260176 bytes



Home | Main Index | Thread Index | Old Index