Revisions of python-trio

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1160629 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 17)
Forwarded request #1160593 from mcalabkova

- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1112325 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 15)
- remove buildrequires that are not used on sle15

  * If you want to use Trio, but are stuck with some other event loop
    memory channels slightly smaller and faster.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1045129 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 13)
Forwarded request #1045068 from bnavigator

- Try again with 0.22.0 and a fixed httpcore

  - go back to 0.21.0 as it breaks httpcore
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1037176 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 12)
- Fix rpmlint error python-tests-in-package.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1005914 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 11)
- update to 0.21.0:
  * Trio now supports Python 3.11.
  * Remove support for Python 3.6.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 841142 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
- Remove hashbang and tests in runtime package
- Disable test test_close_at_bad_time_for_send_all due to failure on PPC
- Update to v0.17.0
  * trio.open_tcp_stream has a new local_address= keyword argument
    that can be used on machines with multiple IP addresses to
    control which IP is used for the outgoing connection
  * If you pass a raw IP address into sendto, it no longer spends
    any time trying to resolve the hostname. If you're using UDP,
    this should substantially reduce your per-packet overhead
  * trio.lowlevel.checkpoint is now much faster
  * new, lower-overhead data structure to track upcoming timeouts,
    which should make your programs faster
  * Trio can now be imported when sys.excepthook is a functools.partial
    instance, which might occur in a pytest-qt test function
  * The thread cache didn't release its reference to the previous job
  * Remove wait_socket_*, notify_socket_closing, notify_fd_closing,
    run_sync_in_worker_thread and current_default_worker_thread_limiter
  * When using "instruments", you now only "pay for what you use":
    if there are no instruments installed that override a particular
    hook such as `abc.Instrument.before_task_step`, then Trio doesn't
    waste any effort on checking its instruments when the event
    corresponding to that hook occurs.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 812800 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 5)
- Update to 0.15.1:
  * Added a helpful error message if an async function is passed to
    trio.from_thread.run_sync or a sync function to trio.from_thread.run. (#1244)
  * Previously, when trio.run_process was cancelled, it always killed the subprocess immediately. Now, on Unix, it first gives the process a chance to clean up by sending SIGTERM, and only escalates to SIGKILL if the process is still running after 5 seconds. But if you prefer the old behavior, or want to adjust the timeout, then don't worry: you can now pass a custom deliver_cancel= argument to define your own process killing policy. (#1104)
  * It turns out that creating a subprocess can block the parent process for a surprisingly long time. So trio.open_process now uses a worker thread to avoid blocking the event loop. (#1109)
  * On Linux kernels v5.3 or newer, trio.Process.wait now uses the pidfd API to track child processes. This shouldn't have any user-visible change, but it makes working with subprocesses faster and use less memory. (#1241)
  * The trio.Process.returncode attribute is now automatically updated as needed, instead of only when you call ~trio.Process.poll or ~trio.Process.wait. Also, repr(process_object) now always contains up-to-date information about the process status. (#1315)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 763378 from Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) (revision 4)
- update to 0.13.0
 * Use slots for memory channel state and statistics which should make
    memory channels slightly smaller and faster. 
 * OpenSSL has a bug in its handling of TLS 1.3 session tickets that can cause
    deadlocks or data loss in some rare edge cases. These edge cases most frequently
    happen during tests.
 * Trio now uses signal.set_wakeup_fd on all platforms.
 * Trio no longer crashes when an async function is implemented in C or Cython
    and then passed directly to trio.run or nursery.start_soon.
 * When a Trio task makes improper use of a non-Trio async library, Trio nowi
    causes an exception to be raised within the task at the point of the error,
    rather than abandoning the task and raising an error in its parent.
    This improves debuggability and resolves the TrioInternalError that would
    sometimes result from the old strategy. (#552)
 * In 0.12.0 we deprecated trio.run_sync_in_worker_thread in favor
    of trio.to_thread.run_sync. But, the deprecation message listed the wrong
    name for the replacement.
 * Fix regression introduced with cancellation changes in 0.12.0, where
    a trio.CancelScope which isn't cancelled could catch a propagating
    trio.Cancelled exception if shielding were changed while the cancellation
    was propagating.
 * Fix a crash that could happen when using MockClock with autojump enabled
    and a non-zero rate.
 * If you nest >1000 cancel scopes within each other, Trio now handles that
    gracefully instead of crashing with a RecursionError.
 * Fixed the hash behavior of trio.Path to match pathlib.Path. Previously
    trio.Path's hash was inherited from object instead of from pathlib.PurePath.
Displaying all 17 revisions
openSUSE Build Service is sponsored by