diff --git a/python-trio.changes b/python-trio.changes index 6d23abd..8551574 100644 --- a/python-trio.changes +++ b/python-trio.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sat Jan 11 12:01:37 UTC 2020 - Ondřej Súkup + +- 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. + ------------------------------------------------------------------- Mon Aug 5 12:56:53 UTC 2019 - pgajdos@suse.com diff --git a/python-trio.spec b/python-trio.spec index f2f0e93..dfa911d 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -1,7 +1,7 @@ # # spec file for package python-trio # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-trio -Version: 0.12.1 +Version: 0.13.0 Release: 0 Summary: An async/await-native I/O library License: MIT OR Apache-2.0 @@ -28,7 +28,7 @@ URL: https://github.com/python-trio/trio Source: https://github.com/python-trio/trio/archive/v%{version}.tar.gz#/trio-%{version}.tar.gz BuildRequires: %{python_module astor >= 0.8} BuildRequires: %{python_module async_generator >= 1.9} -BuildRequires: %{python_module attrs >= 18.2.0} +BuildRequires: %{python_module attrs >= 19.2.0} BuildRequires: %{python_module idna} BuildRequires: %{python_module outcome} BuildRequires: %{python_module pyOpenSSL} @@ -43,7 +43,7 @@ BuildRequires: fdupes BuildRequires: netcfg BuildRequires: python-rpm-macros Requires: python-async_generator >= 1.9 -Requires: python-attrs >= 18.2.0 +Requires: python-attrs >= 19.2.0 Requires: python-idna Requires: python-outcome Requires: python-sniffio diff --git a/trio-0.12.1.tar.gz b/trio-0.12.1.tar.gz deleted file mode 100644 index c3c3978..0000000 --- a/trio-0.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10751104d776a00bd826d565257d7def59dc8c639cbf8f443a20da824d25e674 -size 429427 diff --git a/trio-0.13.0.tar.gz b/trio-0.13.0.tar.gz new file mode 100644 index 0000000..b54d709 --- /dev/null +++ b/trio-0.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d38c702dfd50495a1cd486d4c3d997b742ac5c4c9624c65e9b2630bf796c8ee2 +size 441925