14
0

Fix Leap 16.0 build

This commit is contained in:
2025-08-20 19:00:11 +08:00
parent 7318efad05
commit a35e9846e9
2 changed files with 11 additions and 0 deletions

View File

@@ -71,7 +71,11 @@ tar -xvf %{SOURCE1} geventhttpclient-%{version}/tests/
%check
# test_cookielib_compatibility https://github.com/gwik/geventhttpclient/issues/119
# test_no_module_ssl.py https://github.com/geventhttpclient/geventhttpclient/issues/180
%if 0%{?suse_version} > 1600
%pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl)'
%else
%pytest_arch -m 'not network' -k 'not (test_cookielib_compatibility or test_no_module_ssl or test_implicit_sni_from_host_in_ssl or test_implicit_sni_from_header_in_ssl or test_explicit_sni_in_ssl)'
%endif
%files %{python_files}
%doc README.md