!29 【轻量级 PR】:disable tests incompatible with curl 8.4.0 and newer

From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2024-04-12 06:22:56 +00:00 committed by Gitee
commit c14c6a4eb5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,7 +7,7 @@
Name: python-%{srcname}
Version: 7.45.2
Release: 2
Release: 3
Summary: A Python interface to libcurl
License: LGPL-2.0+ or MIT
URL: http://pycurl.sourceforge.net/
@ -79,7 +79,9 @@ export OPENSSL_CONF=
export PYTHONPATH=%{buildroot}%{python3_sitearch}
export PYCURL_SSL_LIBRARY=openssl
export PYCURL_VSFTPD_PATH=vsftpd
export PYTEST_ADDOPTS="--ignore examples -m 'not online'"
# disable tests incompatible with curl 8.4.0 and newer
export PYTEST_ADDOPTS="--ignore examples -m 'not online' -k 'not (test_http_version_3 or test_multi_socket_action or test_multi_socket_select or test_easy_pause_unpause)'"
make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v" PYFLAKES=true
rm -fv tests/fake-curl/libcurl/*.so
@ -99,6 +101,12 @@ rm -fv tests/fake-curl/libcurl/*.so
%{python3_sitearch}/pycurl-%{version}-*.egg-info
%changelog
* Fri Apr 12 2024 zhuofeng <zhuofeng2@huawei.com> - 7.45.2-3
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:disable tests incompatible with curl 8.4.0 and newer
* Tue Mar 21 2023 zhuofeng <zhuofeng2@huawei.com> - 7.45.2-2
- Type:bugfix
- CVE:NA