py-trio: updated to 0.25.0
Trio 0.25.0 (2024-03-17) ------------------------ Breaking changes - The :ref:`strict_exception_groups <strict_exception_groups>` parameter now defaults to `True` in `trio.run` and `trio.lowlevel.start_guest_run`. `trio.open_nursery` still defaults to the same value as was specified in `trio.run`/`trio.lowlevel.start_guest_run`, but if you didn't specify it there then all subsequent calls to `trio.open_nursery` will change. This is unfortunately very tricky to change with a deprecation period, as raising a `DeprecationWarning` whenever :ref:`strict_exception_groups <strict_exception_groups>` is not specified would raise a lot of unnecessary warnings. Notable side effects of changing code to run with ``strict_exception_groups==True`` * If an iterator raises `StopAsyncIteration` or `StopIteration` inside a nursery, then python will not recognize wrapped instances of those for stopping iteration. * `trio.run_process` is now documented that it can raise an `ExceptionGroup`. It previously could do this in very rare circumstances, but with :ref:`strict_exception_groups <strict_exception_groups>` set to `True` it will now do so whenever exceptions occur in ``deliver_cancel`` or with problems communicating with the subprocess. * Errors in opening the process is now done outside the internal nursery, so if code previously ran with ``strict_exception_groups=True`` there are cases now where an `ExceptionGroup` is *no longer* added. * `trio.TrioInternalError` ``.__cause__`` might be wrapped in one or more `ExceptionGroups <ExceptionGroup>` Features - Add `trio.testing.wait_all_threads_completed`, which blocks until no threads are running tasks. This is intended to be used in the same way as `trio.testing.wait_all_tasks_blocked`. - :class:`Path` is now a subclass of :class:`pathlib.PurePath`, allowing it to interoperate with other standard :mod:`pathlib` types. Instantiating :class:`Path` now returns a concrete platform-specific subclass, one of :class:`PosixPath` or :class:`WindowsPath`, matching the behavior of :class:`pathlib.Path`. Bugfixes - The pthread functions are now correctly found on systems using vanilla versions of musl libc. Miscellaneous internal changes - use the regular readme for the PyPI long_description
This commit is contained in:
parent
45c1709f06
commit
4b0efb2813
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.14 2024/01/12 18:47:30 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2024/03/23 07:26:06 adam Exp $
|
||||
|
||||
DISTNAME= trio-0.24.0
|
||||
DISTNAME= trio-0.25.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trio/}
|
||||
|
@ -12,7 +12,7 @@ LICENSE= mit OR apache-2.0
|
|||
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools
|
||||
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
||||
DEPENDS+= ${PYPKGPREFIX}-attrs>=20.1.0:../../devel/py-attrs
|
||||
DEPENDS+= ${PYPKGPREFIX}-attrs>=23.2.0:../../devel/py-attrs
|
||||
DEPENDS+= ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
|
||||
DEPENDS+= ${PYPKGPREFIX}-outcome-[0-9]*:../../devel/py-outcome
|
||||
DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.3.0:../../misc/py-sniffio
|
||||
|
@ -31,7 +31,6 @@ USE_LANGUAGES= c
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.7 2024/01/12 18:47:30 adam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.8 2024/03/23 07:26:06 adam Exp $
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.APACHE2
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.MIT
|
||||
|
@ -204,6 +204,9 @@ ${PYSITELIB}/trio/_sync.pyo
|
|||
${PYSITELIB}/trio/_tests/__init__.py
|
||||
${PYSITELIB}/trio/_tests/__init__.pyc
|
||||
${PYSITELIB}/trio/_tests/__init__.pyo
|
||||
${PYSITELIB}/trio/_tests/check_type_completeness.py
|
||||
${PYSITELIB}/trio/_tests/check_type_completeness.pyc
|
||||
${PYSITELIB}/trio/_tests/check_type_completeness.pyo
|
||||
${PYSITELIB}/trio/_tests/module_with_deprecations.py
|
||||
${PYSITELIB}/trio/_tests/module_with_deprecations.pyc
|
||||
${PYSITELIB}/trio/_tests/module_with_deprecations.pyo
|
||||
|
@ -222,6 +225,9 @@ ${PYSITELIB}/trio/_tests/test_contextvars.pyo
|
|||
${PYSITELIB}/trio/_tests/test_deprecate.py
|
||||
${PYSITELIB}/trio/_tests/test_deprecate.pyc
|
||||
${PYSITELIB}/trio/_tests/test_deprecate.pyo
|
||||
${PYSITELIB}/trio/_tests/test_deprecate_strict_exception_groups_false.py
|
||||
${PYSITELIB}/trio/_tests/test_deprecate_strict_exception_groups_false.pyc
|
||||
${PYSITELIB}/trio/_tests/test_deprecate_strict_exception_groups_false.pyo
|
||||
${PYSITELIB}/trio/_tests/test_dtls.py
|
||||
${PYSITELIB}/trio/_tests/test_dtls.pyc
|
||||
${PYSITELIB}/trio/_tests/test_dtls.pyo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.9 2024/01/12 18:47:30 adam Exp $
|
||||
$NetBSD: distinfo,v 1.10 2024/03/23 07:26:06 adam Exp $
|
||||
|
||||
BLAKE2s (trio-0.24.0.tar.gz) = 07c904647f004e6fbf3bdd9d872e27afd07015fae2138eb0bf4f94176236d9d0
|
||||
SHA512 (trio-0.24.0.tar.gz) = 11b4ffcb8295dcb5d7f1fe2bfeb03b999e9af776eadfaa1cf9250abc0938dfcde74a0ee9cfcd7ed5be20935876e6088aa931eae2dbf67ed2e3fb758518c61036
|
||||
Size (trio-0.24.0.tar.gz) = 545131 bytes
|
||||
BLAKE2s (trio-0.25.0.tar.gz) = c05b7bdea984ccb515b5422dbb8abdd2e2000be423a4d3ca79d54e14222bef2e
|
||||
SHA512 (trio-0.25.0.tar.gz) = 3025640724e628086d90136517dcb2083e1e47761305cd36c087c7f80d31013edd294e4fb7f1d27c28e6837c456be42d45e0f8529f88960fffe73c43ef37914d
|
||||
Size (trio-0.25.0.tar.gz) = 551863 bytes
|
||||
|
|
Loading…
Reference in New Issue