- Update to 7.45.1:
* Fixed build against libcurl < 7.64.1 (patch by Scott Talbert).
* Add CURLOPT_MAXLIFETIME_CONN (patch by fsbs).
* Easy handle duplication support (patch by fsbs).
* Support for unsetting a number of multi options (patch by fsbs).
* pycurl classes can now be subclassed (patch by fsbs).
* Multi callbacks' thread state management fixed (patch by fsbs).
* Add CURL_LOCK_DATA_PSL (patch by fsbs).
* Add support for SecureTransport SSL backend (MacOS)
(patch by Scott Talbert).
* Fixed Python thread initialization causing hangs on operations
(patch by Scott Talbert).
* getinfo(CURLINFO_FTP_ENTRY_PATH) now handles NULL return from
libcurl, returning None in this case.
* Python 3.9 is now officially supported (patch by Bill Collins).
* Added CURLOPT_DOH_URL (patch by resokou).
* Best effort Python 2 support has been reinstated.
* Added missing fields to curl_version_info struct (patch by Hasan).
* Added CURLINFO_CONDITION_UNMET (patch by Dima Tisnek).
* Exposed MAX_CONCURRENT_STREAMS in CurlMulti (patch by Alexandre Pion).
* Compilation fixed against Python 3.10 alpha (patch by Kamil Dudka).
- Remove patch curl7770_compatibility.patch and remove_nose.patch:
* They have both merged upstream.
- Modify patch disable_randomly_failing_tests.patch:
* Use pytest rather than nose methods.
- Add patch curl-789-error-message.patch:
* Handle missing ! in a returned error message.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=89
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,7 +27,7 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-pycurl%{psuffix}
|
||||
Version: 7.43.0.6
|
||||
Version: 7.45.1
|
||||
Release: 0
|
||||
Summary: PycURL -- cURL library module
|
||||
License: LGPL-2.1-or-later AND MIT
|
||||
@@ -37,16 +37,12 @@ Source: https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%
|
||||
Patch0: increase_test_timeout.diff
|
||||
# PATCH-FIX-UPSTREAM handle difference between libssh and libssh2
|
||||
Patch1: pycurl-libssh.patch
|
||||
Patch3: disable_randomly_failing_tests.patch
|
||||
# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#pycurl/pycurl#655 mcepl@suse.com
|
||||
# remove dependency on nose
|
||||
Patch4: remove_nose.patch
|
||||
Patch2: disable_randomly_failing_tests.patch
|
||||
# PATCH-FIX-OPENSUSE make-leap15-compat.patch mcepl@suse.com
|
||||
# Make tests passing with Leap 15.2
|
||||
Patch5: make-leap15-compat.patch
|
||||
# PATCH-FIX-UPSTREAM curl7770_compatibility.patch gh#pycurl/pycurl#689 mcepl@suse.com
|
||||
# Provide compatiblity with curl 7.77.0+
|
||||
Patch6: curl7770_compatibility.patch
|
||||
Patch3: make-leap15-compat.patch
|
||||
# PATCH-FIX-OPENSUSE Handle missing ! in a returned error message
|
||||
Patch4: curl-789-error-message.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -79,8 +75,7 @@ This module provides bindings for the cURL library.
|
||||
This package contains documentation and examples.
|
||||
|
||||
%prep
|
||||
%setup -q -n pycurl-%{version}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n pycurl-%{version}
|
||||
|
||||
# temporarily remove a failing test-case until the issue is
|
||||
# fixed in curl: https://github.com/curl/curl/issues/6615
|
||||
|
||||
Reference in New Issue
Block a user