SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for python312-trio-0.25.0-1.2.noarch.rpm :

* Fri Mar 22 2024 Markéta Machová - Update to 0.25.0
* New helper classes: RaisesGroup and Matcher.
* MultiError has been fully removed, and all relevant trio functions now raise ExceptionGroups instead.
* The strict_exception_groups parameter now defaults to True in trio.run and trio.lowlevel.start_guest_run.
* Add trio.testing.wait_all_threads_completed, which blocks until no threads are running tasks.
* Path is now a subclass of pathlib.PurePath, allowing it to interoperate with other standard pathlib types.
* Thu Jan 11 2024 Ben Greiner - We don\'t need isort for the tests: Avoid it for Ring1- Clean dependencies
* Wed Jan 03 2024 Dirk Müller - update to 0.23.2:
* TypeVarTuple is now used to fully type :meth:`nursery.start_soon() `, :func:`trio.run()`, :func:`trio.to_thread.run_sync()`, and other similar functions accepting (func,
*args). This means type checkers will be able to verify types are used correctly. :meth:`nursery.start() ` is not fully typed yet however. (#2881)
* Make pyright recognize :func:`open_memory_channel` as generic. (#2873) backlink Unknown interpreted text role \"func\".
* Make pyright recognize :func:`open_memory_channel` as generic.
* Unknown interpreted text role \"func\".
* Moved the metadata into PEP 621-compliant :file:`pyproject.toml`. (#2860)
* Tue Nov 07 2023 Dirk Müller - update to 0.23.1:
* Don\'t crash on import in Anaconda interpreters.
* Add type hints.
* When exiting a nursery block, the parent task always waits for child tasks to exit. This wait cannot be cancelled. However, previously, if you tried to cancel it, it
*would
* inject a `Cancelled` exception, even though it wasn\'t cancelled. Most users probably never noticed either way, but injecting a `Cancelled` here is not really useful, and in some rare cases caused confusion or problems, so Trio no longer does that.
* If called from a thread spawned by `trio.to_thread.run_sync`, `trio.from_thread.run` and `trio.from_thread.run_sync` now reuse the task and cancellation status of the host task;
* this means that context variables and cancel scopes naturally propagate \'through\' threads spawned by Trio. You can also use `trio.from_thread.check_cancelled` to efficiently check for cancellation without reentering the Trio thread.
* :func:`trio.lowlevel.start_guest_run` now does a bit more setup of the guest run before it returns to its caller, so that the caller can immediately make calls to :func:`trio.current_time`, :func:`trio.lowlevel.spawn_system_task`, :func:`trio.lowlevel.current_trio_token`, etc.
* When a starting function raises before calling :func:`trio.TaskStatus.started`, :func:`trio.Nursery.start` will no longer wrap the exception in an undocumented :exc:`ExceptionGroup`.
* To better reflect the underlying thread handling semantics, the keyword argument for `trio.to_thread.run_sync` that was previously called ``cancellable`` is now named ``abandon_on_cancel``.
* The old ``cancellable`` name is now deprecated.
* Tue Oct 31 2023 Matej Cepl - Update to 0.22.2:
* Fix PermissionError when importing trio due to trying to access pthread.
* Breaking change: Timeout functions now raise ValueError if passed math.nan. This includes trio.sleep, trio.sleep_until, trio.move_on_at, trio.move_on_after, trio.fail_at and trio.fail_after.
* Added support for naming threads created with trio.to_thread.run_sync, requires pthreads so is only available on POSIX platforms with glibc installed.
* trio.socket.socket now prints the address it tried to connect to upon failure.
* Fixed a crash that can occur when running Trio within an embedded Python interpreter, by handling the TypeError that is raised when trying to (re-)install a C signal handler.
* Fix sniffio.current_async_library() when Trio tasks are spawned from a non-Trio context (such as when using trio-asyncio). Previously, a regular Trio task would inherit the non-Trio library name, and spawning a system task would cause the non-Trio caller to start thinking it was Trio.
* Documented that Nursery.start_soon does not guarantee task ordering.
* Tue Sep 19 2023 Dirk Müller - remove buildrequires that are not used on sle15
* Fri Apr 21 2023 Dirk Müller - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl - Make calling of %{sle15modernpython} optional.
* Fri Dec 23 2022 Ben Greiner - Try again with 0.22.0 and a fixed httpcore
* Mon Dec 19 2022 Dirk Müller - go back to 0.21.0 as it breaks httpcore
* Wed Dec 07 2022 Daniel Garcia - Update to 0.22.0:
* MultiError has been deprecated in favor of the standard BaseExceptionGroup (introduced in PEP 654). On Python versions below 3.11, this exception and its derivative ExceptionGroup are provided by the backport. Trio still raises MultiError, but it has been refactored into a subclass of BaseExceptionGroup which users should catch instead of MultiError. Uses of the MultiError.filter() class method should be replaced with 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 updated documentation for details. [#] Features
* Added support for Datagram TLS, for secure communication over UDP. Currently requires PyOpenSSL. (#2010)
* Mon Nov 21 2022 Matej Cepl - Fix rpmlint error python-tests-in-package.
* Sun Sep 25 2022 Dirk Müller - update to 0.21.0:
* Trio now supports Python 3.11.
* Remove support for Python 3.6.
* Tue Mar 29 2022 Ben Greiner - Update to version 0.20.0
* 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. (#1104)
* 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. (#2160)
* 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. (#2063)
* 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. (#2193)
* Add compatibility with OpenSSL 3.0 on newer Python and PyPy versions by working around SSLEOFError not being raised properly. (#2203)
* 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 (#2209)- Drop trio-pr2043-py310ssl-deprecationwarnings.patch
* Sun Dec 12 2021 Ben Greiner - Update to version 0.19.0
* Trio now supports Python 3.10. (#1921)
* Use slots for `~.lowlevel.Task` which should make them slightly smaller and faster. (#1927)
* Make `~.Event` more lightweight by using less objects (about 2 rather than 5, including a nested ParkingLot and attribute dicts) and simpler structures (set rather than OrderedDict). This may benefit applications that create a large number of event instances, such as with the \"replace event object on every set()\" idiom. (#1948)
* The event loop now holds on to references of coroutine frames for only the minimum necessary period of time. (#1864)
* The `~.lowlevel.TrioToken` class can now be used as a target of a weak reference. (#1924)- Release 0.18.0
* Add synchronous .close() methods and context manager (with x) support for .MemorySendChannel and .MemoryReceiveChannel. (#1797)
* Previously, on Windows, Trio programs using thousands of sockets at the same time could trigger extreme slowdowns in the Windows kernel. Now, Trio works around this issue, so you should be able to use as many sockets as you want. (#1280)
* `trio.from_thread.run` no longer crashes the Trio run if it is executed after the system nursery has been closed but before the run has finished. Calls made at this time will now raise trio.RunFinishedError. This fixes a regression introduced in Trio 0.17.0. The window in question is only one scheduler tick long in most cases, but may be longer if async generators need to be cleaned up. (#1738)
* Fix a crash in pypy-3.7 (#1765)
* Trio now avoids creating cyclic garbage as often. This should have a minimal impact on most programs, but can slightly reduce how often the cycle collector GC runs on CPython, which can reduce latency spikes. (#1770)
* Remove deprecated max_refill_bytes from `SSLStream`. (#959)
* Remove the deprecated tiebreaker argument to trio.testing.wait_all_tasks_blocked. (#1558)
* Remove the deprecated trio.hazmat module. (#1722)
* Stop allowing subclassing public classes. This behavior was deprecated in 0.15.0. (#1726)- Add trio-pr2043-py310ssl-deprecationwarnings.patch
* Fri Jan 08 2021 Markéta Machová - Skip test incompatible with new pytest 6.2
 
ICM