14
0
forked from pool/python-pycurl

- Skip test_multi_socket_select (gh#pycurl/pycurl#819),

test_multi_socket_action (gh#pycurl/pycurl#729), and
  test_request_with_verifypeer (gh#pycurl/pycurl#822).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=101
This commit is contained in:
2023-10-12 18:11:45 +00:00
committed by Git OBS Bridge
parent 240cef0feb
commit 2de07c02b1
2 changed files with 13 additions and 3 deletions

View File

@@ -6,7 +6,9 @@ Thu Oct 12 16:23:50 UTC 2023 - Ana Guerrero <ana.guerrero@suse.com>
-------------------------------------------------------------------
Thu Oct 12 14:09:12 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Skip test_multi_socket_select (gh#pycurl/pycurl#819)
- Skip test_multi_socket_select (gh#pycurl/pycurl#819),
test_multi_socket_action (gh#pycurl/pycurl#729), and
test_request_with_verifypeer (gh#pycurl/pycurl#822).
-------------------------------------------------------------------
Sun Apr 23 23:18:42 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@@ -120,8 +120,14 @@ if ! pkg-config --variable=supported_protocols libcurl|grep -qw HTTP3; then
test_flags="$test_flags or http_version_3"
fi
# test_getinfo are failing with new bottle
dont_test="or test_getinfo "
# test_multi_socket_select fails with new curl gh#pycurl/pycurl#819
%pytest_arch -s -k "not ($test_flags or test_getinfo or test_multi_socket_select or test_multi_socket_action)"
dont_test+="or test_multi_socket_select "
# test_multi_socket_action gh#pycurl/pycurl#729
dont_test+="or test_multi_socket_action "
# test_request_with_verifypeer for gh#pycurl/pycurl#822
dont_test+="or test_request_with_verifypeer "
%pytest_arch -s -k "not ($test_flags $dont_test)"
rm -rf %{buildroot}%{_prefix}/lib/debug %{buildroot}%{_libdir}/python*
# test
%endif
@@ -130,7 +136,9 @@ rm -rf %{buildroot}%{_prefix}/lib/debug %{buildroot}%{_libdir}/python*
%files %{python_files}
%license COPYING-LGPL COPYING-MIT
%doc AUTHORS ChangeLog README.rst
%{python_sitearch}/*
%{python_sitearch}/curl
%{python_sitearch}/pycurl*.so
%{python_sitearch}/pycurl-%{version}*-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc