Commit Graph

76 Commits

Author SHA256 Message Date
05c79ceb31 Accepting request 671881 from home:glaubitz:branches:devel:languages:python
- update to version 2.21.0:
  * Requests now supports idna v2.8.

OBS-URL: https://build.opensuse.org/request/show/671881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=123
2019-02-05 14:03:59 +00:00
4e7a7eb879 Accepting request 664951 from home:jbrownell:branches:devel:languages:python
- Support older Red Hat platforms that don't offer "Recommends:"

OBS-URL: https://build.opensuse.org/request/show/664951
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=121
2019-01-12 15:42:15 +00:00
2b5c82d4b2 - Move name ahead of version in spec file to resolve build issues
on older distributions
- fdupe more thoroughly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=119
2018-12-31 11:25:50 +00:00
11080ed48a Remove r117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=118
2018-12-29 23:47:40 +00:00
788e4f3963 - avoid using recommends on older distributions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=117
2018-12-10 10:36:44 +00:00
Todd R
5b988d3f50 Accepting request 651457 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/651457
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=114
2018-11-25 01:49:10 +00:00
Todd R
f7387ae626 Accepting request 646626 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of descriptions.

OBS-URL: https://build.opensuse.org/request/show/646626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=113
2018-11-06 15:28:08 +00:00
Tomáš Chvátal
3028d8a918 Accepting request 645391 from home:apersaud:branches:devel:languages:python
- restored Name section that got messed up by spec-cleaner

- specfile:
  * remove devel for noarch
  * remove restriction for urllib3 < 1.24
  * HISTORY and README changed from .rst to .md
- update to version 2.20.0:
  * Bugfixes
    + Content-Type header parsing is now case-insensitive
      (e.g. charset=utf8 v Charset=utf8).
    + Fixed exception leak where certain redirect urls would raise
      uncaught urllib3 exceptions.
    + Requests removes Authorization header from requests redirected
      from https to http on the same hostname. (CVE-2018-18074)
    + should_bypass_proxies now handles URIs without hostnames
      (e.g. files).
  * Dependencies
    + Requests now supports urllib3 v1.24.
  * Deprecations
    + Requests has officially stopped support for Python 2.6.

OBS-URL: https://build.opensuse.org/request/show/645391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=112
2018-10-30 08:35:15 +00:00
579757f76c Accepting request 624056 from home:mimi_vx:branches:devel:languages:python
- -test subpackage must be empty 

- -test subpackage must be empty

OBS-URL: https://build.opensuse.org/request/show/624056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=110
2018-07-19 14:15:21 +00:00
Tomáš Chvátal
df7ea9c472 Accepting request 623059 from home:mimi_vx:branches:devel:languages:python
- make multibuild package to resolve circular deps on tests


- make multibuild package to resolve circular deps on tests

- update to version 2.19.1:
  * Fixed issue where status_codes.py’s init function failed trying
    to append to a __doc__ value of None.
- update to version 2.19.0:
  * Improvements
    + Warn about possible slowdown with cryptography version < 1.3.4
    + Check host in proxy URL, before forwarding request to adapter.
    + Maintain fragments properly across redirects. (RFC7231 7.1.2)
    + Removed use of cgi module to expedite library load time.
    + Added support for SHA-256 and SHA-512 digest auth algorithms.
    + Minor performance improvement to Request.content.
    + Migrate to using collections.abc for 3.7 compatibility.
  * Bugfixes
    + Parsing empty Link headers with parse_header_links() no longer
      return one bogus entry.
    + Fixed issue where loading the default certificate bundle from
      a zip archive would raise an IOError.
    + Fixed issue with unexpected ImportError on windows system
      which do not support winreg module.
    + DNS resolution in proxy bypass no longer includes the username
      and password in the request. This also fixes the issue of DNS
      queries failing on macOS.
    + Properly normalize adapter prefixes for url comparison.
    + Passing None as a file pointer to the files param no longer
      raises an exception.

OBS-URL: https://build.opensuse.org/request/show/623059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=109
2018-07-16 08:02:35 +00:00
Tomáš Chvátal
8e0d77f4df Accepting request 620316 from home:StefanBruens:branches:devel:languages:python
- update to version 2.19.1:
  * Fixed issue where status_codes.py’s init function failed trying
    to append to a __doc__ value of None.
- update to version 2.19.0:
  * Improvements
    + Warn about possible slowdown with cryptography version < 1.3.4
    + Check host in proxy URL, before forwarding request to adapter.
    + Maintain fragments properly across redirects. (RFC7231 7.1.2)
    + Removed use of cgi module to expedite library load time.
    + Added support for SHA-256 and SHA-512 digest auth algorithms.
    + Minor performance improvement to Request.content.
    + Migrate to using collections.abc for 3.7 compatibility.
  * Bugfixes
    + Parsing empty Link headers with parse_header_links() no longer
      return one bogus entry.
    + Fixed issue where loading the default certificate bundle from
      a zip archive would raise an IOError.
    + Fixed issue with unexpected ImportError on windows system
      which do not support winreg module.
    + DNS resolution in proxy bypass no longer includes the username
      and password in the request. This also fixes the issue of DNS
      queries failing on macOS.
    + Properly normalize adapter prefixes for url comparison.
    + Passing None as a file pointer to the files param no longer
      raises an exception.
    + Calling copy on a RequestsCookieJar will now preserve the
      cookie policy correctly.
  * We now support idna v2.7 and urllib3 v1.23.
- Properly set idna/urllib3 dependency versions, runtime and buildtime
- Spec cleanup, remove conditionals for ancient distro versions
- Remove duplicates with fdupes

OBS-URL: https://build.opensuse.org/request/show/620316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=108
2018-07-03 07:07:45 +00:00
Tomáš Chvátal
91167bda81 Accepting request 583915 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=107
2018-03-07 14:42:55 +00:00
76a2b046ed Accepting request 580753 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE
- In no SUSE evironments some tests related with certificates can
  fail. Skip the tests if this case.

OBS-URL: https://build.opensuse.org/request/show/580753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=106
2018-02-27 21:50:44 +00:00
Jan Matejek
9b44abc81b Accepting request 529024 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/529024
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=105
2017-09-29 10:42:46 +00:00
62f6478c43 Accepting request 515129 from home:tbechtold:branches:devel:languages:python
- update to version v2.18.2
  * Add requirements.txt to MANIFEST.in
  * test ssl version check functions as expected in python 2.6
  * no more stickers
  * fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module
  * Setup HISTORY for next release
  * Use 'prefix' instead of 'key' in session docstring
  * Allow urllib3 1.22
  * v2.18.2
  * stickers
  * redundant comma

OBS-URL: https://build.opensuse.org/request/show/515129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=104
2017-08-08 15:58:21 +00:00
Jan Matejek
d777f538e6 Accepting request 507789 from home:tbechtold:branches:devel:languages:python
update to version v2.18.1
  * 2.17.1
  * Fix a typo: verison -> version
  * fix
  * Prepare v2.18.0
  * Update requirements.txt
  * cleanup models.py
  * Preserve identity of unbundled deps
  * ignore undefined names in flake8
  * flake8 ignore lambda expressions
  * Add the pytest .cache/ directory to .gitignore
  * docutils
  * try junit
  * new installation location
  * cleanup utils.py
  * flake8report.txt
  * empty commit
  * no more pipenv
  * Begin dev section of README
  * Remove exec permission from files that shouldn't have it
  * change development philosophy docs to reflect reality
  * fix manifest file
  * only flake8 the right directory
  * update development documentation
  * Remove session redirect cache
  * no piping to a file
  * Catch error if multiprocessing is not available or is unable to determine the number of CPUs
  * todo
  * cleanup sessions.py
  * typo

OBS-URL: https://build.opensuse.org/request/show/507789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=103
2017-07-03 13:49:49 +00:00
fe4ce95129 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=102 2017-06-10 10:10:54 +00:00
22edbfd5c9 - update to 2.16.5:
* unvendored bundled libraries
- drop no-default-cacert.patch: this is now in python-certifi
- drop requests-do-not-use-bundle.patch: obsolete

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=100
2017-06-10 09:03:49 +00:00
bf9ba7bf34 Accepting request 495357 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/495357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=99
2017-06-06 08:12:55 +00:00
Jan Matejek
8c0d90828d Accepting request 486162 from devel:languages:python:singlespec
- update for multipython build
- synchronize with python 3 version
- debundle urllib3 and chardet
- enable test suite

- update urllib3 requirement to 1.19.1
- add idna requirement, refresh unbundling patch

OBS-URL: https://build.opensuse.org/request/show/486162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=96
2017-04-06 14:56:39 +00:00
Thomas Bechtold
ef72fbb351 Accepting request 477406 from home:weberho:branches:devel:languages:python
- fixed dependencies in spec

- update to version 2.13.0
  * Only load the idna library when we’ve determined we need it. 
    This will save some memory for users.
  * Updated bundled urllib3 to 1.20.
  * Updated bundled idna to 2.2.

- update to version 2.12.5
  * Fixed an issue with JSON encoding detection, specifically detecting 
    big-endian UTF-32 with BOM.

OBS-URL: https://build.opensuse.org/request/show/477406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=95
2017-03-20 15:48:37 +00:00
154c4f7af4 Accepting request 447958 from home:tbechtold:branches:devel:languages:python
update to version v2.12.4
  * Python 2 compatibility
  * adding tests for super_len conditional flow
  * Check in updated idna.
  * Test case for requests getting stuck on post redirect with seekable stream
  * v2.12.2
  * added new test, original test restored
  * Make Response.content return None if raw is None
  * adding unicode_is_ascii utility function
  * Update sidebarlogo.html
  * Fixed another scheme proxy over "all" priority
  * Add changelog for 1.19.1
  * changed behavior of basic-http-auth test
  * correct backtick formatting
  * Note @jeremycline is now our contact.
  * Order of type check
  * Add prepared request pickling tests
  * adding comment
  * Add deprecation warnings for 3.0
  * clarify that the `chunk_size` is optional when streaming to a file
  * adding ISO-8859-1 fallback for reason decoding
  * fixed some error
  * pysocks 1.5.7 blacklisting, due to IPv6 problems
  * Fix tests for new urllib3 exception text.
  * make add_dict_to_cookiejar cookielib.CookieJar compatible
  * correct module for cookiejar_from_dict in docs
  * converting update call to merge_cookies call for cookielib compatibility
  * streaming doc clarification
  * removing redundant logic from prepare_content_length
  * Update certifi certs to 2016.09.26

OBS-URL: https://build.opensuse.org/request/show/447958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=94
2017-01-02 08:52:00 +00:00
f4c0eb72dd Accepting request 424147 from home:tbechtold:branches:devel:languages:python
update to version v2.11.1
  * Update urllib3 to 1.16
  * Close and then release the connection
  * Added tests for should_bypass_proxies function
  * Update documentation of Session.max_redirects
  * Document bunch of return types
  * Update HISTORY.rst
  * Cleaning up comment on JSON encoding to be more strictly relevant.
  * Oh yeah, we updated urllib3 too.
  * Fixing test; it was accomplishing the right thing, but doing it in the wrong way.
  * compensate for lack of taste
  * Use xfail marker for a test expected to fail without Internet connection
  * in python3.x not have StringIO
  * Spelling fixes
  * adding in slice_length fix and test for chunk_size=None (#3370)
  * Support responses like `HTTP/1.1 404 Unicode chars` (#3385)
  * Document header ordering. (#3295)
  * Add section on SOCKS proxies.
  * Update list of supported Python versions in todo.rst
  * removing Content-Type and Transfer-Encoding headers on redirect
  * check and test for headers containing return characters or leading whitespace
  * Clarify Python versions supported by requests
  * Allow graceful interruption of testserver.Server
  * reverting 3362
  * fixed date formatting
  * Make BaseAdapter describe the mandatory adapter interface (#3216)
  * Note how HTTPErrors are raised
  * Removing charset from JSON content type; tightening requirements on .encode()
  * Add 'all' proxy selection to select_proxy
  * Fix TypeError when get json-encoded content of a response

OBS-URL: https://build.opensuse.org/request/show/424147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=93
2016-09-01 12:26:11 +00:00
948761ff6e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=90 2016-06-06 11:37:29 +00:00
59f15f636b - update to 2.10.1:
* SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
  * Updated bundled urllib3 to 1.15.1.
  * Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
    as its underlying datastore.
  * Don't use redirect_cache if allow_redirects=False
  * When passed objects that throw exceptions from ``tell()``, send them via
    chunked transfer encoding instead of failing.
  * Raise a ProxyError for proxy related connection issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=89
2016-05-18 08:06:44 +00:00
0f6946c0d7 Accepting request 373395 from home:matejcik:requests-mess
- update no-default-cacert.patch to simply pass empty CA path
- urllib3-ssl-default-context.patch: patch bundled urllib3 to behave
  correctly with regard to empty CA path passed
- change urllib3 fallback requirements to Recommends
- use ca-certificates in SLE as well
- recommend ca-certificates-mozilla to have a basic certificate set

OBS-URL: https://build.opensuse.org/request/show/373395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=87
2016-03-15 20:09:49 +00:00
Jan Matejek
ee0d6bcb47 Accepting request 360051 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/360051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=85
2016-02-23 15:37:33 +00:00
78a8f66a4b - update to 2.8.1:
- Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
    bundle.
  - Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
    ``ConnectionError``
  - When using the PreparedRequest flow, requests will now correctly respect the
    ``json`` parameter. Broken in 2.8.0.
  - When using the PreparedRequest flow, requests will now correctly handle a
    Unicode-string method name on Python 2. Broken in 2.8.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=81
2015-10-21 21:09:14 +00:00
6fd6cd6487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=80 2015-10-21 21:04:56 +00:00
6ea8cd990e - remove requests-do-not-use-bundle.patch (bsc#947357)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=79
2015-10-21 20:51:25 +00:00
abe5af4ccd OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=78 2015-10-21 16:30:25 +00:00
81ffef7dde - fix requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=77
2015-10-21 08:00:58 +00:00
Todd R
ce9d5664e0 Accepting request 339102 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/339102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=75
2015-10-15 12:02:24 +00:00
Denisart Benjamin
e41975ba9d Accepting request 337534 from home:XRevan86
- Update to 2.8.0.

OBS-URL: https://build.opensuse.org/request/show/337534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=74
2015-10-09 23:04:58 +00:00
Denisart Benjamin
3139769f54 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=72 2015-10-05 17:22:34 +00:00
Denisart Benjamin
53b6e29688 Accepting request 336575 from home:posophe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/336575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=71
2015-10-05 17:19:10 +00:00
Todd R
50bec8800e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=69 2015-09-26 09:06:08 +00:00
Denisart Benjamin
e10b18927e Accepting request 333526 from home:posophe:branches:devel:languages:python
fix

OBS-URL: https://build.opensuse.org/request/show/333526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=66
2015-09-24 21:23:14 +00:00
747f35ba1f Accepting request 330848 from home:tbechtold:branches:devel:languages:python
- Disable testsuite. Tests were never executed (bsc#945455) but
  enabling the testsuite doesn't work because the suite needs
  network access.

OBS-URL: https://build.opensuse.org/request/show/330848
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=64
2015-09-18 08:14:54 +00:00
Todd R
163118d2e3 Accepting request 318872 from home:seife:OpenStack:Master
fix version condition to allow RHEL/CentOS 7 builds

OBS-URL: https://build.opensuse.org/request/show/318872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=60
2015-07-27 14:31:46 +00:00
Denisart Benjamin
57997861db Accepting request 318380 from home:hennevogel:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/318380
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=59
2015-07-26 12:35:52 +00:00
Michal Čihař
aa19bbd525 Accepting request 298170 from home:Nijel:branches:devel:languages:python
- Update to 2.6.0:
  - Fix handling of cookies on redirect. Previously a cookie without a host
    value set would use the hostname for the redirected URL exposing requests
    users to session fixation attacks and potentially cookie stealing. This was
    disclosed privately by Matthew Daley of `BugFuzz <https://bugfuzz.com>`_.
    An CVE identifier has not yet been assigned for this. This affects all
    versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).
  - Fix error when requests is an ``install_requires`` dependency and ``python
    setup.py test`` is run. (#2462)
  - Fix error when urllib3 is unbundled and requests continues to use the
    vendored import location.
  - Include fixes to ``urllib3``'s header handling.
  - Requests' handling of unvendored dependencies is now more restrictive.
  - Support bytearrays when passed as parameters in the ``files`` argument.
    (#2468)
  - Avoid data duplication when creating a request with ``str``, ``bytes``, or
    ``bytearray`` input to the ``files`` argument.
  - Revert changes to our vendored certificate bundle. For more context see
    (#2455, #2456, and http://bugs.python.org/issue23476)

OBS-URL: https://build.opensuse.org/request/show/298170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=55
2015-04-20 13:28:20 +00:00
9da88b8272 Accepting request 287513 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/287513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=53
2015-02-24 15:05:36 +00:00
Denisart Benjamin
f596b3f40f Accepting request 263601 from Cloud:OpenStack:Master
- fix license (Apache-2.0 only)

OBS-URL: https://build.opensuse.org/request/show/263601
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=51
2014-12-02 20:02:19 +00:00
Todd R
8f2e0821d4 Accepting request 248629 from home:TheBlackCat:branches:devel:languages:python
Update to 2.4.1

OBS-URL: https://build.opensuse.org/request/show/248629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=49
2014-09-11 15:26:41 +00:00
Tomáš Chvátal
ad236f30e7 Accepting request 236416 from home:rjschwei:branches:devel:languages:python
- Update to version 2.3.0
  + New ``Response`` property ``is_redirect``, which is true when the
    library could have processed this response as a redirection (whether
    or not it actually did).
  + The ``timeout`` parameter now affects requests with both ``stream=True``
    and ``stream=False`` equally.
  + The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
    Proxy schemes now default to ``http://``.
  + The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
    dictionary when references as string or viewd in the interpreter.
  + No longer expose Authorization or Proxy-Authorization headers on redirect.
    Fix CVE-2014-1829 and CVE-2014-1830 respectively.
  + Authorization is re-evaluated each redirect.
  + On redirect, pass url as native strings.
  + Fall-back to autodetected encoding for JSON when Unicode detection fails.
  + Headers set to ``None`` on the ``Session`` are now correctly not sent.
  + Correctly honor ``decode_unicode`` even if it wasn't used earlier in the
    same response.
  + Stop advertising ``compress`` as a supported Content-Encoding.
  + The ``Response.history`` parameter is now always a list.
  + Many, many ``urllib3`` bugfixes.- Fixes incorrect parsing of proxy
    credentials that contain a literal or encoded '#' character.
  + Assorted urllib3 fixes.
  + New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
    ``DecodeError`` exceptions.
  + Avoid many many exceptions from the buggy implementation of
    ``proxy_bypass`` on OS X in Python 2.6.
  + Avoid crashing when attempting to get authentication credentials
    from ~/.netrc when running as a user without a home directory.
  + Use the correct pool size for pools of connections to proxies.

OBS-URL: https://build.opensuse.org/request/show/236416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=46
2014-06-12 08:02:19 +00:00
Sascha Peilicke
c2a2f1bd4b Accepting request 210028 from home:vuntz:branches:devel:languages:python
- Add no-default-cacert-sles.patch: use this patch when building
  for SLES, since python in SLES and openSUSE behave differently
  when it comes to SSL, and no-default-cacert.patch is wrong for
  SLES.

OBS-URL: https://build.opensuse.org/request/show/210028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=44
2013-12-09 15:46:29 +00:00
Denisart Benjamin
221f6069f7 Accepting request 206076 from home:Nijel:branches:devel:languages:python
- update to 2.0.1
- changes in 2.0.1:
 - Updated included CA Bundle with new mistrusts and automated process for the future
 - Added MD5-sess to Digest Auth
 - Accept per-file headers in multipart file POST messages.
 - Fixed: Don't send the full URL on CONNECT messages.
 - Fixed: Correctly lowercase a redirect scheme.
 - Fixed: Cookies not persisted when set via functional API.
 - Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
 - Updated internal urllib3 and chardet.
- changes in 2.0.0:
 - Keys in the Headers dictionary are now native strings on all Python versions,
   i.e. bytestrings on Python 2, unicode on Python 3.
 - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
   will be raised if they don't.
 - Timeouts now apply to read time if ``Stream=False``.
 - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
 - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
 - Added new method to ``Session`` objects: ``Session.update_request()``. This
   method updates a ``Request`` object with the data (e.g. cookies) stored on
   the ``Session``.
 - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
   method updates and prepares a ``Request`` object, and returns the
   corresponding ``PreparedRequest`` object.
 - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
   This should not be called directly, but improves the subclass interface.
 - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
   will now raise a Requests ``ChunkedEncodingError`` instead.
 - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
   exception to be raised.

OBS-URL: https://build.opensuse.org/request/show/206076
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=42
2013-11-07 15:06:38 +00:00
Sascha Peilicke
4e39d80522 - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=40
2013-10-24 11:13:27 +00:00
Denisart Benjamin
91c4775552 Accepting request 184317 from home:vuntz:branches:devel:languages:python
- Add no-default-cacert.patch: completely ignore the internal CA
  bundle and point to /etc/ssl/certs/. This works because we
  patched python to do the right thing when a directory is used
  there instead of a file.
- Manually remove requests/cacert.pem (better than doing that in
  the patch, since it's big) too.

OBS-URL: https://build.opensuse.org/request/show/184317
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=38
2013-07-25 12:57:44 +00:00