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: wiz
Date: Sun Jul 7 14:50:16 UTC 2024
Modified Files:
pkgsrc/devel/py-trio: Makefile PLIST distinfo
Log Message:
py-trio: update to 0.26.0.
Features
Added an interactive interpreter python -m trio.
This makes it easier to try things and experiment with trio in the a Python repl.
Use the await keyword without needing to call trio.run()
$ python -m trio
Trio 0.26.0, Python 3.10.6
Use "await" directly instead of "trio.run()".
Type "help", "copyright", "credits" or "license" for more information.
>>> import trio
>>> await trio.sleep(1); print("hi") # prints after one second
hi
See interactive debugging for further detail. (#2972)
trio.testing.RaisesGroup can now catch an unwrapped exception with unwrapped=True. This means that the behaviour of except* can be fully replicated in combination with flatten_subgroups=True
(formerly strict=False). (#2989)
Bugfixes
Fixed a bug where trio.testing.RaisesGroup(..., strict=False) would check the number of exceptions in the raised ExceptionGroup before flattening subgroups, leading to incorrectly failed matches.
It now properly supports end ($) regex markers in the match message, by no longer including " (x sub-exceptions)" in the string it matches against. (#2989)
Deprecations and removals
Deprecated strict parameter from trio.testing.RaisesGroup, previous functionality of strict=False is now in flatten_subgroups=True. (#2989)
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-trio/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-trio/PLIST
cvs rdiff -u -r1.11 -r1.12 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.16 pkgsrc/devel/py-trio/Makefile:1.17
--- pkgsrc/devel/py-trio/Makefile:1.16 Thu May 16 07:46:12 2024
+++ pkgsrc/devel/py-trio/Makefile Sun Jul 7 14:50:15 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2024/05/16 07:46:12 adam Exp $
+# $NetBSD: Makefile,v 1.17 2024/07/07 14:50:15 wiz Exp $
-DISTNAME= trio-0.25.1
+DISTNAME= trio-0.26.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trio/}
Index: pkgsrc/devel/py-trio/PLIST
diff -u pkgsrc/devel/py-trio/PLIST:1.9 pkgsrc/devel/py-trio/PLIST:1.10
--- pkgsrc/devel/py-trio/PLIST:1.9 Thu May 16 07:46:12 2024
+++ pkgsrc/devel/py-trio/PLIST Sun Jul 7 14:50:15 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2024/05/16 07:46:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2024/07/07 14:50:15 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.APACHE2
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.MIT
@@ -10,6 +10,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
${PYSITELIB}/trio/__init__.py
${PYSITELIB}/trio/__init__.pyc
${PYSITELIB}/trio/__init__.pyo
+${PYSITELIB}/trio/__main__.py
+${PYSITELIB}/trio/__main__.pyc
+${PYSITELIB}/trio/__main__.pyo
${PYSITELIB}/trio/_abc.py
${PYSITELIB}/trio/_abc.pyc
${PYSITELIB}/trio/_abc.pyo
@@ -127,6 +130,9 @@ ${PYSITELIB}/trio/_core/_tests/tutil.pyo
${PYSITELIB}/trio/_core/_tests/type_tests/nursery_start.py
${PYSITELIB}/trio/_core/_tests/type_tests/nursery_start.pyc
${PYSITELIB}/trio/_core/_tests/type_tests/nursery_start.pyo
+${PYSITELIB}/trio/_core/_tests/type_tests/run.py
+${PYSITELIB}/trio/_core/_tests/type_tests/run.pyc
+${PYSITELIB}/trio/_core/_tests/type_tests/run.pyo
${PYSITELIB}/trio/_core/_thread_cache.py
${PYSITELIB}/trio/_core/_thread_cache.pyc
${PYSITELIB}/trio/_core/_thread_cache.pyo
@@ -175,6 +181,9 @@ ${PYSITELIB}/trio/_highlevel_ssl_helpers
${PYSITELIB}/trio/_path.py
${PYSITELIB}/trio/_path.pyc
${PYSITELIB}/trio/_path.pyo
+${PYSITELIB}/trio/_repl.py
+${PYSITELIB}/trio/_repl.pyc
+${PYSITELIB}/trio/_repl.pyo
${PYSITELIB}/trio/_signals.py
${PYSITELIB}/trio/_signals.pyc
${PYSITELIB}/trio/_signals.pyo
@@ -265,6 +274,9 @@ ${PYSITELIB}/trio/_tests/test_highlevel_
${PYSITELIB}/trio/_tests/test_path.py
${PYSITELIB}/trio/_tests/test_path.pyc
${PYSITELIB}/trio/_tests/test_path.pyo
+${PYSITELIB}/trio/_tests/test_repl.py
+${PYSITELIB}/trio/_tests/test_repl.pyc
+${PYSITELIB}/trio/_tests/test_repl.pyo
${PYSITELIB}/trio/_tests/test_scheduler_determinism.py
${PYSITELIB}/trio/_tests/test_scheduler_determinism.pyc
${PYSITELIB}/trio/_tests/test_scheduler_determinism.pyo
@@ -331,6 +343,9 @@ ${PYSITELIB}/trio/_tests/type_tests/path
${PYSITELIB}/trio/_tests/type_tests/raisesgroup.py
${PYSITELIB}/trio/_tests/type_tests/raisesgroup.pyc
${PYSITELIB}/trio/_tests/type_tests/raisesgroup.pyo
+${PYSITELIB}/trio/_tests/type_tests/task_status.py
+${PYSITELIB}/trio/_tests/type_tests/task_status.pyc
+${PYSITELIB}/trio/_tests/type_tests/task_status.pyo
${PYSITELIB}/trio/_threads.py
${PYSITELIB}/trio/_threads.pyc
${PYSITELIB}/trio/_threads.pyo
Index: pkgsrc/devel/py-trio/distinfo
diff -u pkgsrc/devel/py-trio/distinfo:1.11 pkgsrc/devel/py-trio/distinfo:1.12
--- pkgsrc/devel/py-trio/distinfo:1.11 Thu May 16 07:46:12 2024
+++ pkgsrc/devel/py-trio/distinfo Sun Jul 7 14:50:15 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2024/05/16 07:46:12 adam Exp $
+$NetBSD: distinfo,v 1.12 2024/07/07 14:50:15 wiz Exp $
-BLAKE2s (trio-0.25.1.tar.gz) = 4e94ade892f423e21a57de4889dd951f9ae4928171f18c4249a1a5db26c86e41
-SHA512 (trio-0.25.1.tar.gz) = dcd8d9151e46bd736fb9d828be23a5f414f0ec6c3ebd6c45d354f677051b831c62cc1a7b8140237df4867b92ec957f96b14e923147fd274299def9098ae44858
-Size (trio-0.25.1.tar.gz) = 553970 bytes
+BLAKE2s (trio-0.26.0.tar.gz) = 8ca5892deb9bfd99d9b44f24e24d6f34fee2df3b790fdab47c5bd21ff892029b
+SHA512 (trio-0.26.0.tar.gz) = dc83e3c4ea90a7c484eb4ed861021df47e7a8c81a36013caf5ce292ee2f8283b4436d53b32496000a3ed44b01872d473f3dc954e2d0a480296eaa3d2d37012f3
+Size (trio-0.26.0.tar.gz) = 562573 bytes
Home |
Main Index |
Thread Index |
Old Index