Received: by mail.netbsd.org (Postfix, from userid 605) id 000AE84F40; Tue, 15 Nov 2022 09:49:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 30B9184F3A for ; Tue, 15 Nov 2022 09:49:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id NdIUPkCAbZ0K for ; Tue, 15 Nov 2022 09:49:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 529C884D2A for ; Tue, 15 Nov 2022 09:49:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4C3DFFA90; Tue, 15 Nov 2022 09:49:38 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1668505778246890" MIME-Version: 1.0 Date: Tue, 15 Nov 2022 09:49:38 +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: <20221115094938.4C3DFFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1668505778246890 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Tue Nov 15 09:49:38 UTC 2022 Modified Files: pkgsrc/devel/py-trio: Makefile PLIST distinfo Log Message: py-trio: updated to 0.22.0 Trio 0.22.0 (2022-09-28) ------------------------ Headline features ~~~~~~~~~~~~~~~~~ - ``MultiError`` has been deprecated in favor of the standard :exc:`BaseExceptionGroup` (introduced in :pep:`654`). On Python versions below 3.11, this exception and its derivative :exc:`ExceptionGroup` are provided by the backport_. Trio still raises ``MultiError``, but it has been refactored into a subclass of :exc:`BaseExceptionGroup` which users should catch instead of ``MultiError``. Uses of the ``MultiError.filter()`` class method should be replaced with :meth:`BaseExceptionGroup.split`. Uses of the ``MultiError.catch()`` class method should be replaced with either ``except*`` clauses (on Python 3.11+) or the ``exceptiongroup.catch()`` context manager provided by the backport_. See the :ref:`updated documentation ` for details. Features ~~~~~~~~ - Added support for `Datagram TLS `__, for secure communication over UDP. Currently requires `PyOpenSSL `__. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-trio/Makefile cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-trio/PLIST cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-trio/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1668505778246890 Content-Disposition: inline Content-Length: 5691 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.6 pkgsrc/devel/py-trio/Makefile:1.7 --- pkgsrc/devel/py-trio/Makefile:1.6 Wed Oct 19 14:25:18 2022 +++ pkgsrc/devel/py-trio/Makefile Tue Nov 15 09:49:38 2022 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2022/10/19 14:25:18 nia Exp $ +# $NetBSD: Makefile,v 1.7 2022/11/15 09:49:38 adam Exp $ -DISTNAME= trio-0.21.0 +DISTNAME= trio-0.22.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/trio/} @@ -12,7 +12,6 @@ LICENSE= mit OR apache-2.0 DEPENDS+= ${PYPKGPREFIX}-async_generator>=1.9:../../devel/py-async_generator DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs -DEPENDS+= ${PYPKGPREFIX}-cffi>=1.14:../../devel/py-cffi DEPENDS+= ${PYPKGPREFIX}-idna>=2.10:../../www/py-idna DEPENDS+= ${PYPKGPREFIX}-outcome>=1.1.0:../../devel/py-outcome DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.2.0:../../misc/py-sniffio @@ -27,6 +26,11 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 311 +DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup +.endif + do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} Index: pkgsrc/devel/py-trio/PLIST diff -u pkgsrc/devel/py-trio/PLIST:1.2 pkgsrc/devel/py-trio/PLIST:1.3 --- pkgsrc/devel/py-trio/PLIST:1.2 Tue Feb 22 13:56:14 2022 +++ pkgsrc/devel/py-trio/PLIST Tue Nov 15 09:49:38 2022 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2022/02/22 13:56:14 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2022/11/15 09:49:38 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -127,9 +127,6 @@ ${PYSITELIB}/trio/_core/tests/test_multi ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/apport_excepthook.py ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/apport_excepthook.pyc ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/apport_excepthook.pyo -${PYSITELIB}/trio/_core/tests/test_multierror_scripts/custom_excepthook.py -${PYSITELIB}/trio/_core/tests/test_multierror_scripts/custom_excepthook.pyc -${PYSITELIB}/trio/_core/tests/test_multierror_scripts/custom_excepthook.pyo ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/ipython_custom_exc.py ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/ipython_custom_exc.pyc ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/ipython_custom_exc.pyo @@ -139,9 +136,6 @@ ${PYSITELIB}/trio/_core/tests/test_multi ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/simple_excepthook_IPython.py ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/simple_excepthook_IPython.pyc ${PYSITELIB}/trio/_core/tests/test_multierror_scripts/simple_excepthook_IPython.pyo -${PYSITELIB}/trio/_core/tests/test_multierror_scripts/simple_excepthook_partial.py -${PYSITELIB}/trio/_core/tests/test_multierror_scripts/simple_excepthook_partial.pyc -${PYSITELIB}/trio/_core/tests/test_multierror_scripts/simple_excepthook_partial.pyo ${PYSITELIB}/trio/_core/tests/test_parking_lot.py ${PYSITELIB}/trio/_core/tests/test_parking_lot.pyc ${PYSITELIB}/trio/_core/tests/test_parking_lot.pyo @@ -169,6 +163,9 @@ ${PYSITELIB}/trio/_core/tests/tutil.pyo ${PYSITELIB}/trio/_deprecate.py ${PYSITELIB}/trio/_deprecate.pyc ${PYSITELIB}/trio/_deprecate.pyo +${PYSITELIB}/trio/_dtls.py +${PYSITELIB}/trio/_dtls.pyc +${PYSITELIB}/trio/_dtls.pyo ${PYSITELIB}/trio/_file_io.py ${PYSITELIB}/trio/_file_io.pyc ${PYSITELIB}/trio/_file_io.pyo @@ -271,6 +268,9 @@ ${PYSITELIB}/trio/testing/_check_streams ${PYSITELIB}/trio/testing/_checkpoints.py ${PYSITELIB}/trio/testing/_checkpoints.pyc ${PYSITELIB}/trio/testing/_checkpoints.pyo +${PYSITELIB}/trio/testing/_fake_net.py +${PYSITELIB}/trio/testing/_fake_net.pyc +${PYSITELIB}/trio/testing/_fake_net.pyo ${PYSITELIB}/trio/testing/_memory_streams.py ${PYSITELIB}/trio/testing/_memory_streams.pyc ${PYSITELIB}/trio/testing/_memory_streams.pyo @@ -304,9 +304,15 @@ ${PYSITELIB}/trio/tests/test_contextvars ${PYSITELIB}/trio/tests/test_deprecate.py ${PYSITELIB}/trio/tests/test_deprecate.pyc ${PYSITELIB}/trio/tests/test_deprecate.pyo +${PYSITELIB}/trio/tests/test_dtls.py +${PYSITELIB}/trio/tests/test_dtls.pyc +${PYSITELIB}/trio/tests/test_dtls.pyo ${PYSITELIB}/trio/tests/test_exports.py ${PYSITELIB}/trio/tests/test_exports.pyc ${PYSITELIB}/trio/tests/test_exports.pyo +${PYSITELIB}/trio/tests/test_fakenet.py +${PYSITELIB}/trio/tests/test_fakenet.pyc +${PYSITELIB}/trio/tests/test_fakenet.pyo ${PYSITELIB}/trio/tests/test_file_io.py ${PYSITELIB}/trio/tests/test_file_io.pyc ${PYSITELIB}/trio/tests/test_file_io.pyo Index: pkgsrc/devel/py-trio/distinfo diff -u pkgsrc/devel/py-trio/distinfo:1.3 pkgsrc/devel/py-trio/distinfo:1.4 --- pkgsrc/devel/py-trio/distinfo:1.3 Thu Jun 9 15:53:27 2022 +++ pkgsrc/devel/py-trio/distinfo Tue Nov 15 09:49:38 2022 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2022/06/09 15:53:27 adam Exp $ +$NetBSD: distinfo,v 1.4 2022/11/15 09:49:38 adam Exp $ -BLAKE2s (trio-0.21.0.tar.gz) = 98b8695ff8e22678d36de810e899dde0b84e9e9f6f23b411e224415ef5b9c25d -SHA512 (trio-0.21.0.tar.gz) = 146b18886c9a1483c35c2469017201c4ce5e74bcd1be670150ab9ec7c4ad51dd416ca201f911cf18a27391280a00580718a05b17b6470a646c477e4c626c8da4 -Size (trio-0.21.0.tar.gz) = 446500 bytes +BLAKE2s (trio-0.22.0.tar.gz) = 0aef473b7cd2cf1fddd353e0a48f9638f5edc2a1dd5e6dd3440d40755a524f81 +SHA512 (trio-0.22.0.tar.gz) = c0952aeeeb4a635fc1e34052060cfb59fa2339687fe3bfe131eec9c72ca6da1b206eebd36d8a91c5df8a6951e075c5781e55565f4a9a18944b02727a57d9c222 +Size (trio-0.22.0.tar.gz) = 472205 bytes --_----------=_1668505778246890--