2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96) |
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
|
2022-11-15 10:49:38 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-trio: updated to 0.22.0
Trio 0.22.0 (2022-09-28)
------------------------
Headline features
~~~~~~~~~~~~~~~~~
- ``MultiError`` has been deprecated in favor of the standard \
:exc:`BaseExceptionGroup`
(introduced in :pep:`654`). On Python versions below 3.11, this exception and its
derivative :exc:`ExceptionGroup` are provided by the backport_. Trio still raises
``MultiError``, but it has been refactored into a subclass of \
:exc:`BaseExceptionGroup`
which users should catch instead of ``MultiError``. Uses of the \
``MultiError.filter()``
class method should be replaced with :meth:`BaseExceptionGroup.split`. Uses of the
``MultiError.catch()`` class method should be replaced with either ``except*`` \
clauses
(on Python 3.11+) or the ``exceptiongroup.catch()`` context manager provided by the
backport_.
See the :ref:`updated documentation <exceptiongroups>` for details.
Features
~~~~~~~~
- Added support for `Datagram TLS
<https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security>`__,
for secure communication over UDP. Currently requires `PyOpenSSL
<https://pypi.org/p/pyopenssl>`__.
|
2022-10-19 16:25:20 by Nia Alarie | Files touched by this commit (21) |
Log message:
fighting a losing battle against the py-cryptography rustification, part 5
Convert py-OpenSSL users to versioned_dependencies.mk
|
2022-06-09 17:53:27 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-trio: updated to 0.21.0
Trio 0.21.0
Features
Trio now supports Python 3.11.
Deprecations and Removals
Remove support for Python 3.6.
|
2022-02-22 14:56:14 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-trio: updated to 0.20.0
Trio 0.20.0 (2022-02-21)
------------------------
Features
- You can now conveniently spawn a child process in a background task
and interact it with on the fly using ``process = await
nursery.start(run_process, ...)``. See `run_process` for more details.
We recommend most users switch to this new API. Also note that:
- ``trio.open_process`` has been deprecated in favor of
`trio.lowlevel.open_process`,
- The ``aclose`` method on `Process` has been deprecated along with
``async with process_obj``.
- Now context variables set with `contextvars` are preserved when running functions
in a worker thread with `trio.to_thread.run_sync`, or when running
functions from the worker thread in the parent Trio thread with
`trio.from_thread.run`, and `trio.from_thread.run_sync`.
This is done by automatically copying the `contextvars` context.
`trio.lowlevel.spawn_system_task` now also receives an optional ``context`` \
argument.
Bugfixes
- Trio now avoids creating cyclic garbage when a `MultiError` is generated and \
filtered,
including invisibly within the cancellation system. This means errors raised
through nurseries and cancel scopes should result in less GC latency.
- Trio now deterministically cleans up file descriptors that were opened before
subprocess creation fails. Previously, they would remain open until the next run of
the garbage collector.
- Add compatibility with OpenSSL 3.0 on newer Python and PyPy versions by working
around ``SSLEOFError`` not being raised properly.
- Fix a bug that could cause `Process.wait` to hang on Linux systems using pidfds, if
another task were to access `Process.returncode` after the process exited but \
before
``wait`` woke up
|
2022-01-23 10:01:11 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-trio: works perfectly well on Python 3.7
|
2022-01-19 23:56:01 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-trio: add missing {TEST_,}DEPENDS
Bump PKGREVISION
|
2022-01-19 22:14:26 by Olaf Seibert | Files touched by this commit (4) |
Log message:
devel/py-trio: import from wip.
|