forked from pool/python-pycurl
Accepting request 1179069 from devel:languages:python
- update to 7.45.3: * Add CURLOPT_REQUEST_TARGET option * Add missing 2nd parameters to METH_NOARGS functions * Add CURLOPT_AWS_SIGV4 option (patch by Scott Talbert). * Add consistent names for newer Curl version constants * Only run HTTP version 3 option constant test if curl supported * Expose COMPILE_SSL_LIB in Python and use for test filtering * Filter tests based on *compile* libcurl version not runtime version * Use print function in callbacks documentation * Add missing shebang to tests/ext/test-suite.sh * Officially declare support for Python 3.12 * Fix curl_multi_info_read flow that loses messages * Support using environment variables for setup on Windows * Add support for Schannel SSL backend (patch by Scott Talbert) * Skip HTTP2 tests based on a curl support check * Fix fake-curl tests so they work when run out of tree * xfail test_easy_pause_unpause unconditionally * Provide generic error strings in pycurl.error objects * Change URLs to new curl mailing list (patch by Michael C). * Add missing HTTPS proxy options (patch by Jean Hominal). * Add support for setting CURLOPT_SSLCERT_BLOB * Add support for setting rest of CURLOPTTYPE_BLOB fields * Build wheels on Linux/macOS/Windows (patch by Scott Talbert). - drop pause-unpause-xfail.patch (upstream) - refresh python-pycurl-7.43.0-tls-backend.patch - remove runtime curl version check and __DATE__ __TIME__ usage - Add Source URL, see https://en.opensuse.org/SourceUrls OBS-URL: https://build.opensuse.org/request/show/1179069 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycurl?expand=0&rev=46
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
Index: pycurl-7.45.2/tests/multi_callback_test.py
|
|
||||||
===================================================================
|
|
||||||
--- pycurl-7.45.2.orig/tests/multi_callback_test.py
|
|
||||||
+++ pycurl-7.45.2/tests/multi_callback_test.py
|
|
||||||
@@ -77,7 +77,7 @@ class MultiCallbackTest(unittest.TestCas
|
|
||||||
|
|
||||||
# (mid-transfer) easy.pause(PAUSE_ALL) must call SOCKETFUNCTION to remove sockets
|
|
||||||
# (mid-transfer) easy.pause(PAUSE_CONT) must call TIMERFUNCTION to resume
|
|
||||||
- @pytest.mark.xfail(sys.platform == 'darwin', reason='https://github.com/pycurl/pycurl/issues/729')
|
|
||||||
+ @pytest.mark.xfail(sys.platform is not None, reason='https://github.com/pycurl/pycurl/issues/729')
|
|
||||||
def test_easy_pause_unpause(self):
|
|
||||||
self.partial_transfer()
|
|
||||||
self.socket_result = None
|
|
BIN
pycurl-7.45.2.tar.gz
(Stored with Git LFS)
BIN
pycurl-7.45.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pycurl-7.45.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
pycurl-7.45.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 6 15:17:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 7.45.3:
|
||||||
|
* Add CURLOPT_REQUEST_TARGET option
|
||||||
|
* Add missing 2nd parameters to METH_NOARGS functions
|
||||||
|
* Add CURLOPT_AWS_SIGV4 option (patch by Scott Talbert).
|
||||||
|
* Add consistent names for newer Curl version constants
|
||||||
|
* Only run HTTP version 3 option constant test if curl
|
||||||
|
supported
|
||||||
|
* Expose COMPILE_SSL_LIB in Python and use for test filtering
|
||||||
|
* Filter tests based on *compile* libcurl version not runtime
|
||||||
|
version
|
||||||
|
* Use print function in callbacks documentation
|
||||||
|
* Add missing shebang to tests/ext/test-suite.sh
|
||||||
|
* Officially declare support for Python 3.12
|
||||||
|
* Fix curl_multi_info_read flow that loses messages
|
||||||
|
* Support using environment variables for setup on Windows
|
||||||
|
* Add support for Schannel SSL backend (patch by Scott Talbert)
|
||||||
|
* Skip HTTP2 tests based on a curl support check
|
||||||
|
* Fix fake-curl tests so they work when run out of tree
|
||||||
|
* xfail test_easy_pause_unpause unconditionally
|
||||||
|
* Provide generic error strings in pycurl.error objects
|
||||||
|
* Change URLs to new curl mailing list (patch by Michael C).
|
||||||
|
* Add missing HTTPS proxy options (patch by Jean Hominal).
|
||||||
|
* Add support for setting CURLOPT_SSLCERT_BLOB
|
||||||
|
* Add support for setting rest of CURLOPTTYPE_BLOB fields
|
||||||
|
* Build wheels on Linux/macOS/Windows (patch by Scott Talbert).
|
||||||
|
- drop pause-unpause-xfail.patch (upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 15 01:53:16 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
Fri Dec 15 01:53:16 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-pycurl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pycurl%{psuffix}
|
Name: python-pycurl%{psuffix}
|
||||||
Version: 7.45.2
|
Version: 7.45.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: PycURL -- cURL library module
|
Summary: PycURL -- cURL library module
|
||||||
License: LGPL-2.1-or-later AND MIT
|
License: LGPL-2.1-or-later AND MIT
|
||||||
@@ -41,8 +41,6 @@ Patch2: disable_randomly_failing_tests.patch
|
|||||||
# PATCH-FIX-OPENSUSE make-leap15-compat.patch mcepl@suse.com
|
# PATCH-FIX-OPENSUSE make-leap15-compat.patch mcepl@suse.com
|
||||||
# Make tests passing with Leap 15.2
|
# Make tests passing with Leap 15.2
|
||||||
Patch3: make-leap15-compat.patch
|
Patch3: make-leap15-compat.patch
|
||||||
# PATCH-FIX-OPENSUSE xfail a test around pause/unpause not behaving
|
|
||||||
Patch4: pause-unpause-xfail.patch
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
Reference in New Issue
Block a user