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:           Wed Aug 12 10:31:21 UTC 2026

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

Log Message:
py-trio: updated to 0.34.0

trio 0.34.0 (2026-08-10)

Features

- `MemoryChannelStatistics` now has a ``peak_buffer_used`` field, which reports
  the largest number of items that have ever been in the channel's buffer at
  once. This makes it easier to pick a sensible ``max_buffer_size`` based on
  data from a real run, instead of guessing.
- Support Python 3.15, as of beta 4. Things may still change and so this
  support may break in the future.

Bugfixes

- ``Nursery.start()`` now preserves the ``__cause__`` and ``__context__`` of
  exceptions raised before ``task_status.started()`` is called.
- Fixed incorrect error message in ``run_process``: the ``stdout`` pipe check now correctly says "stdout" instead of "stdin".
- Fixed ``trio.Path.as_uri()`` on Python 3.14+ to avoid the deprecated ``pathlib.PurePath.as_uri()`` path.
- Fixed ``trio.to_thread.run_sync``` workers leaking spawner's ``Context`` on ``py314t+`` free-threaded builds.

Deprecations and removals

- Trying to use absolute deadlines on a `trio.CancelScope` constructed
  with a relative deadline now raises, after being deprecated since Trio
  0.27.0.

  To switch a cancel scope from being relative to absolute, replace the
  `trio.CancelScope` object instead of trying to mutate it.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-trio/Makefile
cvs rdiff -u -r1.21 -r1.22 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.28 pkgsrc/devel/py-trio/Makefile:1.29
--- pkgsrc/devel/py-trio/Makefile:1.28  Sun Feb 15 14:11:13 2026
+++ pkgsrc/devel/py-trio/Makefile       Wed Aug 12 10:31:21 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2026/02/15 14:11:13 adam Exp $
+# $NetBSD: Makefile,v 1.29 2026/08/12 10:31:21 adam Exp $
 
-DISTNAME=      trio-0.33.0
+DISTNAME=      trio-0.34.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.21 pkgsrc/devel/py-trio/distinfo:1.22
--- pkgsrc/devel/py-trio/distinfo:1.21  Sun Feb 15 14:11:13 2026
+++ pkgsrc/devel/py-trio/distinfo       Wed Aug 12 10:31:21 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2026/02/15 14:11:13 adam Exp $
+$NetBSD: distinfo,v 1.22 2026/08/12 10:31:21 adam Exp $
 
-BLAKE2s (trio-0.33.0.tar.gz) = 1adc3ec7c63d51ea12bdffcb356f9bc7485129c5458c78563487766caf4d6ea3
-SHA512 (trio-0.33.0.tar.gz) = edd4bd9cdda4ca68a251d0cf6841b549448fcdc0816c7ec8347966a8fbb4971e36134799d06c949150b8de2f1233c0de7becd600d29ba0e2c5a6a6ab03e7697e
-Size (trio-0.33.0.tar.gz) = 605109 bytes
+BLAKE2s (trio-0.34.0.tar.gz) = b2ee173d329d29909172d5c4cbad1d47c53d6dec7b8e128f8e96d523e27686a5
+SHA512 (trio-0.34.0.tar.gz) = c3c56b74ccfab6fa192f6702a1e27f5daf2462323a419e13b98a51f2f23244ece3265559bb4599ca7f80aaa674038cc58443558334e28fa1e804993395a809bc
+Size (trio-0.34.0.tar.gz) = 607457 bytes



Home | Main Index | Thread Index | Old Index