diff --git a/python-trio.changes b/python-trio.changes index 246dff8..effc7db 100644 --- a/python-trio.changes +++ b/python-trio.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Sun Oct 11 15:36:02 UTC 2020 - John Vandenberg + +- 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. + ------------------------------------------------------------------- Thu Jul 23 12:46:45 UTC 2020 - Marketa Calabkova diff --git a/python-trio.spec b/python-trio.spec index 3aaaae6..b68e388 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -19,9 +19,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-trio -Version: 0.16.0 +Version: 0.17.0 Release: 0 -Summary: An async/await-native I/O library +Summary: Python async/await-native I/O library License: MIT OR Apache-2.0 URL: https://github.com/python-trio/trio Source: https://github.com/python-trio/trio/archive/v%{version}.tar.gz#/trio-%{version}.tar.gz @@ -69,19 +69,23 @@ has an obsessive focus on usability and correctness. %prep %setup -q -n trio-%{version} +sed -i '1{/^#!/d}' trio/_tools/gen_exports.py %build %python_build %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand rm -r %{buildroot}%{$python_sitelib}/trio/tests/ +%fdupes %{buildroot}%{$python_sitelib} +} %check # test_static_tool_sees_all_symbols uses jedi/pylint for static analysis, # pointless for us. # test_SSLStream_generic deadlocks in OBS -%pytest -k 'not (test_static_tool_sees_all_symbols or test_SSLStream_generic)' +# test_close_at_bad_time_for_send_all fails on PPC https://github.com/python-trio/trio/issues/1753 +%pytest -k 'not (test_static_tool_sees_all_symbols or test_SSLStream_generic or test_close_at_bad_time_for_send_all)' %files %{python_files} %doc README.rst diff --git a/trio-0.16.0.tar.gz b/trio-0.16.0.tar.gz deleted file mode 100644 index 94e896b..0000000 --- a/trio-0.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:246823ae026fd0a9a1cd38db0106ac3ba511be228192f4bf75c336c589e8af78 -size 469784 diff --git a/trio-0.17.0.tar.gz b/trio-0.17.0.tar.gz new file mode 100644 index 0000000..9a0ab8a --- /dev/null +++ b/trio-0.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e85cf9858e445465dfbb0e3fdf36efe92082d2df87bfe9d62585eedd6e8e9d7d +size 439265