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:           Fri Sep 26 08:09:28 UTC 2025

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

Log Message:
py-anyio: updated to 4.11.0

4.11.0

- Added support for cancellation reasons (the ``reason`` parameter to
  ``CancelScope.cancel()``)
- Bumped the minimum version of Trio to v0.31.0
- Added the ability to enter the event loop from foreign (non-worker) threads by
  passing the return value of ``anyio.lowlevel.current_token()`` to
  ``anyio.from_thread.run()`` and ``anyio.from_thread.run_sync()`` as the ``token``
  keyword argument
- Added pytest option (``anyio_mode = "auto"``) to make the pytest plugin automatically
  handle all async tests
- Added the ``anyio.Condition.wait_for()`` method for feature parity with asyncio
- Changed the default type argument of ``anyio.abc.TaskStatus`` from ``Any`` to ``None``
- Fixed TCP listener behavior to guarantee the same ephemeral port is used for all
  socket listeners when ``local_port=0``
- Fixed inconsistency between Trio and asyncio where a TCP stream that previously
  raised a ``BrokenResourceError`` on ``send()`` would still raise
  ``BrokenResourceError`` after the stream was closed on asyncio, but
  ``ClosedResourceError`` on Trio. They now both raise a ``ClosedResourceError`` in this
  scenario.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.26 -r1.27 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.29 pkgsrc/devel/py-anyio/Makefile:1.30
--- pkgsrc/devel/py-anyio/Makefile:1.29 Tue Aug  5 05:53:28 2025
+++ pkgsrc/devel/py-anyio/Makefile      Fri Sep 26 08:09:28 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2025/08/05 05:53:28 adam Exp $
+# $NetBSD: Makefile,v 1.30 2025/09/26 08:09:28 adam Exp $
 
-DISTNAME=      anyio-4.10.0
+DISTNAME=      anyio-4.11.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anyio/}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/agronholm/a
 COMMENT=       High level compatibility layer for multiple asynchronous event loops
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=77:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.8:../../www/py-idna
 DEPENDS+=      ${PYPKGPREFIX}-sniffio>=1.1:../../misc/py-sniffio

Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.26 pkgsrc/devel/py-anyio/distinfo:1.27
--- pkgsrc/devel/py-anyio/distinfo:1.26 Tue Aug  5 05:53:28 2025
+++ pkgsrc/devel/py-anyio/distinfo      Fri Sep 26 08:09:28 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2025/08/05 05:53:28 adam Exp $
+$NetBSD: distinfo,v 1.27 2025/09/26 08:09:28 adam Exp $
 
-BLAKE2s (anyio-4.10.0.tar.gz) = 58f90465dccd00ca831b68df8c78174495add9fa8aada5fb0370c939752e0c22
-SHA512 (anyio-4.10.0.tar.gz) = c696ce5216ff3b93114a53a938461c63df402ea099528e876d31af71c46242ed2b488819accb073c1e312dcad023b5836e5d462992ea01bf7d87b0b9ef3186ed
-Size (anyio-4.10.0.tar.gz) = 213252 bytes
+BLAKE2s (anyio-4.11.0.tar.gz) = bac24649d5e647ad5deefe233e2258962f286939ddf5fb90d7ad9c839c3a58c3
+SHA512 (anyio-4.11.0.tar.gz) = 8286a9dc7e1299dc758146fcbbd83a8be717c2e3a12fd738c05ede84e001131091221425dbd5c966027288c41f66b87a7241c2327353d407bc4f13f5e1d96c90
+Size (anyio-4.11.0.tar.gz) = 219094 bytes



Home | Main Index | Thread Index | Old Index