14
0
forked from pool/python-pycurl
Commit Graph

57 Commits

Author SHA256 Message Date
b27bb314ff - Switch to %pyproject_*.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=112
2024-12-09 09:39:18 +00:00
32aec400c7 - Switching off test_multi_ tests, they are just too
unrealiable. When running the test cycle in cycle I have never
  managed to make it pass ten times without this change.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=110
2024-10-04 14:29:20 +00:00
3ea19cb85b - Add upstream patch test-bottle-flask.patch to use Flask instead of
bottle for tests.
  gh#pycurl/pycurl#838

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=108
2024-09-24 10:48:42 +00:00
70e1d94b9d - 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
- added python3 package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=106
2024-06-06 19:37:11 +00:00
624c187926 - Add patch pause-unpause-xfail.patch:
* XFAIL a test due to gh#pycurl/pycurl#729 (bsc#1218062)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=104
2023-12-15 01:54:30 +00:00
2de07c02b1 - Skip test_multi_socket_select (gh#pycurl/pycurl#819),
test_multi_socket_action (gh#pycurl/pycurl#729), and
  test_request_with_verifypeer (gh#pycurl/pycurl#822).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=101
2023-10-12 18:11:45 +00:00
240cef0feb Accepting request 1117496 from home:anag:Factory
- Skip test_multi_socket_action as well.

OBS-URL: https://build.opensuse.org/request/show/1117496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=100
2023-10-12 16:44:01 +00:00
6d92679e4d - Skip test_multi_socket_select (gh#pycurl/pycurl#819)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=99
2023-10-12 14:09:26 +00:00
e45653a19e Accepting request 1084390 from home:dirkmueller:acdc:as_python3_module
- Switch documentation to be within the main package.

OBS-URL: https://build.opensuse.org/request/show/1084390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=97
2023-05-03 14:42:48 +00:00
e83aadd3cd Accepting request 1081550 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=95
2023-04-21 13:38:20 +00:00
6ccfdfcc5e - Disable http3 tests if it's not supported
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=93
2023-02-24 09:06:58 +00:00
4e0a286f03 - update to 7.45.2:
* Python 3.9 compatibility for Py_TRASHCAN_SAFE_BEGIN
  * Add support for CURL_HTTP_VERSION_3
  * Add CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS options
  * Added HTTP09_ALLOWED option
  * Removed use of distutils
- drop curl-789-error-message.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=91
2023-01-02 18:57:10 +00:00
ee9534f50e - 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
2022-04-28 06:01:44 +00:00
7c896e3f71 - Add curl7770_compatibility.patch to have package compatible with curl 7.77.0.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=86
2021-06-04 14:23:45 +00:00
a766bacc73 Accepting request 877706 from home:pmonrealgonzalez:branches:devel:languages:python
- Remove a failing test-case until fixed in curl:
  * Upstream issue: https://github.com/curl/curl/issues/6615

OBS-URL: https://build.opensuse.org/request/show/877706
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=84
2021-03-08 12:20:53 +00:00
dd4b947354 - update to 7.43.0.6:
* Fixed offset parameter usage in seek callback
  * Added support for libcurl SSL backend detection via
    `curl-config --ssl-backends`
  * Added support for libcurl MultiSSL
  * Added ability to unset CURLOPT_PROXY.
  * Added support for CURLOPT_UPLOAD_BUFFERSIZE
  * Added support for CURLOPT_MAXAGE_CONN
  * Added support for sharing connection cache in libcurl
  * Added support for CURLOPT_HAPROXYPROTOCOL
  * CC and CFLAGS environment variables are now respected when building
  * Fixed OpenSSL detection on CentOS 7 and 8
  * surrogateescape error handler is used in multi_info_read to handle
    invalid UTF-8.
- drop python-pycurl-7.43.0-tls-backend.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=81
2021-01-28 23:09:02 +00:00
e88975f3ae Fix patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=79
2020-12-15 13:45:48 +00:00
83afa3fbbf - Add make-leap15-compat.patch to pass tests on Leap 15.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=77
2020-12-15 13:45:12 +00:00
cc0209f14a Accepting request 855980 from home:bnavigator:branches:devel:languages:python
- Upstream dropped python2 support. Python2 tests fail on Leap.
  => skip python2 build.

OBS-URL: https://build.opensuse.org/request/show/855980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=76
2020-12-15 12:58:04 +00:00
5a7b2bc300 - Add make-py2-compat.patch to pass tests on Leap 15.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=75
2020-12-15 12:57:04 +00:00
7c52be85c5 Accepting request 855776 from home:mcepl:branches:devel:tools:scm
- Add remove_nose.patch to remove dependency on nose
  (gh#pycurl/pycurl#655).

OBS-URL: https://build.opensuse.org/request/show/855776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=74
2020-12-15 11:17:18 +00:00
Tomáš Chvátal
2a83c29997 Accepting request 816279 from home:gmbr3:branches:Base:System3
- Fixes for %_libexecdir changing to /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/816279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=72
2020-06-22 14:07:12 +00:00
Tomáš Chvátal
f693862ebe - Do not pull in py2 package on doc subpkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=70
2020-04-08 12:05:40 +00:00
61b2e0c368 - update to 7.43.0.5
- refresh python-pycurl-7.43.0-tls-backend.patch 
 * added python 3.8 support
 * officialy ended support for python 2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=68
2020-03-03 13:10:06 +00:00
Tomáš Chvátal
9f3b1794c6 - Skip 4 tests that are tied to old bottle version so we can
update the python-bottle package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=66
2019-11-18 10:53:07 +00:00
Tomáš Chvátal
2c6fe7918e - Update to 7.43.0.3:
* This release primarily fixes an OpenSSL-related installation issue, and
    repairs the ability to use PycURL with newer libcurls compiled without
    FTP support.
- Rebase patch:
  * python-pycurl-7.43.0-tls-backend.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=64
2019-07-23 10:28:57 +00:00
65a6986e5b Accepting request 692312 from home:mcepl:branches:devel:languages:python
More elegant use of %{with test}

OBS-URL: https://build.opensuse.org/request/show/692312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=62
2019-04-08 13:58:31 +00:00
8fe46206a5 Accepting request 692305 from home:mcepl:branches:devel:languages:python
- bsc#1128355: update to the Factory package to get multibuild and
  better working tests.
- Refreshed patch against the new minor release tarball:
  - pycurl-libssh.patch
- Added patches:
  - disable_randomly_failing_tests.patch
  - python-pycurl-7.43.0-tls-backend.patch (from
    https://src.fedoraproject.org/rpms/python-pycurl/blob/master/f/0002-python-pycurl-7.43.0-tls-backend.patch)

OBS-URL: https://build.opensuse.org/request/show/692305
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=61
2019-04-08 13:37:38 +00:00
e3fc9042a4 Accepting request 684241 from home:mcepl:branches:devel:languages:python
Update URL: field.

OBS-URL: https://build.opensuse.org/request/show/684241
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=58
2019-03-12 10:30:55 +00:00
b6651d4107 Accepting request 672204 from home:alarrosa:branches:devel:languages:python
- Set LANG to en_US.UTF8 to fix the tests

OBS-URL: https://build.opensuse.org/request/show/672204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=56
2019-02-06 20:17:56 +00:00
6bcbdd8e9f Add missing setuptools BR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=54
2018-12-19 13:18:52 +00:00
895ca69deb This is not a noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=52
2018-12-07 00:15:19 +00:00
3fae9cfdbb Fix BR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=51
2018-12-06 23:38:17 +00:00
882b64c24a Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=50
2018-12-04 13:49:47 +00:00
Tomáš Chvátal
28267579d1 Accepting request 646093 from home:vitezslav_cizek:branches:devel:languages:python
- Don't run tests that fail randomly or under load
  * add disable_randomly_failing_tests.patch

OBS-URL: https://build.opensuse.org/request/show/646093
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=48
2018-11-04 09:35:53 +00:00
84540e8381 Accepting request 634806 from home:mcepl:work
- Switch to multibuild, so that we don't need testing BuildRequires  always.

OBS-URL: https://build.opensuse.org/request/show/634806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=46
2018-09-10 21:28:39 +00:00
Tomáš Chvátal
409100f1c0 - Add patch to match up Fedora on how we detect tls backend on runtime
* python-pycurl-7.43.0-tls-backend.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=44
2018-08-30 12:36:56 +00:00
Tomáš Chvátal
e9551c469b - Make sure we build on Leap 42.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=43
2018-08-29 08:33:51 +00:00
Tomáš Chvátal
53fa37b590 - Start excluding flaky tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=41
2018-08-09 11:19:05 +00:00
7ebe19c858 Update to 7.43.0.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=39
2018-07-10 11:11:33 +00:00
Tomáš Chvátal
35703003f8 - Disable tests on arm platforms as they are very flaky there,
on multiple runs always different failures

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=37
2018-02-02 13:17:41 +00:00
Tomáš Chvátal
acfa6380e0 - Disable strict aliasing as reported by the rpm checks
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=36
2018-02-02 13:16:04 +00:00
Tomáš Chvátal
c1a8a0c2b5 Accepting request 571151 from home:vitezslav_cizek:branches:devel:languages:python
- Since version 7.58.0, curl may be compiled with libssh instead of
  libssh2 which differ in supported functionality (bsc#1078329)
  * add pycurl-libssh.patch
- update license

OBS-URL: https://build.opensuse.org/request/show/571151
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=34
2018-01-30 17:25:48 +00:00
Tomáš Chvátal
8d7f4c29b2 Accepting request 555317 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/555317
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=32
2017-12-09 12:42:07 +00:00
89d76bd2cf Accepting request 515235 from home:tbechtold:branches:devel:languages:python
- Cleanup Requires and BuildRequires

OBS-URL: https://build.opensuse.org/request/show/515235
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=30
2017-08-08 19:19:53 +00:00
Jan Matejek
c9e5b920e1 Accepting request 505248 from home:alarrosa:branches:devel:languages:python
- Add increase_test_timeout.diff so tests don't fail when obs is
  overloaded and it takes more than 1 second to start a service.

OBS-URL: https://build.opensuse.org/request/show/505248
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=28
2017-06-21 13:51:57 +00:00
8ef2cc9944 Accepting request 503384 from openSUSE:Leap:15.0:Rings:1-MinimalX
- exclude http2 and ssh tests if curl(-mini) doesn't support it

See also bug 1042919

OBS-URL: https://build.opensuse.org/request/show/503384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=27
2017-06-15 11:58:36 +00:00
Jan Matejek
6a7bfb0850 Accepting request 486190 from devel:languages:python:singlespec
- update for multipython build
- merge python3 project
- update and apply pycurl-no-runtime-curlvercheck.patch
- run test suite
- single doc package for all pythons

- update to version 7.43.0:
  * Highlights of this release:
    + Binary wheels are now built for Windows systems.
    + setopt_string method added to Curl objects to permit setting
      string libcurl options that PycURL does not know about.
    + curl module can now be imported on Windows again.
    + OPENSOCKETFUNCTION callback is now invoked with the address as
      bytes on Python 3 as was documented.
    + Support for many libcurl options and constants was added.

- specfile:
  * update copyright year
  * update patch
- update to version 7.21.5:
  * Highlights of this release:
    + Socket callbacks are now fully implemented
      ("CURLOPT_OPENSOCKETFUNCTION", "CURLOPT_SOCKOPTFUNCTION",
      "CURLOPT_CLOSESOCKETFUNCTION"). Unfortunately this required
      changing "OPENSOCKETFUNCTION" API once again in a
      backwards-incompatible manner. Support for "SOCKOPTFUNCTION" and
      "CLOSESOCKETFUNCTION" was added in this
      release. "OPENSOCKETFUNCTION" now supports Unix sockets.
    + Many other libcurl options and constants have been added to
      PycURL.

OBS-URL: https://build.opensuse.org/request/show/486190
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=25
2017-04-06 15:49:32 +00:00
Michal Čihař
de9105ba7b Accepting request 293100 from home:Nijel:branches:devel:languages:python
- Run testsuite during build

- Update to 7.19.5.1:
  * Added CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME.
  * setup.py now prints PycURL-specific option help when -h is used.
  * LibreSSL is now supported (patch by JiCiT.)
  * Fixed an oversight that broke PycURL building against libcurl 7.19.4
    through 7.21.1. The bug was introduced in PycURL 7.19.5.
  * Tests are now included in source distributions again, thanks to
    Kamil Dudka and Johan Bergstroem.
  * Added CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT (libcurl 7.20.0+)
    and CURLOPT_MAIL_AUTH (libcurl 7.25.0+).
  * Tests removed from source and binary distributions.
  * Documentation greatly improved. Quickstart guide added.
  * pycurl.Curl, pycurl.CurlMulti and pycurl.CurlShare are now classes
    rather than factory functions. Previously, the classes were "hidden"
    (they were accessible as e.g. type(pycurl.Curl()), but could not be
    instantiated, nor could class methods be obtained from the classes.
    Please see this mailing list post for further information:
    http://curl.haxx.se/mail/curlpython-2014-06/0004.html
  * When passing a file-like object to READDATA option, PycURL was
    mistakenly looking for write method on this object. Now read method
    is looked up, as would be expected.
  * Python 3.4 is now officially supported.
  * Windows packages now build libcurl against zlib.
  * CherryPy is no longer required for the test suite, ssl module from
    the Python standard library is used instead.
  * Fixed a reference leak of SOCKET and TIMER callbacks on
    CurlMulti instances, thanks to Ben Darnell.
  * Fixed build against openssl on cygwin, where pycurl needs to link

OBS-URL: https://build.opensuse.org/request/show/293100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=23
2015-03-25 14:11:46 +00:00
Todd R
a2d3ea1a31 Accepting request 235419 from home:TheBlackCat:branches:devel:languages:python
- Removed part of patch that breaks now necessary things:
  pycurl-no-runtime-curlvercheck.patch
- Specify ssl type since it is not automatically detected.

OBS-URL: https://build.opensuse.org/request/show/235419
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=21
2014-05-26 15:35:09 +00:00