pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-trio



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan 12 18:47:30 UTC 2024

Modified Files:
        pkgsrc/devel/py-trio: Makefile PLIST distinfo

Log Message:
py-trio: updated to 0.24.0

Trio 0.24.0 (2024-01-10)

Features

- New helper classes: :class:`~.testing.RaisesGroup` and :class:`~.testing.Matcher`.

  In preparation for changing the default of ``strict_exception_groups`` to `True`, we're introducing a set of helper classes that can be used in place of `pytest.raises 
<https://docs.pytest.org/en/stable/reference/reference.html#pytest.raises>`_ in tests, to check for an expected `ExceptionGroup`.
  These are provisional, and only planned to be supplied until there's a good solution in ``pytest``.

Deprecations and removals

- ``MultiError`` has been fully removed, and all relevant trio functions now raise ExceptionGroups instead. This should not affect end users that have transitioned to using ``except*`` or catching 
ExceptionGroup/BaseExceptionGroup.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-trio/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-trio/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-trio/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-trio/Makefile
diff -u pkgsrc/devel/py-trio/Makefile:1.13 pkgsrc/devel/py-trio/Makefile:1.14
--- pkgsrc/devel/py-trio/Makefile:1.13  Thu Dec 14 13:20:52 2023
+++ pkgsrc/devel/py-trio/Makefile       Fri Jan 12 18:47:30 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2023/12/14 13:20:52 adam Exp $
+# $NetBSD: Makefile,v 1.14 2024/01/12 18:47:30 adam Exp $
 
-DISTNAME=      trio-0.23.2
+DISTNAME=      trio-0.24.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/trio/}
@@ -10,15 +10,15 @@ HOMEPAGE=   https://github.com/python-trio
 COMMENT=       Friendly Python library for async concurrency and I/O
 LICENSE=       mit OR apache-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+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}-idna>=0:../../www/py-idna
-DEPENDS+=      ${PYPKGPREFIX}-outcome>=0:../../devel/py-outcome
-DEPENDS+=      ${PYPKGPREFIX}-sniffio>=0:../../misc/py-sniffio
-DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers>=0:../../devel/py-sortedcontainers
+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
+DEPENDS+=      ${PYPKGPREFIX}-sortedcontainers-[0-9]*:../../devel/py-sortedcontainers
 TEST_DEPENDS+= ${PYPKGPREFIX}-astor>=0.8.1:../../devel/py-astor
-TEST_DEPENDS+= ${PYPKGPREFIX}-async_generator>=0:../../devel/py-async_generator
+TEST_DEPENDS+= ${PYPKGPREFIX}-async_generator-[0-9]*:../../devel/py-async_generator
 TEST_DEPENDS+= ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
 TEST_DEPENDS+= ${PYPKGPREFIX}-jedi-[0-9]*:../../editors/py-jedi
 TEST_DEPENDS+= ${PYPKGPREFIX}-pylint-[0-9]*:../../devel/py-pylint

Index: pkgsrc/devel/py-trio/PLIST
diff -u pkgsrc/devel/py-trio/PLIST:1.6 pkgsrc/devel/py-trio/PLIST:1.7
--- pkgsrc/devel/py-trio/PLIST:1.6      Thu Dec 14 13:20:52 2023
+++ pkgsrc/devel/py-trio/PLIST  Fri Jan 12 18:47:30 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/12/14 13:20:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/01/12 18:47:30 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.APACHE2
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.MIT
@@ -21,6 +21,9 @@ ${PYSITELIB}/trio/_core/__init__.pyo
 ${PYSITELIB}/trio/_core/_asyncgens.py
 ${PYSITELIB}/trio/_core/_asyncgens.pyc
 ${PYSITELIB}/trio/_core/_asyncgens.pyo
+${PYSITELIB}/trio/_core/_concat_tb.py
+${PYSITELIB}/trio/_core/_concat_tb.pyc
+${PYSITELIB}/trio/_core/_concat_tb.pyo
 ${PYSITELIB}/trio/_core/_entry_queue.py
 ${PYSITELIB}/trio/_core/_entry_queue.pyc
 ${PYSITELIB}/trio/_core/_entry_queue.pyo
@@ -66,9 +69,6 @@ ${PYSITELIB}/trio/_core/_local.pyo
 ${PYSITELIB}/trio/_core/_mock_clock.py
 ${PYSITELIB}/trio/_core/_mock_clock.pyc
 ${PYSITELIB}/trio/_core/_mock_clock.pyo
-${PYSITELIB}/trio/_core/_multierror.py
-${PYSITELIB}/trio/_core/_multierror.pyc
-${PYSITELIB}/trio/_core/_multierror.pyo
 ${PYSITELIB}/trio/_core/_parking_lot.py
 ${PYSITELIB}/trio/_core/_parking_lot.pyc
 ${PYSITELIB}/trio/_core/_parking_lot.pyo
@@ -81,6 +81,9 @@ ${PYSITELIB}/trio/_core/_tests/__init__.
 ${PYSITELIB}/trio/_core/_tests/test_asyncgen.py
 ${PYSITELIB}/trio/_core/_tests/test_asyncgen.pyc
 ${PYSITELIB}/trio/_core/_tests/test_asyncgen.pyo
+${PYSITELIB}/trio/_core/_tests/test_exceptiongroup_gc.py
+${PYSITELIB}/trio/_core/_tests/test_exceptiongroup_gc.pyc
+${PYSITELIB}/trio/_core/_tests/test_exceptiongroup_gc.pyo
 ${PYSITELIB}/trio/_core/_tests/test_guest_mode.py
 ${PYSITELIB}/trio/_core/_tests/test_guest_mode.pyc
 ${PYSITELIB}/trio/_core/_tests/test_guest_mode.pyo
@@ -99,21 +102,6 @@ ${PYSITELIB}/trio/_core/_tests/test_loca
 ${PYSITELIB}/trio/_core/_tests/test_mock_clock.py
 ${PYSITELIB}/trio/_core/_tests/test_mock_clock.pyc
 ${PYSITELIB}/trio/_core/_tests/test_mock_clock.pyo
-${PYSITELIB}/trio/_core/_tests/test_multierror.py
-${PYSITELIB}/trio/_core/_tests/test_multierror.pyc
-${PYSITELIB}/trio/_core/_tests/test_multierror.pyo
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/__init__.py
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/__init__.pyc
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/__init__.pyo
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/_common.py
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/_common.pyc
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/_common.pyo
-${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/simple_excepthook.py
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook.pyc
-${PYSITELIB}/trio/_core/_tests/test_multierror_scripts/simple_excepthook.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
@@ -291,6 +279,9 @@ ${PYSITELIB}/trio/_tests/test_sync.pyo
 ${PYSITELIB}/trio/_tests/test_testing.py
 ${PYSITELIB}/trio/_tests/test_testing.pyc
 ${PYSITELIB}/trio/_tests/test_testing.pyo
+${PYSITELIB}/trio/_tests/test_testing_raisesgroup.py
+${PYSITELIB}/trio/_tests/test_testing_raisesgroup.pyc
+${PYSITELIB}/trio/_tests/test_testing_raisesgroup.pyo
 ${PYSITELIB}/trio/_tests/test_threads.py
 ${PYSITELIB}/trio/_tests/test_threads.pyc
 ${PYSITELIB}/trio/_tests/test_threads.pyo
@@ -330,6 +321,9 @@ ${PYSITELIB}/trio/_tests/type_tests/open
 ${PYSITELIB}/trio/_tests/type_tests/path.py
 ${PYSITELIB}/trio/_tests/type_tests/path.pyc
 ${PYSITELIB}/trio/_tests/type_tests/path.pyo
+${PYSITELIB}/trio/_tests/type_tests/raisesgroup.py
+${PYSITELIB}/trio/_tests/type_tests/raisesgroup.pyc
+${PYSITELIB}/trio/_tests/type_tests/raisesgroup.pyo
 ${PYSITELIB}/trio/_threads.py
 ${PYSITELIB}/trio/_threads.pyc
 ${PYSITELIB}/trio/_threads.pyo
@@ -391,15 +385,15 @@ ${PYSITELIB}/trio/testing/_memory_stream
 ${PYSITELIB}/trio/testing/_network.py
 ${PYSITELIB}/trio/testing/_network.pyc
 ${PYSITELIB}/trio/testing/_network.pyo
+${PYSITELIB}/trio/testing/_raises_group.py
+${PYSITELIB}/trio/testing/_raises_group.pyc
+${PYSITELIB}/trio/testing/_raises_group.pyo
 ${PYSITELIB}/trio/testing/_sequencer.py
 ${PYSITELIB}/trio/testing/_sequencer.pyc
 ${PYSITELIB}/trio/testing/_sequencer.pyo
 ${PYSITELIB}/trio/testing/_trio_test.py
 ${PYSITELIB}/trio/testing/_trio_test.pyc
 ${PYSITELIB}/trio/testing/_trio_test.pyo
-${PYSITELIB}/trio/tests.py
-${PYSITELIB}/trio/tests.pyc
-${PYSITELIB}/trio/tests.pyo
 ${PYSITELIB}/trio/to_thread.py
 ${PYSITELIB}/trio/to_thread.pyc
 ${PYSITELIB}/trio/to_thread.pyo

Index: pkgsrc/devel/py-trio/distinfo
diff -u pkgsrc/devel/py-trio/distinfo:1.8 pkgsrc/devel/py-trio/distinfo:1.9
--- pkgsrc/devel/py-trio/distinfo:1.8   Thu Dec 14 13:20:52 2023
+++ pkgsrc/devel/py-trio/distinfo       Fri Jan 12 18:47:30 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2023/12/14 13:20:52 adam Exp $
+$NetBSD: distinfo,v 1.9 2024/01/12 18:47:30 adam Exp $
 
-BLAKE2s (trio-0.23.2.tar.gz) = d0e0d56f2af50be9c3089b8cc745b1e21ec64d766d06fed7a39003d9ca177ad5
-SHA512 (trio-0.23.2.tar.gz) = e73b10e5116a9cfac3e48bc324de532e4ef21c0ea2671a35774d310542527e9350abf82c0812e8284364dca67dd7f99350451bf8d179a0440e69f4e42ca5baba
-Size (trio-0.23.2.tar.gz) = 544557 bytes
+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



Home | Main Index | Thread Index | Old Index