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:           Mon May 27 14:46:28 UTC 2024

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

Log Message:
py-anyio: updated to 4.4.0

**4.4.0**

- Added the ``BlockingPortalProvider`` class to aid with constructing synchronous
  counterparts to asynchronous interfaces that would otherwise require multiple blocking
  portals
- Added ``__slots__`` to ``AsyncResource`` so that child classes can use ``__slots__``
- Added the ``TaskInfo.has_pending_cancellation()`` method
- Fixed erroneous ``RuntimeError: called 'started' twice on the same task status``
  when cancelling a task in a TaskGroup created with the ``start()`` method before
  the first checkpoint is reached after calling ``task_status.started()``
- Fixed two bugs with ``TaskGroup.start()`` on asyncio:

  * Fixed erroneous ``RuntimeError: called 'started' twice on the same task status``
    when cancelling a task in a TaskGroup created with the ``start()`` method before
    the first checkpoint is reached after calling ``task_status.started()``
  * Fixed the entire task group being cancelled if a ``TaskGroup.start()`` call gets
    cancelled
- Fixed a race condition that caused crashes when multiple event loops of the same
  backend were running in separate threads and simultaneously attempted to use AnyIO for
  their first time
- Fixed cancellation delivery on asyncio incrementing the wrong cancel scope's
  cancellation counter when cascading a cancel operation to a child scope, thus failing
  to uncancel the host task
- Fixed erroneous ``TypedAttributeLookupError`` if a typed attribute getter raises
  ``KeyError``
- Fixed the asyncio backend not respecting the ``PYTHONASYNCIODEBUG`` environment
  variable when setting the ``debug`` flag in ``anyio.run()``
- Fixed ``SocketStream.receive()`` not detecting EOF on asyncio if there is also data in
  the read buffer
- Fixed ``MemoryObjectStream`` dropping an item if the item is delivered to a recipient
  that is waiting to receive an item but has a cancellation pending
- Emit a ``ResourceWarning`` for ``MemoryObjectReceiveStream`` and
  ``MemoryObjectSendStream`` that were garbage collected without being closed
- Fixed ``MemoryObjectSendStream.send()`` not raising ``BrokenResourceError`` when the
  last corresponding ``MemoryObjectReceiveStream`` is closed while waiting to send a
  falsey item


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.18 -r1.19 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.20 pkgsrc/devel/py-anyio/Makefile:1.21
--- pkgsrc/devel/py-anyio/Makefile:1.20 Mon Feb 19 11:25:23 2024
+++ pkgsrc/devel/py-anyio/Makefile      Mon May 27 14:46:28 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/02/19 11:25:23 adam Exp $
+# $NetBSD: Makefile,v 1.21 2024/05/27 14:46:28 adam Exp $
 
-DISTNAME=      anyio-4.3.0
+DISTNAME=      anyio-4.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anyio/}
@@ -10,6 +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_scm>=6.4:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.8:../../www/py-idna

Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.18 pkgsrc/devel/py-anyio/distinfo:1.19
--- pkgsrc/devel/py-anyio/distinfo:1.18 Mon Feb 19 11:25:23 2024
+++ pkgsrc/devel/py-anyio/distinfo      Mon May 27 14:46:28 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2024/02/19 11:25:23 adam Exp $
+$NetBSD: distinfo,v 1.19 2024/05/27 14:46:28 adam Exp $
 
-BLAKE2s (anyio-4.3.0.tar.gz) = 6194e82a97eff4260ad707f278dfcbd0d7f203d26fbef25684dc6bef3134f9ad
-SHA512 (anyio-4.3.0.tar.gz) = 26ff552a03b24b63c7c99cffcec61e97289eacba3ad2fc7a3c1dde8cfaffd9a8d621b867429901c12d7cef912d3807db134dbeb9c5ba619921160f6d5df4d02f
-Size (anyio-4.3.0.tar.gz) = 159642 bytes
+BLAKE2s (anyio-4.4.0.tar.gz) = e138019d8c983bce09f9c99b9ca55cd3aa039b31e285250b0a40bc7eeb74b4ec
+SHA512 (anyio-4.4.0.tar.gz) = db8ad7a4faf257269de9975c3a6325023a95255a8bfe1a9642221080f44a2487160f3c0e8b220d637816e9eb3641550393a3c80b23bddafc33fd9ebe9a23b33d
+Size (anyio-4.4.0.tar.gz) = 163930 bytes



Home | Main Index | Thread Index | Old Index