forked from pool/python-trio
Accepting request 841063 from home:jayvdb:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/841063 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=16
This commit is contained in:
parent
1a203ad89b
commit
a8653f60b9
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 11 15:36:02 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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 <mcalabkova@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:246823ae026fd0a9a1cd38db0106ac3ba511be228192f4bf75c336c589e8af78
|
||||
size 469784
|
3
trio-0.17.0.tar.gz
Normal file
3
trio-0.17.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e85cf9858e445465dfbb0e3fdf36efe92082d2df87bfe9d62585eedd6e8e9d7d
|
||||
size 439265
|
Loading…
Reference in New Issue
Block a user