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 Dec  6 08:07:13 UTC 2024

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

Log Message:
py-anyio: updated to 4.7.0

4.7.0

- Updated ``TaskGroup`` to work with asyncio's eager task factories
- Added the ``wait_readable()`` and ``wait_writable()`` functions which will accept
  an object with a ``.fileno()`` method or an integer handle, and deprecated
  their now obsolete versions (``wait_socket_readable()`` and
  ``wait_socket_writable()``)
- Changed ``EventAdapter`` (an ``Event`` with no bound async backend) to allow ``set()``
  to work even before an async backend is bound to it
- Added support for ``wait_readable()`` and ``wait_writable()`` on ``ProactorEventLoop``
  (used on asyncio + Windows by default)
- Fixed a misleading ``ValueError`` in the context of DNS failures
- Fixed the return type annotations of ``readinto()`` and ``readinto1()`` methods in the
  ``anyio.AsyncFile`` class
- Fixed ``TaskInfo.has_pending_cancellation()`` on asyncio returning false positives in
  cleanup code on Python >= 3.11
- Fixed cancelled cancel scopes on asyncio calling ``asyncio.Task.uncancel`` when
  propagating a ``CancelledError`` on exit to a cancelled parent scope


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-anyio/PLIST
cvs rdiff -u -r1.22 -r1.23 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.25 pkgsrc/devel/py-anyio/Makefile:1.26
--- pkgsrc/devel/py-anyio/Makefile:1.25 Mon Nov 11 07:28:00 2024
+++ pkgsrc/devel/py-anyio/Makefile      Fri Dec  6 08:07:12 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2024/11/11 07:28:00 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2024/12/06 08:07:12 adam Exp $
 
-DISTNAME=      anyio-4.6.2.post1
+DISTNAME=      anyio-4.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anyio/}
@@ -21,7 +21,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-psutil>=5.
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.6.1:../../devel/py-test-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
 TEST_DEPENDS+= ${PYPKGPREFIX}-trio-[0-9]*:../../devel/py-trio
-TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.17:../../devel/py-uvloop
+TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.21:../../devel/py-uvloop
 
 USE_LANGUAGES= # none
 
@@ -32,7 +32,10 @@ USE_LANGUAGES=       # none
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-exceptiongroup>=1.0.2:../../devel/py-exceptiongroup
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.1:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.5:../../devel/py-typing-extensions
+.endif
+.if ${PYTHON_VERSION} >= 310
+TEST_DEPENDS+= ${PYPKGPREFIX}-truststore>=0.9.1:../../security/py-truststore
 .endif
 
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/devel/py-anyio/PLIST
diff -u pkgsrc/devel/py-anyio/PLIST:1.4 pkgsrc/devel/py-anyio/PLIST:1.5
--- pkgsrc/devel/py-anyio/PLIST:1.4     Sat Oct 28 19:56:56 2023
+++ pkgsrc/devel/py-anyio/PLIST Fri Dec  6 08:07:12 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/28 19:56:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/12/06 08:07:12 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -20,6 +20,9 @@ ${PYSITELIB}/anyio/_backends/_trio.pyo
 ${PYSITELIB}/anyio/_core/__init__.py
 ${PYSITELIB}/anyio/_core/__init__.pyc
 ${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/_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.22 pkgsrc/devel/py-anyio/distinfo:1.23
--- pkgsrc/devel/py-anyio/distinfo:1.22 Tue Oct 22 07:52:55 2024
+++ pkgsrc/devel/py-anyio/distinfo      Fri Dec  6 08:07:12 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2024/10/22 07:52:55 wiz Exp $
+$NetBSD: distinfo,v 1.23 2024/12/06 08:07:12 adam Exp $
 
-BLAKE2s (anyio-4.6.2.post1.tar.gz) = 23b692d8504901b1fb2c881f55671b4d1b5be2a5e205c04fcfd19e60d7b52b7f
-SHA512 (anyio-4.6.2.post1.tar.gz) = 86d177d1f3e236fd3a2762ce6a760ad77daf9a9fd0daa6e651e778e8c847f85382d2647bf674970fdf8ab02454a8e0a85cc74585e4912c39f5d230eaf0f363a1
-Size (anyio-4.6.2.post1.tar.gz) = 173422 bytes
+BLAKE2s (anyio-4.7.0.tar.gz) = 1593657c2ab926e4d19f06dc76a88bf2d6c03e29ace65d3036935e5516a82ab2
+SHA512 (anyio-4.7.0.tar.gz) = b8b34aac61a2835847b974c7cb06066714ac5a4b76437fa969265c81601ad5259f7a118901b0e8a519e1c256f23594bb4d7042d3cf4fda03feb50052512a192e
+Size (anyio-4.7.0.tar.gz) = 177076 bytes



Home | Main Index | Thread Index | Old Index