14
0
forked from pool/python-pycurl

Accepting request 1117519 from devel:languages:python

- 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/request/show/1117519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycurl?expand=0&rev=44
This commit is contained in:
2023-10-12 21:37:18 +00:00
committed by Git OBS Bridge
2 changed files with 18 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 12 14:09:12 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- 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,7 +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
%pytest_arch -s -k "not ($test_flags or test_getinfo)"
dont_test="or test_getinfo "
# test_multi_socket_select fails with new curl gh#pycurl/pycurl#819
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
@@ -129,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