15
0

- Add remove-zlib-ng-test-dep.patch to remove python-zlib-ng test

dependency

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=153
This commit is contained in:
2025-07-28 10:39:53 +00:00
committed by Git OBS Bridge
parent 97682137f7
commit ed56020ac4
3 changed files with 40 additions and 1 deletions

View File

@@ -29,6 +29,8 @@ Patch0: test_no_warnings_fix.patch
# PATCH-FIX-OPENSUSE remove-isal-test-dep.patch -- daniel.garcia@suse.com
# Remove python-isal dependency for testing.
Patch1: remove-isal-test-dep.patch
# PATCH-FIX-OPENSUSE remove-zlib-ng-test-dep.patch
Patch2: remove-zlib-ng-test-dep.patch
Requires: python-aiohappyeyeballs >= 2.5.0
Requires: python-aiosignal >= 1.4
Requires: python-attrs >= 17.3.0
@@ -73,7 +75,6 @@ BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module re-assert}
BuildRequires: %{python_module time-machine}
BuildRequires: %{python_module trustme}
BuildRequires: %{python_module zlib-ng}
# /SECTION
# SECTION docs
%if %{with docs}
@@ -134,6 +135,8 @@ donttest="test_aiohttp_request_coroutine or test_mark_formdata_as_processed or t
donttest+=" or test_tcp_connector_ssl_shutdown_timeout"
# most probably https://github.com/cbornet/blockbuster/issues/47
donttest+=" or (test_cookie_jar and (heap or expire)) or test_treat_as_secure_origin_init"
# hardlimit for open files too low
donttest+=" or test_handler_cancellation or test_no_handler_cancellation "
# requires python-on-whales
rm -v tests/autobahn/test_autobahn.py