From f41c609bd87a259e6abe825ba8f30963abda271c Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Fri, 12 Apr 2024 02:54:21 +0000 Subject: [PATCH] disable tests incompatible with curl 8.4.0 and newer https://gitee.com/src-openeuler/python-pycurl/issues/I9FILZ?from=project-issue Signed-off-by: zhuofeng --- python-pycurl.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pycurl.spec b/python-pycurl.spec index 54bb2f8..9e38225 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -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 - 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 - 7.45.2-2 - Type:bugfix - CVE:NA