diff --git a/python-trio.changes b/python-trio.changes index 8551574..ec2dfc1 100644 --- a/python-trio.changes +++ b/python-trio.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jun 9 07:36:03 UTC 2020 - Tomáš Chvátal + +- 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) + ------------------------------------------------------------------- Sat Jan 11 12:01:37 UTC 2020 - Ondřej Súkup diff --git a/python-trio.spec b/python-trio.spec index dfa911d..4fee00a 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -19,26 +19,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-trio -Version: 0.13.0 +Version: 0.15.1 Release: 0 Summary: An async/await-native I/O library License: MIT OR Apache-2.0 -Group: Development/Languages/Python 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 >= 19.2.0} +BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module idna} BuildRequires: %{python_module outcome} BuildRequires: %{python_module pyOpenSSL} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 5.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module yapf >= 0.27.0} # for protocol specifications BuildRequires: %{python_module sniffio} BuildRequires: %{python_module sortedcontainers} BuildRequires: %{python_module trustme} +BuildRequires: %{python_module yapf >= 0.27.0} BuildRequires: fdupes BuildRequires: netcfg BuildRequires: python-rpm-macros diff --git a/trio-0.13.0.tar.gz b/trio-0.13.0.tar.gz deleted file mode 100644 index b54d709..0000000 --- a/trio-0.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d38c702dfd50495a1cd486d4c3d997b742ac5c4c9624c65e9b2630bf796c8ee2 -size 441925 diff --git a/trio-0.15.1.tar.gz b/trio-0.15.1.tar.gz new file mode 100644 index 0000000..25d4ae6 --- /dev/null +++ b/trio-0.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:837ca5871e73639d8eae2a742b479b11fb26a399311477d0423088e22735f82f +size 457493