Accepting request 1134719 from home:bnavigator:branches:devel:languages:python
- Fix pytest call - Update requirements OBS-URL: https://build.opensuse.org/request/show/1134719 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=112
This commit is contained in:
parent
dc33a0afc1
commit
4e991d8d7f
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 22 13:46:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix pytest call
|
||||
- Update requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 15:22:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -31,9 +31,9 @@ Patch1: remove-re-assert.patch
|
||||
Requires: python-aiosignal >= 1.1.2
|
||||
Requires: python-attrs >= 17.3.0
|
||||
Requires: python-frozenlist >= 1.1.1
|
||||
# %if %python_version_nodots < 311
|
||||
%if 0%{?python_version_nodots} < 311
|
||||
Requires: (python-async_timeout >= 4.0 with python-async_timeout < 5)
|
||||
# %endif
|
||||
%endif
|
||||
Requires: (python-charset-normalizer >= 2.0 with python-charset-normalizer < 4)
|
||||
Requires: (python-multidict >= 4.5 with python-multidict < 7)
|
||||
Requires: (python-yarl >= 1.0 with python-yarl < 2)
|
||||
@ -130,11 +130,14 @@ donttest+=" or test_client_session_timeout_zero or test_requote_redirect_url_def
|
||||
# flaky
|
||||
donttest+=" or test_https_proxy_unsupported_tls_in_tls"
|
||||
# not running under pytest ?!
|
||||
donttest+=" or test_circular_imports test_import_time"
|
||||
donttest+=" or test_circular_imports or test_import_time"
|
||||
# requires python-on-whales
|
||||
rm -v tests/autobahn/test_autobahn.py
|
||||
# randomly fails on xdist splits
|
||||
single_runs="test_run_app"
|
||||
test -d aiohttp && mv aiohttp aiohttp.bkp
|
||||
%pytest_arch %{?jobs: -n %jobs} tests -k "not ($donttest ${$python_donttest})"
|
||||
%pytest_arch %{?jobs: -n %jobs} tests -k "not ($donttest or ${single_runs})"
|
||||
%pytest_arch tests -k "${single_runs}"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user