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: Sat Feb 15 16:10:56 UTC 2025
Modified Files:
pkgsrc/devel/py-trio: Makefile distinfo
Log Message:
py-trio: updated to 0.29.0
Trio 0.29.0 (2025-02-14)
Features
- Add :func:`trio.lowlevel.in_trio_run` and :func:`trio.lowlevel.in_trio_task` and document the semantics (and differences) thereof. See :ref:`the documentation <trio_contexts>`.
- If `trio.testing.RaisesGroup` does not get the expected exceptions it now raises an `AssertionError` with a helpful message, instead of letting the raised exception/group fall through. The raised
exception is available in the ``__context__`` of the `AssertionError` and can be seen in the traceback.
Bugfixes
- Clear Trio's cache of worker threads upon `os.fork`.
Miscellaneous internal changes
- Stop using ctypes to mutate tracebacks for ``strict_exception_groups=False``'s exception collapsing.
- Fixed spelling error in Windows error code enum for ``ERROR_INVALID_PARAMETER``.
- Publicly re-export ``__version__`` for type checking purposes.
- The typing of :func:`trio.abc.HostnameResolver.getaddrinfo` has been corrected to
match that of the stdlib `socket.getaddrinfo`, which was updated in mypy 1.15 (via
a typeshed update) to include the possibility of ``tuple[int, bytes]`` for the
``sockaddr`` field of the result. This happens in situations where Python was compiled
with ``--disable-ipv6``.
Additionally, the static typing of :func:`trio.to_thread.run_sync`,
:func:`trio.from_thread.run` and :func:`trio.from_thread.run_sync` has been
improved and should reflect the underlying function being run.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-trio/Makefile
cvs rdiff -u -r1.16 -r1.17 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.22 pkgsrc/devel/py-trio/Makefile:1.23
--- pkgsrc/devel/py-trio/Makefile:1.22 Wed Dec 25 21:57:13 2024
+++ pkgsrc/devel/py-trio/Makefile Sat Feb 15 16:10:56 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2024/12/25 21:57:13 adam Exp $
+# $NetBSD: Makefile,v 1.23 2025/02/15 16:10:56 adam Exp $
-DISTNAME= trio-0.28.0
+DISTNAME= trio-0.29.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/trio/}
Index: pkgsrc/devel/py-trio/distinfo
diff -u pkgsrc/devel/py-trio/distinfo:1.16 pkgsrc/devel/py-trio/distinfo:1.17
--- pkgsrc/devel/py-trio/distinfo:1.16 Wed Dec 25 21:57:13 2024
+++ pkgsrc/devel/py-trio/distinfo Sat Feb 15 16:10:56 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2024/12/25 21:57:13 adam Exp $
+$NetBSD: distinfo,v 1.17 2025/02/15 16:10:56 adam Exp $
-BLAKE2s (trio-0.28.0.tar.gz) = b9f596db96331e026924029d98932b0fc105fdbb2eb48aa380bf0e5a9e917071
-SHA512 (trio-0.28.0.tar.gz) = ad6b3ce46ab9b10d58dc11e376751710d7b580175f3e2c0d48817e447e501f3d9780973647b7b46fecf6a9dc9a19965378315666b6b27440d19ed21efbf27dfa
-Size (trio-0.28.0.tar.gz) = 580318 bytes
+BLAKE2s (trio-0.29.0.tar.gz) = aaa639bb08b6738ac9df20b41e7f9bfa374dec263c4c2b33cd6c8cacfc004bd2
+SHA512 (trio-0.29.0.tar.gz) = 2a18328fd5ab9cf5fdce06dc4680c3944414e45152f5dd30c5ef770cc3229ebe945721cd0159ff14090bf7d5564aa1e1750f1115bdd2a866e658294d0f370d87
+Size (trio-0.29.0.tar.gz) = 588952 bytes
Home |
Main Index |
Thread Index |
Old Index