Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-trio for openSUSE:Factory checked in at 2022-04-02 18:20:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-trio (Old) and /work/SRC/openSUSE:Factory/.python-trio.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-trio" Sat Apr 2 18:20:23 2022 rev:10 rq:965627 version:0.20.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-trio/python-trio.changes 2021-12-16 21:19:20.034521732 +0100 +++ /work/SRC/openSUSE:Factory/.python-trio.new.1900/python-trio.changes 2022-04-02 18:20:33.986257668 +0200 @@ -1,0 +2,38 @@ +Tue Mar 29 09:40:18 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- 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 + +------------------------------------------------------------------- Old: ---- trio-0.19.0.tar.gz trio-pr2043-py310ssl-deprecationwarnings.patch New: ---- trio-0.20.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-trio.spec ++++++ --- /var/tmp/diff_new_pack.666U9e/_old 2022-04-02 18:20:35.158244513 +0200 +++ /var/tmp/diff_new_pack.666U9e/_new 2022-04-02 18:20:35.166244423 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-trio # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,18 +19,16 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-trio -Version: 0.19.0 +Version: 0.20.0 Release: 0 Summary: Python async/await-native I/O library License: Apache-2.0 OR MIT URL: https://github.com/python-trio/trio Source: https://github.com/python-trio/trio/archive/v%{version}.tar.gz#/trio-%{version}.tar.gz -#PATCH-FIX-UPSTREAM trio-pr2043-py310ssl-deprecationwarnings.patch -- gh#python-trio/trio#2043 -Patch0: https://github.com/python-trio/trio/pull/2043.patch#/trio-pr2043-py310ssl-deprecationwarnings.patch 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 base >= 3.7} BuildRequires: %{python_module idna} BuildRequires: %{python_module outcome} BuildRequires: %{python_module pyOpenSSL} @@ -38,7 +36,6 @@ BuildRequires: %{python_module setuptools} # for protocol specifications BuildRequires: %{python_module sniffio} -BuildRequires: %{python_module contextvars >= 2.1 if %python-base < 3.7} BuildRequires: %{python_module sortedcontainers} BuildRequires: %{python_module trustme} BuildRequires: %{python_module yapf >= 0.27.0} @@ -51,9 +48,6 @@ Requires: python-outcome Requires: python-sniffio Requires: python-sortedcontainers -%if 0%{?python_version_nodots} < 37 -Requires: python-contextvars >= 2.1 -%endif BuildArch: noarch %python_subpackages ++++++ trio-0.19.0.tar.gz -> trio-0.20.0.tar.gz ++++++ ++++ 3582 lines of diff (skipped)