Compare commits
10 Commits
28468d7d70
...
c14c6a4eb5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c14c6a4eb5 | ||
|
|
f41c609bd8 | ||
|
|
a4e0e4a5cf | ||
|
|
666f8e2fbc | ||
|
|
32c24b7d61 | ||
|
|
7a24153fe3 | ||
|
|
754b3cf2a4 | ||
|
|
93cf1e74b4 | ||
|
|
3dfc209011 | ||
|
|
a2c19e11cf |
29
0002-python-pycurl-7.45.2-disable-test_http_version_3.patch
Normal file
29
0002-python-pycurl-7.45.2-disable-test_http_version_3.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From 6c55e6822a064edb8dd6dfe1ee21080f4f30b5cf Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= <lzaoral@redhat.com>
|
||||||
|
Date: Tue, 7 Mar 2023 16:32:19 +0100
|
||||||
|
Subject: [PATCH] tests: temporarily disable test_http_version_3
|
||||||
|
|
||||||
|
HTTP3 support in curl is only experimental at the moment and is disabled
|
||||||
|
in the corresponding Fedora package.
|
||||||
|
---
|
||||||
|
tests/option_constants_test.py | 4 ----
|
||||||
|
1 file changed, 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/option_constants_test.py b/tests/option_constants_test.py
|
||||||
|
index 7b94164..04dc3da 100644
|
||||||
|
--- a/tests/option_constants_test.py
|
||||||
|
+++ b/tests/option_constants_test.py
|
||||||
|
@@ -508,10 +508,6 @@ class OptionConstantsSettingTest(unittest.TestCase):
|
||||||
|
def test_http_version_2prior_knowledge(self):
|
||||||
|
self.curl.setopt(self.curl.HTTP_VERSION, self.curl.CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE)
|
||||||
|
|
||||||
|
- @util.min_libcurl(7, 66, 0)
|
||||||
|
- def test_http_version_3(self):
|
||||||
|
- self.curl.setopt(self.curl.HTTP_VERSION, self.curl.CURL_HTTP_VERSION_3)
|
||||||
|
-
|
||||||
|
@util.min_libcurl(7, 21, 5)
|
||||||
|
def test_sockopt_constants(self):
|
||||||
|
assert self.curl.SOCKOPT_OK is not None
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
||||||
Binary file not shown.
BIN
pycurl-7.45.2.tar.gz
Normal file
BIN
pycurl-7.45.2.tar.gz
Normal file
Binary file not shown.
@ -6,14 +6,16 @@
|
|||||||
%global srcname pycurl
|
%global srcname pycurl
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 7.44.1
|
Version: 7.45.2
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: A Python interface to libcurl
|
Summary: A Python interface to libcurl
|
||||||
License: LGPLv2+ or MIT
|
License: LGPL-2.0+ or MIT
|
||||||
URL: http://pycurl.sourceforge.net/
|
URL: http://pycurl.sourceforge.net/
|
||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source}
|
||||||
# drop link-time vs. run-time TLS backend check (#1446850)
|
# drop link-time vs. run-time TLS backend check (#1446850)
|
||||||
|
|
||||||
|
Patch1: 0002-python-pycurl-7.45.2-disable-test_http_version_3.patch
|
||||||
|
|
||||||
BuildRequires: gcc libcurl-devel openssl-devel vsftpd
|
BuildRequires: gcc libcurl-devel openssl-devel vsftpd
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -77,7 +79,9 @@ export OPENSSL_CONF=
|
|||||||
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
||||||
export PYCURL_SSL_LIBRARY=openssl
|
export PYCURL_SSL_LIBRARY=openssl
|
||||||
export PYCURL_VSFTPD_PATH=vsftpd
|
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
|
make test PYTHON=%{__python3} NOSETESTS="nosetests-%{python3_version} -v" PYFLAKES=true
|
||||||
rm -fv tests/fake-curl/libcurl/*.so
|
rm -fv tests/fake-curl/libcurl/*.so
|
||||||
|
|
||||||
@ -97,6 +101,24 @@ rm -fv tests/fake-curl/libcurl/*.so
|
|||||||
%{python3_sitearch}/pycurl-%{version}-*.egg-info
|
%{python3_sitearch}/pycurl-%{version}-*.egg-info
|
||||||
|
|
||||||
%changelog
|
%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
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:temporarily disable test_http_version_3
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 chendonghui6 <chendonghui6@huawei.com> - 7.45.2-1
|
||||||
|
- update version to 7.45.2
|
||||||
|
|
||||||
|
* Fri Aug 05 2022 yanglongkang <yanglongkang@h-partners.com> - 7.44.1-2
|
||||||
|
- Add release for rebuild
|
||||||
|
|
||||||
* Wed Dec 29 2021 guozhaorui <guozhaorui1@huawei.com> - 7.44.1-1
|
* Wed Dec 29 2021 guozhaorui <guozhaorui1@huawei.com> - 7.44.1-1
|
||||||
- update version to 7.44.1
|
- update version to 7.44.1
|
||||||
|
|
||||||
@ -112,7 +134,7 @@ rm -fv tests/fake-curl/libcurl/*.so
|
|||||||
- SUG:NA
|
- SUG:NA
|
||||||
- DESC:fix compile error
|
- DESC:fix compile error
|
||||||
|
|
||||||
* Thu Aug 4 2020 shixuantong <shixuantong@huawei.com> - 7.43.0.5-1
|
* Tue Aug 4 2020 shixuantong <shixuantong@huawei.com> - 7.43.0.5-1
|
||||||
- update to 7.43.0.5
|
- update to 7.43.0.5
|
||||||
|
|
||||||
* Fri Oct 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.43.0.2-6
|
* Fri Oct 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.43.0.2-6
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user