Commit Graph

50 Commits

Author SHA256 Message Date
Tomáš Chvátal
73558d798e Accepting request 731209 from home:jayvdb:py3only
Allow building only python3

OBS-URL: https://build.opensuse.org/request/show/731209
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=82
2019-09-16 09:17:18 +00:00
Tomáš Chvátal
989fc13247 Accepting request 724858 from home:rhafer:branches:devel:languages:python
Updated changelog to reference some older CVEs

OBS-URL: https://build.opensuse.org/request/show/724858
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=80
2019-08-20 16:49:21 +00:00
Tomáš Chvátal
f69bac1c2b - Use old pytest 3.x as newer do not work with this release
* this will be fixed with next release, just spread among
    numerous fixes in the git for quick backporting

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=78
2019-07-22 07:55:40 +00:00
Dominique Leuenberger
e15cd57502 Accepting request 711276 from home:dimstar:Factory
- Fixup pre script: the migration issue happens when changing from
  python-urllib3 to python2-urllib3: the number of installed
  instances of python2-urlliib3 is at this moment 1, unlike in
  regular updates. This is due to a name change, which consists not
  of a pure package update.

OBS-URL: https://build.opensuse.org/request/show/711276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=76
2019-06-21 07:47:01 +00:00
e9f11af02d Accepting request 711032 from home:dimstar:Factory
Resubmit - now with fixed test flavor

OBS-URL: https://build.opensuse.org/request/show/711032
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=74
2019-06-20 08:59:49 +00:00
639e75e8b9 Accepting request 710953 from home:StefanBruens:branches:devel:languages:python
- Fix Upgrade from Leap 42.1/42.2 by adding Obsoletes/Provides:
  python-urllib3, fixes boo#1138746

OBS-URL: https://build.opensuse.org/request/show/710953
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=72
2019-06-19 22:48:19 +00:00
ea52e0623e Revert to r69
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=71
2019-06-19 22:47:46 +00:00
2942de9f59 Accepting request 710979 from home:mcepl:branches:devel:languages:python
Fix for bsc#1138715

OBS-URL: https://build.opensuse.org/request/show/710979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=70
2019-06-19 22:40:14 +00:00
Tomáš Chvátal
d9ccae276f - Skip test_source_address_error as we raise different error with
fixes that we provide in new python2/3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=68
2019-06-07 11:40:42 +00:00
Tomáš Chvátal
f67d02d924 - Add more test to skip as with new openssl some behaviour changed
and we can't rely on them anymore

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=67
2019-05-29 08:59:51 +00:00
Tomáš Chvátal
b5dc6c76c3 - Unbundle the six, rfc3986, and backports.ssl_match_hostname
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=65
2019-05-29 08:26:07 +00:00
Tomáš Chvátal
b0e8647f51 - Update to 1.25.3:
* Change HTTPSConnection to load system CA certificates when ca_certs, ca_cert_dir, and ssl_context are unspecified. (Pull #1608, Issue #1603)
  * Upgrade bundled rfc3986 to v1.3.2. (Pull #1609, Issue #1605)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=64
2019-05-29 07:57:50 +00:00
Tomáš Chvátal
e397a5c391 - Update to 1.25.2:
* Change is_ipaddress to not detect IPvFuture addresses. (Pull #1583)
  * Change parse_url to percent-encode invalid characters within the path, query, and target components. (Pull #1586)
  * Add support for Google's Brotli package. (Pull #1572, Pull #1579)
  * Upgrade bundled rfc3986 to v1.3.1 (Pull #1578)
- Require all the deps from the secure list rather than Recommend.
  This makes the check to be run always and ensure the urls are
  "secure".
- Remove ndg-httpsclient as it is not needed since 2015

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=63
2019-05-06 11:21:12 +00:00
ccbae0c7b5 Accepting request 700045 from devel:languages:python
Revert to rev 60.

OBS-URL: https://build.opensuse.org/request/show/700045
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=62
2019-05-02 08:38:20 +00:00
74e303d45b Accepting request 699612 from home:mcepl:branches:devel:languages:python
- Updated to 1.25.2:
  - Add support for Google's Brotli package.
    (gh#urllib3/urllib3#1572, gh#urllib3/urllib3#1579)
  - Upgrade bundled rfc3986 to v1.3.1 (gh#urllib3/urllib3#1578)
- Add fix-tests-no-fail-bpo-30458.patch to work around our Python
  has fixed bpo#30458.

OBS-URL: https://build.opensuse.org/request/show/699612
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=61
2019-04-30 10:46:53 +00:00
Tomáš Chvátal
895bd350a6 - Add missing dependency on brotlipy
- Fix the tests to pass again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=60
2019-04-23 10:39:55 +00:00
Thomas Bechtold
3c7026ea2d - update to 1.25 (bsc#1132663, CVE-2019-11236):
* Require and validate certificates by default when using HTTPS
  * Upgraded ``urllib3.utils.parse_url()`` to be RFC 3986 compliant.
  * Added support for ``key_password`` for ``HTTPSConnectionPool`` to use
    encrypted ``key_file`` without creating your own ``SSLContext`` object.
  * Add TLSv1.3 support to CPython, pyOpenSSL, and SecureTransport ``SSLContext``
    implementations. (Pull #1496)
  * Switched the default multipart header encoder from RFC 2231 to HTML 5 working draft.
  * Fixed issue where OpenSSL would block if an encrypted client private key was
    given and no password was given. Instead an ``SSLError`` is raised.
  * Added support for Brotli content encoding. It is enabled automatically if
  ``brotlipy`` package is installed which can be requested with
  ``urllib3[brotli]`` extra.
  * Drop ciphers using DSS key exchange from default TLS cipher suites.
    Improve default ciphers when using SecureTransport.
  * Implemented a more efficient ``HTTPResponse.__iter__()`` method.
- Drop urllib3-test-ssl-drop-sslv3.patch . No longer needed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=59
2019-04-23 04:14:26 +00:00
51f22ebfdd Accepting request 695346 from home:mcepl:branches:devel:languages:python
- Update to 1.24.2:
  - Implemented a more efficient HTTPResponse.__iter__() method.
    (Issue #1483)
  - Upgraded urllib3.utils.parse_url() to be RFC 3986 compliant.
    (Pull #1487)
  - Remove Authorization header regardless of case when
    redirecting to cross-site. (Issue #1510)
  - Added support for key_password for HTTPSConnectionPool to use
    encrypted key_file without creating your own SSLContext
    object. (Pull #1489)
  - Fixed issue where OpenSSL would block if an encrypted client
    private key was given and no password was given. Instead an
    SSLError is raised. (Pull #1489)
  - Require and validate certificates by default when using HTTPS
    (Pull #1507)
  - Added support for Brotli content encoding. It is enabled
    automatically if brotlipy package is installed which can be
    requested with urllib3[brotli] extra. (Pull #1532)
  - Add TLSv1.3 support to CPython, pyOpenSSL, and
    SecureTransport SSLContext implementations. (Pull #1496)
  - Drop ciphers using DSS key exchange from default TLS cipher
    suites. Improve default ciphers when using SecureTransport.
    (Pull #1496)
  - Add support for IPv6 addresses in subjectAltName section of
    certificates. (Issue #1269)
  - Switched the default multipart header encoder from RFC 2231
    to HTML 5 working draft. (Issue #303, PR #1492)

OBS-URL: https://build.opensuse.org/request/show/695346
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=57
2019-04-17 22:10:22 +00:00
78a5300b00 - Update to 1.24.1:
* Remove quadratic behavior within GzipDecoder.decompress()
    (Issue #1467)
  * Restored functionality of ciphers parameter for
    create_urllib3_context(). (Issue #1462)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=55
2018-12-30 17:24:43 +00:00
Tomáš Chvátal
627a9e53e9 - Update to 1.24:
* Allow key_server_hostname to be specified when initializing a PoolManager to allow custom SNI to be overridden. (Pull #1449)
  * Test against Python 3.7 on AppVeyor. (Pull #1453)
  * Early-out ipv6 checks when running on App Engine. (Pull #1450)
  * Change ambiguous description of backoff_factor (Pull #1436)
  * Add ability to handle multiple Content-Encodings (Issue #1441 and Pull #1442)
  * Skip DNS names that can't be idna-decoded when using pyOpenSSL (Issue #1405).
  * Add a server_hostname parameter to HTTPSConnection which allows for overriding the SNI hostname sent in the handshake. (Pull #1397)
  * Drop support for EOL Python 2.6 (Pull #1429 and Pull #1430)
  * Fixed bug where responses with header Content-Type: message/* erroneously raised HeaderParsingError, resulting in a warning being logged. (Pull #1439)
  * Move urllib3 to src/urllib3 (Pull #1409)
- Drop patch 1414.patch merged upstream
- Refresh patches:
  * python-urllib3-recent-date.patch
  * urllib3-ssl-default-context.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=53
2018-11-01 14:22:21 +00:00
af538da8db Accepting request 634935 from home:mcepl:work
- Switch to multibuild to minize requirements for providing
  urllib3 module.

OBS-URL: https://build.opensuse.org/request/show/634935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=51
2018-09-11 13:45:03 +00:00
6cd76951c4 - fix dependency again for passing tests for python 2.x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=48
2018-08-21 11:39:39 +00:00
Tomáš Chvátal
9c81e7c5c7 - Do not use ifpython2 for BRs where it does not work
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=47
2018-08-20 08:20:40 +00:00
1be5232aa7 - add python-ipaddress dependency for python 2.x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=46
2018-08-20 08:14:11 +00:00
Tomáš Chvátal
843710efb8 - Relax python-nose version requirement on SLE 12 (fate#321630)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=44
2018-08-14 11:26:37 +00:00
Tomáš Chvátal
5a48d68dc1 - Drop not needed devel and nose deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=42
2018-07-18 09:20:04 +00:00
dc3d451550 Accepting request 622951 from home:mimi_vx:branches:devel:languages:python
- update to 1.23
- add 1414.patch - fix tests with new tornado
- refresh python-urllib3-recent-date.patch
- drop urllib3-test-no-coverage.patch
 * Allow providing a list of headers to strip from requests when redirecting 
   to a different host. Defaults to the Authorization header. Different
   headers can be set via Retry.remove_headers_on_redirect.
 * Fix util.selectors._fileobj_to_fd to accept long
 * Dropped Python 3.3 support.
 * Put the connection back in the pool when calling stream()
   or read_chunked() on a chunked HEAD response.
 * Fixed pyOpenSSL-specific ssl client authentication issue when clients
   attempted to auth via certificate + chain
 * Add the port to the connectionpool connect print
 * Don't use the uuid module to create multipart data boundaries.
 * read_chunked() on a closed response returns no chunks.
 * Add Python 2.6 support to contrib.securetransport
 * Added support for auth info in url for SOCKS proxy

OBS-URL: https://build.opensuse.org/request/show/622951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=40
2018-07-15 22:34:22 +00:00
da820d7dde Accepting request 583980 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=38
2018-03-07 16:42:29 +00:00
Tomáš Chvátal
aa37178194 Accepting request 575767 from home:michel_mno:branches:devel:languages:python
- disable more flaky tests specifically for PowerPC

OBS-URL: https://build.opensuse.org/request/show/575767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=36
2018-02-12 12:38:45 +00:00
Tomáš Chvátal
cc94804031 Accepting request 560897 from home:dimstar:Factory
- Add python-urllib3-recent-date.patch: Fix test suite, use correct
  date (gh#shazow/urllib3#1303, boo#1074247).

OBS-URL: https://build.opensuse.org/request/show/560897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=34
2017-12-31 15:41:16 +00:00
Jan Matejek
2f366d4311 - use python3 for detection, in anticipation of python2 removal
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=32
2017-10-19 11:51:01 +00:00
Todd R
51714d024b Accepting request 516171 from home:TheBlackCat:branches:devel:languages:python
Disable tests that timeout

OBS-URL: https://build.opensuse.org/request/show/516171
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=30
2017-08-11 14:56:19 +00:00
00ac535759 Accepting request 515227 from home:tbechtold:branches:devel:languages:python
- update to 1.22:
  * Fixed missing brackets in ``HTTP CONNECT`` when connecting to IPv6 address via
    IPv6 proxy. (Issue #1222)
  * Made the connection pool retry on ``SSLError``.  The original ``SSLError``
    is available on ``MaxRetryError.reason``. (Issue #1112)
  * Drain and release connection before recursing on retry/redirect.  Fixes
    deadlocks with a blocking connectionpool. (Issue #1167)
  * Fixed compatibility for cookiejar. (Issue #1229)
  * pyopenssl: Use vendored version of ``six``. (Issue #1231)
- use pytest for running the tests. That is what upstream is doing

OBS-URL: https://build.opensuse.org/request/show/515227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=29
2017-08-08 18:47:29 +00:00
b53e7d4f88 - update to 1.21.1:
* Fixed SecureTransport issue that would cause long delays in response body
    delivery. (Pull #1154)
  * Fixed regression in 1.21 that threw exceptions when users passed the
    ``socket_options`` flag to the ``PoolManager``.  (Issue #1165)
  * Fixed regression in 1.21 that threw exceptions when users passed the
    ``assert_hostname`` or ``assert_fingerprint`` flag to the ``PoolManager``.
  * Improved performance of certain selector system calls on Python 3.5 and
    later. (Pull #1095)
  * Resolved issue where the PyOpenSSL backend would not wrap SysCallError
    exceptions appropriately when sending data. (Pull #1125)
  * Selectors now detects a monkey-patched select module after import for modules
    that patch the select module like eventlet, greenlet. (Pull #1128)
  * Reduced memory consumption when streaming zlib-compressed responses
    (as opposed to raw deflate streams). (Pull #1129)
  * Connection pools now use the entire request context when constructing the
    pool key. (Pull #1016)
  * ``PoolManager.connection_from_*`` methods now accept a new keyword argument,
    ``pool_kwargs``, which are merged with the existing ``connection_pool_kw``.
  * Add retry counter for ``status_forcelist``. (Issue #1147)
  * Added ``contrib`` module for using SecureTransport on macOS:
    ``urllib3.contrib.securetransport``.  (Pull #1122)
  * urllib3 now only normalizes the case of ``http://`` and ``https://`` schemes:
    for schemes it does not recognise, it assumes they are case-sensitive and
    leaves them unchanged.
  -------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=27
2017-06-10 08:14:18 +00:00
Jan Matejek
3f19e47238 Accepting request 486170 from devel:languages:python:singlespec
- merge python3 modifications
- update for multipython build
- update to 1.20:
  * Added support for waiting for I/O using selectors other than select, improving urllib3’s behaviour with large numbers of concurrent connections. (Pull #1001)
  * Updated the date for the system clock check. (Issue #1005)
  * ConnectionPools now correctly consider hostnames to be case-insensitive. (Issue #1032)
  * Outdated versions of PyOpenSSL now cause the PyOpenSSL contrib module to fail when it is injected, rather than at first use. (Pull #1063)
  * Outdated versions of cryptography now cause the PyOpenSSL contrib module to fail when it is injected, rather than at first use. (Issue #1044)
  * Automatically attempt to rewind a file-like body object when a request is retried or redirected. (Pull #1039)
  * Fix some bugs that occur when modules incautiously patch the queue module. (Pull #1061)
  * Prevent retries from occuring on read timeouts for which the request method was not in the method whitelist. (Issue #1059)
  * Changed the PyOpenSSL contrib module to lazily load idna to avoid unnecessarily bloating the memory of programs that don’t need it. (Pull #1076)
  * Add support for IPv6 literals with zone identifiers. (Pull #1013)
  * Added support for socks5h:// and socks4a:// schemes when working with SOCKS proxies, and controlled remote DNS appropriately. (Issue #1035)

OBS-URL: https://build.opensuse.org/request/show/486170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=25
2017-04-06 15:11:12 +00:00
bf31fee757 Accepting request 447957 from home:tbechtold:branches:devel:languages:python
update to version 1.19.1
  * Forgot to mention #955.
  * Starting o the user guide.
  * Add ipaddress marker to setup.cfg.
  * CHANGES for #897
  * Version added 1.17
  * Change debug level to 'debug' to match ConnectionPool
  * Moving some stuff to advanced usage.
  * Ignore only the unused import error
  * Uniform checks.
  * Add test for past date in Retry-After header
  * Adding all reference docs
  * Ok, I just gotta see what's going on here.
  * Adding app engine docs
  * Keep using the good OpenSSL
  * Adding timeout section
  * Removing absolute import in NTLMPool
  * Use the good OpenSSL.
  * Small pass at contributing
  * parse_url: Disallow non-integer digits explicitly in port numbers
  * Fixup some whitespace.
  * Updating copy on landing page.
  * Fix flake8 E305 errors
  * Use OS default certs when possible
  * Fleshing out user guide.
  * Fallback to the vendored ipaddress module.
  * Updating intersphinx to python 3.4
  * Seems like version mismatch is the issue.
  * Improve the cipher suite comment
  * Retry backoff time is calculated only from the last consecutive errors sequence

OBS-URL: https://build.opensuse.org/request/show/447957
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=23
2016-12-28 13:50:39 +00:00
dd412cd3b8 Accepting request 424325 from home:tbechtold:branches:devel:languages:python
- update to 1.16:
  * Disable IPv6 DNS when IPv6 connections are not possible. (Issue #840)
  * Provide ``key_fn_by_scheme`` pool keying mechanism that can be
    overridden. (Issue #830)
  * Normalize scheme and host to lowercase for pool keys, and include
    ``source_address``. (Issue #830)
  * Cleaner exception chain in Python 3 for ``_make_request``.
    (Issue #861)
  * Fixed installing ``urllib3[socks]`` extra. (Issue #864)
  * Fixed signature of ``ConnectionPool.close`` so it can actually safely be
    called by subclasses. (Issue #873)
  * Retain ``release_conn`` state across retries. (Issues #651, #866)
  * Add customizable ``HTTPConnectionPool.ResponseCls``, which defaults to
    ``HTTPResponse`` but can be replaced with a subclass. (Issue #879)
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/request/show/424325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=21
2016-09-02 08:21:02 +00:00
81f985711d - update to 1.15.1:
* Fix packaging to include backports module. (Issue #841)
  * Added Retry(raise_on_status=False). (Issue #720)
  * Always use setuptools, no more distutils fallback. (Issue #785)
  * Dropped support for Python 3.2. (Issue #786)
  * Chunked transfer encoding when requesting with ``chunked=True``.
  * Fixed regression with IPv6 port parsing. (Issue #801)
  * Append SNIMissingWarning messages to allow users to specify it in
    the PYTHONWARNINGS environment variable. (Issue #816)
  * Handle unicode headers in Py2. (Issue #818)
  * Log certificate when there is a hostname mismatch. (Issue #820)
  * Preserve order of request/response headers. (Issue #821)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=19
2016-05-20 07:20:41 +00:00
Todd R
f0b100ad6b Accepting request 372873 from home:matejcik:requests-mess
- change Requires on pyopenssl, pyasn1 into Recommends,
  add ndg-httpsclient as well
  (these are dependencies of urrlib3's pyopenssl module, which can be
  used if native python's ssl capabilities are not good enough)

OBS-URL: https://build.opensuse.org/request/show/372873
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=17
2016-03-14 17:30:23 +00:00
44590e6a6a Accepting request 358877 from home:aplanas:branches:devel:languages:python
- Update 1.14 source tar.gz from the source
  * Rebase urllib3-test-no-coverage.patch

OBS-URL: https://build.opensuse.org/request/show/358877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=16
2016-02-11 16:21:24 +00:00
ccce9a3ccb Accepting request 352078 from home:frispete:python
- Update to Version 1.14 (2015-12-29)
  * contrib: SOCKS proxy support! (Issue #762)
  * Fixed AppEngine handling of transfer-encoding header and bug in
    Timeout defaults checking. (Issue #763)
- Update to Version 1.13.1 (2015-12-18)
  * Fixed regression in IPv6 + SSL for match_hostname. (Issue #761)
- Update to Version 1.13 (2015-12-14)
  * Fixed pip install urllib3[secure] on modern pip. (Issue #706)
  * pyopenssl: Fixed SSL3_WRITE_PENDING error. (Issue #717)
  * pyopenssl: Support for TLSv1.1 and TLSv1.2. (Issue #696)
  * Close connections more defensively on exception. (Issue #734)
  * Adjusted read_chunked to handle gzipped, chunk-encoded bodies
    without repeatedly flushing the decoder, to function better on 
    Jython. (Issue #743)
  * Accept ca_cert_dir for SSL-related PoolManager configuration. 
    (Issue #758)
- removed ready-event.patch: applied upstream
- disabled more dysfunctional tests

- restored ability to build with openSUSE <= 13.2

OBS-URL: https://build.opensuse.org/request/show/352078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=15
2016-01-05 18:12:37 +00:00
Jan Matejek
d12858beaa Accepting request 345090 from home:matejcik:urllib3tmp
- re-enable tests, re-add relevant dependencies
  in python 2.7.9 and up
- drop %pre section because apparently "egg-info as file" is no longer
  true and this breaks builds

OBS-URL: https://build.opensuse.org/request/show/345090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=13
2015-11-18 17:46:02 +00:00
Jan Matejek
5aad292d93 Accepting request 344244 from home:matejcik:branches:devel:languages:python
- removed python-certifi dependency, we don't want to use it
- drop 0001-Don-t-pin-dependency-to-exact-version.patch because it's
  not needed anymore
- re-enable tests, re-add dependencies
  * don't exclude test_util.py
  * exclude proxy timeout tests that fail for spurious reasons
- urllib3-ssl-default-context.patch - use set_default_verify_paths()
  if no certificate path specified and verification not explicitly
  disabled
- urllib3-test-ssl-drop-sslv3.patch - don't use "SSLv3" constants
  as they are not supported in openssl (and conversely python) anymore
- ready-event.patch - fix race conditions in timeout tests

OBS-URL: https://build.opensuse.org/request/show/344244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=12
2015-11-13 14:47:50 +00:00
Todd R
76e421f7d0 Accepting request 338795 from home:TheBlackCat:branches:devel:languages:python
Delete the system egg-info during pre phase: older versions of the package installed it as a directory, the latest update creates a file, and rpm has known issues with replacing this.

OBS-URL: https://build.opensuse.org/request/show/338795
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=10
2015-10-14 09:37:35 +00:00
Todd R
baf2d7fb0b Accepting request 336766 from home:frispete:python
Here we go..

- add python-pyOpenSSL, python-certifi and python-pyasn1 requirements 

- Comment out test requirements, as tests are disabled anyway, and 
  one of these packages depend on python-requests, which depends on
  this package resulting in a circular dependency for openSUSE <= 13.1

OBS-URL: https://build.opensuse.org/request/show/336766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=8
2015-10-06 17:00:40 +00:00
Denisart Benjamin
fcee04a79c Accepting request 333732 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/333732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=7
2015-09-25 11:47:24 +00:00
Todd R
56fd2bc218 Accepting request 248643 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.9

OBS-URL: https://build.opensuse.org/request/show/248643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=5
2014-09-11 16:17:34 +00:00
Sascha Peilicke
8279a51757 - Update to version 1.8:
* Improved url parsing in urllib3.util.parse_url (properly parse '@' in
    username, and blank ports like 'hostname:').
  * New urllib3.connection module which contains all the HTTPConnection
    objects.
  * Several urllib3.util.Timeout-related fixes. Also changed constructor
    signature to a more sensible order. [Backwards incompatible]
    (Issues #252, #262, #263)
  * Use backports.ssl_match_hostname if it's installed. (Issue #274)
  * Added .tell() method to urllib3.response.HTTPResponse which
    returns the number of bytes read so far. (Issue #277)
  * Support for platforms without threading. (Issue #289)
  * Expand default-port comparison in HTTPConnectionPool.is_same_host
    to allow a pool with no specified port to be considered equal to to an
    HTTP/HTTPS url with port 80/443 explicitly provided. (Issue #305)
  * Improved default SSL/TLS settings to avoid vulnerabilities.
    (Issue #309)
  * Fixed urllib3.poolmanager.ProxyManager not retrying on connect errors.
    (Issue #310)
  * Disable Nagle's Algorithm on the socket for non-proxies. A subset of requests
    will send the entire HTTP request ~200 milliseconds faster; however, some of
    the resulting TCP packets will be smaller. (Issue #254)
  * Increased maximum number of SubjectAltNames in urllib3.contrib.pyopenssl
    from the default 64 to 1024 in a single certificate. (Issue #318)
  * Headers are now passed and stored as a custom
    urllib3.collections_.HTTPHeaderDict object rather than a plain dict.
    (Issue #329, #333)
  * Headers no longer lose their case on Python 3. (Issue #236)
  * urllib3.contrib.pyopenssl now uses the operating system's default CA
    certificates on inject. (Issue #332)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=3
2014-03-20 15:22:29 +00:00
Denisart Benjamin
35da4f23c8 Accepting request 207085 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/207085
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=2
2013-11-15 21:35:09 +00:00
Alexandre Rogoski
7476b7d50f - Initial package (1.6) for openSUSE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=1
2013-07-14 04:53:22 +00:00