Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=RqaE6UwJ; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=n98a/eUW Received: by mail.netbsd.org (Postfix, from userid 605) id 182E984FA2; Sat, 23 Mar 2024 07:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1711178769; bh=cYztPPgi5htF7STUlgUIdQ+H2vkppB87wM4+uotP/OI=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=RqaE6UwJvnCVCRVg4A1uwpRV1hHG0ZqZZOUY+kBUvzJlf+eqBQBvDRU90no/5mDfm KQATsHHKXckW2SQ0+4l4LdP6dPUGpI5dnVCwPUYk1NohH0X8QtafFes96aM1yAdL/E bpk5wW9CTpXbBknoA4XMIjELUIi+rddpUQoDuYpQ= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0874884FA0 for ; Sat, 23 Mar 2024 07:26:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id d7rBofNJ_b7C for ; Sat, 23 Mar 2024 07:26:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 2CF6784D1D for ; Sat, 23 Mar 2024 07:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1711178767; bh=cYztPPgi5htF7STUlgUIdQ+H2vkppB87wM4+uotP/OI=; h=Date:From:Subject:To:Reply-To; b=n98a/eUWiWPCxyswx6+RB8HByyyI6slvbKFnMpeJ+eFJ15dZZRDfuzf7z8zVPH7FC d7XhIs2kcgkKNXiagBw41LBQiyiydZeovJ+hjX2lZN3LVESsMhz0RUPzP30VvDuAFU jnTQMWxhVvU5oXeY4npA7EoyHMJk7hnJipYgkcQU= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1E120FA2C; Sat, 23 Mar 2024 07:26:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1711178767228840" MIME-Version: 1.0 Date: Sat, 23 Mar 2024 07:26:07 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-trio To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20240323072607.1E120FA2C@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1711178767228840 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Sat Mar 23 07:26:07 UTC 2024 Modified Files: pkgsrc/devel/py-trio: Makefile PLIST distinfo Log Message: py-trio: updated to 0.25.0 Trio 0.25.0 (2024-03-17) ------------------------ Breaking changes - The :ref:`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 ` 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 ` 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 ` 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 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-trio/Makefile cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-trio/PLIST cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-trio/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1711178767228840 Content-Disposition: inline Content-Length: 3748 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-trio/Makefile diff -u pkgsrc/devel/py-trio/Makefile:1.14 pkgsrc/devel/py-trio/Makefile:1.15 --- pkgsrc/devel/py-trio/Makefile:1.14 Fri Jan 12 18:47:30 2024 +++ pkgsrc/devel/py-trio/Makefile Sat Mar 23 07:26:06 2024 @@ -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 Index: pkgsrc/devel/py-trio/PLIST diff -u pkgsrc/devel/py-trio/PLIST:1.7 pkgsrc/devel/py-trio/PLIST:1.8 --- pkgsrc/devel/py-trio/PLIST:1.7 Fri Jan 12 18:47:30 2024 +++ pkgsrc/devel/py-trio/PLIST Sat Mar 23 07:26:06 2024 @@ -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_contextvar ${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 Index: pkgsrc/devel/py-trio/distinfo diff -u pkgsrc/devel/py-trio/distinfo:1.9 pkgsrc/devel/py-trio/distinfo:1.10 --- pkgsrc/devel/py-trio/distinfo:1.9 Fri Jan 12 18:47:30 2024 +++ pkgsrc/devel/py-trio/distinfo Sat Mar 23 07:26:06 2024 @@ -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 --_----------=_1711178767228840--