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: Sun Nov 26 10:25:50 UTC 2023
Modified Files:
pkgsrc/devel/py-anyio: Makefile distinfo
Log Message:
py-anyio: updated to 4.1.0
4.1.0
- Adapted to API changes made in Trio v0.23:
- Call ``trio.to_thread.run_sync()`` using the ``abandon_on_cancel`` keyword argument
instead of ``cancellable``
- Removed a checkpoint when exiting a task group
- Renamed the ``cancellable`` argument in ``anyio.to_thread.run_sync()`` to
``abandon_on_cancel`` (and deprecated the old parameter name)
- Bumped minimum version of Trio to v0.23
- Added support for voluntary thread cancellation via
``anyio.from_thread.check_cancelled()``
- Bumped minimum version of trio to v0.23
- Exposed the ``ResourceGuard`` class in the public API
- Fixed ``RuntimeError: Runner is closed`` when running higher-scoped async generator
fixtures in some cases
- Fixed discrepancy between ``asyncio`` and ``trio`` where reraising a cancellation
exception in an ``except*`` block would incorrectly bubble out of its cancel scope
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.15 -r1.16 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.17 pkgsrc/devel/py-anyio/Makefile:1.18
--- pkgsrc/devel/py-anyio/Makefile:1.17 Sat Oct 28 19:56:56 2023
+++ pkgsrc/devel/py-anyio/Makefile Sun Nov 26 10:25:50 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2023/10/28 19:56:56 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2023/11/26 10:25:50 adam Exp $
-DISTNAME= anyio-4.0.0
+DISTNAME= anyio-4.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/anyio/}
@@ -18,10 +17,10 @@ DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.1:..
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.0:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-psutil>=5.9:../../sysutils/py-psutil
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.0:../../devel/py-test
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
USE_LANGUAGES= # none
@@ -31,12 +30,6 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.2:../../devel/py-exceptiongroup
.endif
-.if ${PYTHON_VERSION} < 312
-TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.17:../../devel/py-uvloop
-.endif
-
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.15 pkgsrc/devel/py-anyio/distinfo:1.16
--- pkgsrc/devel/py-anyio/distinfo:1.15 Wed Oct 18 08:58:38 2023
+++ pkgsrc/devel/py-anyio/distinfo Sun Nov 26 10:25:50 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2023/10/18 08:58:38 adam Exp $
+$NetBSD: distinfo,v 1.16 2023/11/26 10:25:50 adam Exp $
-BLAKE2s (anyio-4.0.0.tar.gz) = 910d8caae919f292c5b3c1dee1d6f946783851cb41c7b056cba12158cf63578c
-SHA512 (anyio-4.0.0.tar.gz) = b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948
-Size (anyio-4.0.0.tar.gz) = 153297 bytes
+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
Home |
Main Index |
Thread Index |
Old Index