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 Aug 5 05:53:28 UTC 2025
Modified Files:
pkgsrc/devel/py-anyio: Makefile PLIST distinfo
Log Message:
py-anyio: updated to 4.10.0
4.10.0
- Added the ``feed_data()`` method to the ``BufferedByteReceiveStream`` class, allowing
users to inject data directly into the buffer
- Added various class methods to wrap existing sockets as listeners or socket streams:
* ``SocketListener.from_socket()``
* ``SocketStream.from_socket()``
* ``UNIXSocketStream.from_socket()``
* ``UDPSocket.from_socket()``
* ``ConnectedUDPSocket.from_socket()``
* ``UNIXDatagramSocket.from_socket()``
* ``ConnectedUNIXDatagramSocket.from_socket()``
- Added a hierarchy of connectable stream classes for transparently connecting to
various remote or local endpoints for exchanging bytes or objects
- Added context manager mix-in classes (``anyio.ContextManagerMixin`` and
``anyio.AsyncContextManagerMixin``) to help write classes that embed other context
managers, particularly cancel scopes or task groups
- Added the ability to specify the thread name in ``start_blocking_portal()``
- Added ``anyio.notify_closing`` to allow waking ``anyio.wait_readable``
and ``anyio.wait_writable`` before closing a socket. Among other things,
this prevents an OSError on the ``ProactorEventLoop``.
- Incorporated several documentation improvements from the EuroPython 2025 sprint
(special thanks to the sprinters: Emmanuel Okedele, Jan Murre, Euxenia Miruna Goia and
Christoffer Fjord)
- Added a documentation page explaining why one might want to use AnyIO's APIs instead
of asyncio's
- Updated the ``to_interpreters`` module to use the public ``concurrent.interpreters``
API on Python 3.14 or later
- Fixed ``anyio.Path.copy()`` and ``anyio.Path.copy_into()`` failing on Python 3.14.0a7
- Fixed return annotation of ``__aexit__`` on async context managers. CMs which can
suppress exceptions should return ``bool``, or ``None`` otherwise.
- Fixed rollover boundary check in ``SpooledTemporaryFile`` so that rollover
only occurs when the buffer size exceeds ``max_size``
- Migrated testing and documentation dependencies from extras to dependency groups
- Fixed compatibility of ``anyio.to_interpreter`` with Python 3.14.0b2
- Fixed ``SyntaxWarning`` on Python 3.14 about ``return`` in ``finally``
- Fixed RunVar name conflicts. RunVar instances with the same name should not share
storage
- Renamed the ``BrokenWorkerIntepreter`` exception to ``BrokenWorkerInterpreter``.
The old name is available as a deprecated alias.
- Fixed an edge case in ``CapacityLimiter`` on asyncio where a task, waiting to acquire
a limiter gets cancelled and is subsequently granted a token from the limiter, but
before the cancellation is delivered, and then fails to notify the next waiting task
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-anyio/PLIST
cvs rdiff -u -r1.25 -r1.26 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.28 pkgsrc/devel/py-anyio/Makefile:1.29
--- pkgsrc/devel/py-anyio/Makefile:1.28 Sat Apr 12 08:05:04 2025
+++ pkgsrc/devel/py-anyio/Makefile Tue Aug 5 05:53:28 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2025/04/12 08:05:04 adam Exp $
+# $NetBSD: Makefile,v 1.29 2025/08/05 05:53:28 adam Exp $
-DISTNAME= anyio-4.9.0
+DISTNAME= anyio-4.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/anyio/}
@@ -34,6 +34,8 @@ USE_LANGUAGES= # none
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.2:../../devel/py-exceptiongroup
+.endif
+.if ${PYTHON_VERSION} < 313
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.5:../../devel/py-typing-extensions
.endif
.if ${PYTHON_VERSION} >= 310
Index: pkgsrc/devel/py-anyio/PLIST
diff -u pkgsrc/devel/py-anyio/PLIST:1.7 pkgsrc/devel/py-anyio/PLIST:1.8
--- pkgsrc/devel/py-anyio/PLIST:1.7 Sat Apr 12 08:05:04 2025
+++ pkgsrc/devel/py-anyio/PLIST Tue Aug 5 05:53:28 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/04/12 08:05:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/08/05 05:53:28 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -23,6 +23,9 @@ ${PYSITELIB}/anyio/_core/__init__.pyo
${PYSITELIB}/anyio/_core/_asyncio_selector_thread.py
${PYSITELIB}/anyio/_core/_asyncio_selector_thread.pyc
${PYSITELIB}/anyio/_core/_asyncio_selector_thread.pyo
+${PYSITELIB}/anyio/_core/_contextmanagers.py
+${PYSITELIB}/anyio/_core/_contextmanagers.pyc
+${PYSITELIB}/anyio/_core/_contextmanagers.pyo
${PYSITELIB}/anyio/_core/_eventloop.py
${PYSITELIB}/anyio/_core/_eventloop.pyc
${PYSITELIB}/anyio/_core/_eventloop.pyo
Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.25 pkgsrc/devel/py-anyio/distinfo:1.26
--- pkgsrc/devel/py-anyio/distinfo:1.25 Sat Apr 12 08:05:04 2025
+++ pkgsrc/devel/py-anyio/distinfo Tue Aug 5 05:53:28 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2025/04/12 08:05:04 adam Exp $
+$NetBSD: distinfo,v 1.26 2025/08/05 05:53:28 adam Exp $
-BLAKE2s (anyio-4.9.0.tar.gz) = 874bff65c9316b1d14d0e400e8d73db7435679cea5305b53a34675b1b86dffb6
-SHA512 (anyio-4.9.0.tar.gz) = 73ff6dfada89fc3869f59b13847b350acecf178a0ab3cec9ae55ce3cffda9ea56f6adbd291682ee064a773c6dd5372e2f6693b43fb14b0d19bbaaf69e24ceeed
-Size (anyio-4.9.0.tar.gz) = 190949 bytes
+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
Home |
Main Index |
Thread Index |
Old Index