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 Sep 21 16:20:51 UTC 2025

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

Log Message:
py-trio: update to 0.31.0.

Features

    Cancelled strings can now display the source and reason for a
    cancellation. Trio-internal sources of cancellation will set
    this string, and CancelScope.cancel now has a reason string
    parameter that can be used to attach info to any Cancelled to
    help in debugging. (#3232)

Bugfixes

    Make ctrl+c work in more situations in the Trio REPL (python
    -m trio). (#3007)
    Allow pickling trio.Cancelled, as they can show up when you
    want to pickle something else. This does not rule out pickling
    other NoPublicConstructor objects -- create an issue if necessary.
    (#3248)
    Decrease import time on Windows by around 10%. (#3263)
    Handle unwrapping SystemExit/KeyboardInterrupt exception
    gracefully in utility function raise_single_exception_from_group
    that reraises last exception from group. (#3275)
    Ensure that the DTLS server does not mutate SSL context. (#3277)
    Avoid having trio.as_safe_channel raise if closing the generator
    wrapped
    GeneratorExit in a BaseExceptionGroup. (#3324)

Deprecations and removals

    Implement bool(trio.Event) and have it raise a DeprecationWarning
    and tell users to use trio.Event.is_set instead. This is an
    alternative to mypy --enable-error-code=truthy-bool for users
    who don't use type checking. (#3322)

Miscellaneous internal changes

    When misnesting nurseries you now get a helpful RuntimeError
    instead of a catastrophic TrioInternalError. (#3307)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-trio/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-trio/PLIST
cvs rdiff -u -r1.18 -r1.19 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.25 pkgsrc/devel/py-trio/Makefile:1.26
--- pkgsrc/devel/py-trio/Makefile:1.25  Mon Apr 28 07:36:06 2025
+++ pkgsrc/devel/py-trio/Makefile       Sun Sep 21 16:20:50 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2025/04/28 07:36:06 adam Exp $
+# $NetBSD: Makefile,v 1.26 2025/09/21 16:20:50 wiz Exp $
 
-DISTNAME=      trio-0.30.0
+DISTNAME=      trio-0.31.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/trio/}
@@ -24,6 +24,10 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-pylint-[0-
 # circular dependency
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-test-trio-[0-9]*:../../devel/py-test-trio
 TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
+TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+
+# as of 0.31.0, needs ctrl-c a couple times to finish
+# 11 failed, 804 passed, 73 skipped, 2 xfailed
 
 # for tests
 USE_LANGUAGES= c

Index: pkgsrc/devel/py-trio/PLIST
diff -u pkgsrc/devel/py-trio/PLIST:1.14 pkgsrc/devel/py-trio/PLIST:1.15
--- pkgsrc/devel/py-trio/PLIST:1.14     Mon Apr 28 07:36:06 2025
+++ pkgsrc/devel/py-trio/PLIST  Sun Sep 21 16:20:50 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2025/04/28 07:36:06 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2025/09/21 16:20:50 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -49,6 +49,9 @@ ${PYSITELIB}/trio/_core/_generated_io_wi
 ${PYSITELIB}/trio/_core/_generated_run.py
 ${PYSITELIB}/trio/_core/_generated_run.pyc
 ${PYSITELIB}/trio/_core/_generated_run.pyo
+${PYSITELIB}/trio/_core/_generated_windows_ffi.py
+${PYSITELIB}/trio/_core/_generated_windows_ffi.pyc
+${PYSITELIB}/trio/_core/_generated_windows_ffi.pyo
 ${PYSITELIB}/trio/_core/_instrumentation.py
 ${PYSITELIB}/trio/_core/_instrumentation.pyc
 ${PYSITELIB}/trio/_core/_instrumentation.pyo
@@ -88,6 +91,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_cancelled.py
+${PYSITELIB}/trio/_core/_tests/test_cancelled.pyc
+${PYSITELIB}/trio/_core/_tests/test_cancelled.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
@@ -338,6 +344,9 @@ ${PYSITELIB}/trio/_tests/tools/test_gen_
 ${PYSITELIB}/trio/_tests/tools/test_mypy_annotate.py
 ${PYSITELIB}/trio/_tests/tools/test_mypy_annotate.pyc
 ${PYSITELIB}/trio/_tests/tools/test_mypy_annotate.pyo
+${PYSITELIB}/trio/_tests/tools/test_sync_requirements.py
+${PYSITELIB}/trio/_tests/tools/test_sync_requirements.pyc
+${PYSITELIB}/trio/_tests/tools/test_sync_requirements.pyo
 ${PYSITELIB}/trio/_tests/type_tests/check_wraps.py
 ${PYSITELIB}/trio/_tests/type_tests/check_wraps.pyc
 ${PYSITELIB}/trio/_tests/type_tests/check_wraps.pyo
@@ -371,6 +380,12 @@ ${PYSITELIB}/trio/_tools/gen_exports.pyo
 ${PYSITELIB}/trio/_tools/mypy_annotate.py
 ${PYSITELIB}/trio/_tools/mypy_annotate.pyc
 ${PYSITELIB}/trio/_tools/mypy_annotate.pyo
+${PYSITELIB}/trio/_tools/sync_requirements.py
+${PYSITELIB}/trio/_tools/sync_requirements.pyc
+${PYSITELIB}/trio/_tools/sync_requirements.pyo
+${PYSITELIB}/trio/_tools/windows_ffi_build.py
+${PYSITELIB}/trio/_tools/windows_ffi_build.pyc
+${PYSITELIB}/trio/_tools/windows_ffi_build.pyo
 ${PYSITELIB}/trio/_unix_pipes.py
 ${PYSITELIB}/trio/_unix_pipes.pyc
 ${PYSITELIB}/trio/_unix_pipes.pyo

Index: pkgsrc/devel/py-trio/distinfo
diff -u pkgsrc/devel/py-trio/distinfo:1.18 pkgsrc/devel/py-trio/distinfo:1.19
--- pkgsrc/devel/py-trio/distinfo:1.18  Mon Apr 28 07:36:06 2025
+++ pkgsrc/devel/py-trio/distinfo       Sun Sep 21 16:20:50 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2025/04/28 07:36:06 adam Exp $
+$NetBSD: distinfo,v 1.19 2025/09/21 16:20:50 wiz Exp $
 
-BLAKE2s (trio-0.30.0.tar.gz) = 8e4469bf907aebad91f8e038524d946f3867a5daa2d3c9e5f845c5e17b5f7713
-SHA512 (trio-0.30.0.tar.gz) = 888bb98b8942721fc6c1edc09f289206a3f2372cc2ceef085dd48ad811a83989f2b20dd9a6c68a8cf014e0398b668008d7735bc5c2de3fae223582390eccd747
-Size (trio-0.30.0.tar.gz) = 593776 bytes
+BLAKE2s (trio-0.31.0.tar.gz) = 571a18b9293be94b01ce31f59d37629c5abf6b231212270fad9e1a0c7a2220c3
+SHA512 (trio-0.31.0.tar.gz) = d91d1e3132330e32fd3a9ac3360d9414a5c26454b6edd1b48e181fed2ebf07f67fff216c84883c1b84976ef122f36f4949893b79dd6f3b290220ad1f1a517ab7
+Size (trio-0.31.0.tar.gz) = 605825 bytes



Home | Main Index | Thread Index | Old Index