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 Jan 1 17:01:58 UTC 2024
Modified Files:
pkgsrc/devel/py-anyio: Makefile distinfo
Log Message:
py-anyio: updated to 4.2.0
4.2.0
- Add support for ``byte``-based paths in ``connect_unix``, ``create_unix_listeners``,
``create_unix_datagram_socket``, and ``create_connected_unix_datagram_socket``. (PR by
Lura Skye)
- Enabled the ``Event`` and ``CapacityLimiter`` classes to be instantiated outside an
event loop thread
- Broadly improved/fixed the type annotations. Among other things, many functions and
methods that take variadic positional arguments now make use of PEP 646
``TypeVarTuple`` to allow the positional arguments to be validated by static type
checkers. These changes affected numerous methods and functions, including:
* ``anyio.run()``
* ``TaskGroup.start_soon()``
* ``anyio.from_thread.run()``
* ``anyio.from_thread.run_sync()``
* ``anyio.to_thread.run_sync()``
* ``anyio.to_process.run_sync()``
* ``BlockingPortal.call()``
* ``BlockingPortal.start_task_soon()``
* ``BlockingPortal.start_task()``
- Fixed various type annotations of ``anyio.Path`` to match Typeshed:
* ``anyio.Path.__lt__()``
* ``anyio.Path.__le__()``
* ``anyio.Path.__gt__()``
* ``anyio.Path.__ge__()``
* ``anyio.Path.__truediv__()``
* ``anyio.Path.__rtruediv__()``
* ``anyio.Path.hardlink_to()``
* ``anyio.Path.samefile()``
* ``anyio.Path.symlink_to()``
* ``anyio.Path.with_segments()``
- Fixed adjusting the total number of tokens in a ``CapacityLimiter`` on asyncio failing
to wake up tasks waiting to acquire the limiter in certain edge cases (fixed with help
from Egor Blagov)
- Fixed ``loop_factory`` and ``use_uvloop`` options not being used on the asyncio
backend
- Fixed cancellation propagating on asyncio from a task group to child tasks if the task
hosting the task group is in a shielded cancel scope
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.16 -r1.17 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.18 pkgsrc/devel/py-anyio/Makefile:1.19
--- pkgsrc/devel/py-anyio/Makefile:1.18 Sun Nov 26 10:25:50 2023
+++ pkgsrc/devel/py-anyio/Makefile Mon Jan 1 17:01:57 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2023/11/26 10:25:50 adam Exp $
+# $NetBSD: Makefile,v 1.19 2024/01/01 17:01:57 adam Exp $
-DISTNAME= anyio-4.1.0
+DISTNAME= anyio-4.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/anyio/}
@@ -14,7 +14,8 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-idna>=2.8:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.1:../../misc/py-sniffio
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=7:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.2.0:../../devel/py-exceptiongroup
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.0:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-psutil>=5.9:../../sysutils/py-psutil
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.6.1:../../devel/py-test-mock
@@ -29,6 +30,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
.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
.endif
.include "../../lang/python/wheel.mk"
Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.16 pkgsrc/devel/py-anyio/distinfo:1.17
--- pkgsrc/devel/py-anyio/distinfo:1.16 Sun Nov 26 10:25:50 2023
+++ pkgsrc/devel/py-anyio/distinfo Mon Jan 1 17:01:57 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2023/11/26 10:25:50 adam Exp $
+$NetBSD: distinfo,v 1.17 2024/01/01 17:01:57 adam Exp $
-BLAKE2s (anyio-4.1.0.tar.gz) = 13e71a3443560c15db4ca0bf3be3f8e1f36fa15d997ae767e574f2d2383f03d8
-SHA512 (anyio-4.1.0.tar.gz) = 073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7
-Size (anyio-4.1.0.tar.gz) = 155773 bytes
+BLAKE2s (anyio-4.2.0.tar.gz) = bce2ff8b1adeae526ab77ee8f9a1acff4f41db9b72454bfdea81a84a94a97479
+SHA512 (anyio-4.2.0.tar.gz) = a6f3cbedbfa063a5cf031cd833e6da7a23ee37dbdae8d47ccdfb09c61a73c186267f1a33ba6b4936cac7fb4c970f5488ff1464295e5ffa452952732ac0468d65
+Size (anyio-4.2.0.tar.gz) = 158770 bytes
Home |
Main Index |
Thread Index |
Old Index