1
0

Compare commits

...

242 Commits

Author SHA256 Message Date
Ana Guerrero
4f1a69adae Accepting request 1217932 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1217932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=85
2024-10-25 17:18:46 +00:00
Steve Kowalik
21da683250 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=191
2024-10-24 07:48:31 +00:00
Ana Guerrero
ef25f38bb8 Accepting request 1208547 from devel:languages:python
- Add patch inject-default-ca-bundles.patch:
  * Inject the default CA bundles if they are not specified.
    (bsc#1226321, bsc#1231500)

OBS-URL: https://build.opensuse.org/request/show/1208547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=84
2024-10-18 13:52:52 +00:00
Steve Kowalik
963e9791a9 - Add patch inject-default-ca-bundles.patch:
* Inject the default CA bundles if they are not specified.
    (bsc#1226321, bsc#1231500)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=189
2024-10-17 06:31:35 +00:00
Dominique Leuenberger
9ac7842dc7 Accepting request 1197228 from devel:languages:python
- Remove Requires on python-py, it should have been removed earlier.

OBS-URL: https://build.opensuse.org/request/show/1197228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=83
2024-08-30 11:26:09 +00:00
Ana Guerrero
d0c9d9cc6d Accepting request 1179087 from devel:languages:python
- update to 2.32.3:
  * Fixed bug breaking the ability to specify custom SSLContexts
    in sub-classes of HTTPAdapter.
  * Fixed issue where Requests started failing to run on Python
    versions compiled without the `ssl` module.

  * To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0,
    we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing
    custom HTTPAdapters will need to migrate their code to use this new API. get_connection is
  * Fixed an issue where setting verify=False on the first request from a Session
    will cause subsequent requests to the same origin to also ignore cert verification,
  * verify=True now reuses a global SSLContext which should improve request time
  * Requests now supports optional use of character detection (chardet or charset_normalizer)
    when repackaged or vendored. This enables pip and other projects to minimize their

OBS-URL: https://build.opensuse.org/request/show/1179087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=82
2024-06-07 13:01:52 +00:00
feb7f39f9a - update to 2.32.3:
* Fixed bug breaking the ability to specify custom SSLContexts
    in sub-classes of HTTPAdapter.
  * Fixed issue where Requests started failing to run on Python
    versions compiled without the `ssl` module.
  * To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0,
    we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing
    custom HTTPAdapters will need to migrate their code to use this new API. get_connection is
  * Fixed an issue where setting verify=False on the first request from a Session
    will cause subsequent requests to the same origin to also ignore cert verification,
  * verify=True now reuses a global SSLContext which should improve request time
  * Requests now supports optional use of character detection (chardet or charset_normalizer)
    when repackaged or vendored. This enables pip and other projects to minimize their

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=185
2024-06-06 19:38:51 +00:00
Ana Guerrero
6f36943a32 Accepting request 1175867 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1175867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=81
2024-05-24 17:50:01 +00:00
a8abd1de39 Accepting request 1175866 from home:mcalabkova:branches:devel:languages:python
- Update to 2.32.2
  * To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, 
    we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing 
    custom HTTPAdapters will need to migrate their code to use this new API. get_connection is 
    considered deprecated in all versions of Requests>=2.32.0.

OBS-URL: https://build.opensuse.org/request/show/1175866
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=183
2024-05-22 14:11:59 +00:00
022a931264 Accepting request 1175561 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 2.32.1
  * Fixed an issue where setting verify=False on the first request from a Session 
    will cause subsequent requests to the same origin to also ignore cert verification, 
    regardless of the value of verify. (bsc#1224788, CVE-2024-35195)
  * verify=True now reuses a global SSLContext which should improve request time 
    variance between first and subsequent requests.
  * Requests now supports optional use of character detection (chardet or charset_normalizer) 
    when repackaged or vendored. This enables pip and other projects to minimize their 
    vendoring surface area.
  * Requests has officially added support for CPython 3.12 and dropped support for CPython 3.7.
  * Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system using hatchling.

OBS-URL: https://build.opensuse.org/request/show/1175561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=182
2024-05-21 12:50:09 +00:00
Ana Guerrero
35db5c9f34 Accepting request 1110368 from devel:languages:python
- switch from unmaintained brotlipy to Brotli (same as urllib3)

- allow using newest version of charset-normalizer (3.0+)
- Skip test_pyopenssl_redirect due to gh#psf/requests#5846
- add 5711.patch from upstream instead to remove idna<3 pin
  can install the new idna dropping python2
- refreshed requests-no-hardcoded-version.patch
- Do not require full python, (implicit) python-base is sufficient.
- Skip one more test that is flaky
- -test subpackage must be empty
  * Only load the idna library when we’ve determined we need it.
  * Fixed an issue with JSON encoding detection, specifically detecting
- Fixed requests-do-not-use-bundle.patch
  requests-do-not-use-bundle.patch
- fix license (Apache-2.0 only)
  - Now has a "security" package extras set,
  - Bugfix for responses that attempt to redirect to themselves
    - Support for connect timeouts! Timeout now accepts a tuple
      (connect, read) which is used to set individual connect and
- update to 1.2.0:
  + charade: LGPL-2.1+

OBS-URL: https://build.opensuse.org/request/show/1110368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=80
2023-09-12 19:02:19 +00:00
9799752179 - switch from unmaintained brotlipy to Brotli (same as urllib3)
- allow using newest version of charset-normalizer (3.0+)
- Skip test_pyopenssl_redirect due to gh#psf/requests#5846
- add 5711.patch from upstream instead to remove idna<3 pin
  can install the new idna dropping python2
- refreshed requests-no-hardcoded-version.patch
- Do not require full python, (implicit) python-base is sufficient.
- Skip one more test that is flaky
- -test subpackage must be empty
  * Only load the idna library when we’ve determined we need it.
  * Fixed an issue with JSON encoding detection, specifically detecting
- Fixed requests-do-not-use-bundle.patch
  requests-do-not-use-bundle.patch
- fix license (Apache-2.0 only)
  - Now has a "security" package extras set,
  - Bugfix for responses that attempt to redirect to themselves
    - Support for connect timeouts! Timeout now accepts a tuple
      (connect, read) which is used to set individual connect and
- update to 1.2.0:
  + charade: LGPL-2.1+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=180
2023-09-11 20:42:01 +00:00
Dominique Leuenberger
44d2d1e0e5 Accepting request 1092607 from devel:languages:python
- Delete requests-no-hardcoded-version.patch
- Security Update to 2.31.0 (bsc#1211674):
  Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
  forwarding of Proxy-Authorization headers to destination servers when
  following HTTPS redirects.
  When proxies are defined with user info (https://user:pass@proxy:8080), Requests
  will construct a Proxy-Authorization header that is attached to the request to
  authenticate with the proxy.
  In cases where Requests receives a redirect response, it previously reattached
  the Proxy-Authorization header incorrectly, resulting in the value being
  sent through the tunneled connection to the destination server. Users who rely on
  defining their proxy credentials in the URL are strongly encouraged to upgrade
  to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
  credentials once the change has been fully deployed.
  Users who do not use a proxy or do not supply their proxy credentials through
  the user information portion of their proxy URL are not subject to this
  vulnerability.
  Full details can be read in our Github Security Advisory
  and CVE-2023-32681.

OBS-URL: https://build.opensuse.org/request/show/1092607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=79
2023-06-14 14:28:35 +00:00
30031b76cd - Delete requests-no-hardcoded-version.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=178
2023-06-12 12:14:24 +00:00
f1ac59bf1f - Security Update to 2.31.0 (bsc#1211674):
Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
  forwarding of Proxy-Authorization headers to destination servers when
  following HTTPS redirects.
  When proxies are defined with user info (https://user:pass@proxy:8080), Requests
  will construct a Proxy-Authorization header that is attached to the request to
  authenticate with the proxy.
  In cases where Requests receives a redirect response, it previously reattached
  the Proxy-Authorization header incorrectly, resulting in the value being
  sent through the tunneled connection to the destination server. Users who rely on
  defining their proxy credentials in the URL are strongly encouraged to upgrade
  to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
  credentials once the change has been fully deployed.
  Users who do not use a proxy or do not supply their proxy credentials through
  the user information portion of their proxy URL are not subject to this
  vulnerability.
  Full details can be read in our Github Security Advisory
  and CVE-2023-32681.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=177
2023-06-12 12:04:25 +00:00
Dominique Leuenberger
7d658ba5a2 Accepting request 1085070 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=78
2023-05-19 09:55:06 +00:00
1bad819eab Accepting request 1085066 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085066
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=175
2023-05-05 12:13:37 +00:00
Steve Kowalik
9b183aa4ab - Update to 2.30.0:
* Added support for urllib3 2.0. 
  * Defer chunked requests to the urllib3 implementation to improve
    standardization.
  * Relax header component requirements to support bytes/str subclasses.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=174
2023-05-04 01:49:16 +00:00
Dominique Leuenberger
76000c4a36 Accepting request 1069145 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1069145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=77
2023-03-04 21:42:18 +00:00
d539fb7377 - Don't upper limit version of charset_normalized at runtime, too.
* Added change to patch: requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=172
2023-02-24 11:33:24 +00:00
ec95131598 Accepting request 1067584 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/1067584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=171
2023-02-24 11:02:42 +00:00
fe92d4619f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=170 2023-02-16 17:38:12 +00:00
a97af8bc6f Accepting request 1065612 from home:dirkmueller:acdc
- Don't upper limit version of charset_normalizer required.

OBS-URL: https://build.opensuse.org/request/show/1065612
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=169
2023-02-13 23:21:38 +00:00
ed3af5b690 osc copypac from project:devel:languages:python package:python-requests revision:9e7fe40dca32bed061468bcb1662f429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=168
2023-02-02 10:50:58 +00:00
783abdffa9 Accepting request 1062583 from system:homeautomation:home-assistant:unstable
update

OBS-URL: https://build.opensuse.org/request/show/1062583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=167
2023-02-02 07:20:06 +00:00
Dominique Leuenberger
84c4e160ea Accepting request 1060118 from devel:languages:python
- update to 2.28.2:
  - Requests now supports charset\_normalizer 3.x.
  - Updated MissingSchema exception to suggest https scheme rather than http.
- drop requests-allow-charset-normalizer-3.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1060118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=76
2023-01-23 17:30:44 +00:00
855fe1ea2b - update to 2.28.2:
- Requests now supports charset\_normalizer 3.x.
  - Updated MissingSchema exception to suggest https scheme rather than http.
- drop requests-allow-charset-normalizer-3.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=165
2023-01-21 10:02:15 +00:00
Dominique Leuenberger
b10f6a5c05 Accepting request 1032440 from devel:languages:python
- allow using newest version of charset-normalizer (3.0+) 
  * requests-allow-charset-normalizer-3.patch

OBS-URL: https://build.opensuse.org/request/show/1032440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=75
2022-11-01 12:41:01 +00:00
5307697c02 mention the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=163
2022-10-31 10:08:44 +00:00
f09ed8605f Accepting request 1032373 from home:david.anes:branches:devel:languages:python
- allow using newest version of charset-normalizer (3.0+)

OBS-URL: https://build.opensuse.org/request/show/1032373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=162
2022-10-31 09:49:00 +00:00
Fabian Vogt
804aaf952c Accepting request 1008412 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1008412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=74
2022-10-10 16:43:16 +00:00
5f39e20313 - requires python 3.7 or newer
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=160
2022-09-29 14:02:10 +00:00
Dominique Leuenberger
a04c904009 Accepting request 986373 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/986373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=73
2022-07-04 09:32:30 +00:00
2d3bd7aa57 Accepting request 986269 from home:stroeder:branches:devel:languages:python
update to 2.28.1

Note that module now requires Python 3.7+ and thus Leap is not supported anymore.

OBS-URL: https://build.opensuse.org/request/show/986269
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=158
2022-07-02 16:29:47 +00:00
Dominique Leuenberger
529a95e75a Accepting request 944115 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/944115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=72
2022-01-07 11:44:41 +00:00
00512a584a Accepting request 944102 from home:stroeder:python
update to 2.27.1

OBS-URL: https://build.opensuse.org/request/show/944102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=157
2022-01-05 20:06:25 +00:00
66136dfc9c - update to 2.27.0:
* Officially added support for Python 3.10. (#5928)
* Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions between
  Python 2 and 3. This gets raised in the `response.json()` method, and is
  backwards compatible as it inherits from previously thrown exceptions.
  Can be caught from `requests.exceptions.RequestException` as well. (#5856)
* Improved error text for misnamed `InvalidSchema` and `MissingSchema`
  exceptions. This is a temporary fix until exceptions can be renamed
  (Schema->Scheme). (#6017)
* Improved proxy parsing for proxy URLs missing a scheme. This will address
  recent changes to `urlparse` in Python 3.9+. (#5917)
* Fixed defect in `extract_zipped_paths` which could result in an infinite loop
  for some paths. (#5851)
* Fixed handling for `AttributeError` when calculating length of files obtained
  by `Tarfile.extractfile()`. (#5239)
* Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with
  `requests.exceptions.InvalidHeader`. (#5914)
* Fixed bug where two Host headers were sent for chunked requests. (#5391)
* Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was
  incorrectly stripped from all requests sent with `Session.send`. (#5924)
* Fixed performance regression in 2.26.0 for hosts with a large number of
  proxies available in the environment. (#5924)
* Fixed idna exception leak, wrapping `UnicodeError` with
  `requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the
  domain. (#5414)
* Requests support for Python 2.7 and 3.6 will be ending in 2022. While we
  don't have exact dates, Requests 2.27.x is likely to be the last release
  series providing support.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=156
2022-01-04 16:22:38 +00:00
Dominique Leuenberger
b766d3df46 Accepting request 928315 from devel:languages:python
- Correct {Build,}Requires for charset_normalizer.
- Add trustme to BuildRequires for the test suite.

- update to 2.26.0:
  - `Session.send` now correctly resolves proxy configurations from both
    the Session and Request. Behavior now matches `Session.request`. (#5681)
  - Fixed a race condition in zip extraction when using Requests in parallel
    from zip archive. (#5707)
  - Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
    to remove license ambiguity for projects bundling requests.
  - Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
    be used on Python 2 installations. (#5711)
  - The `requests[security]` extra has been converted to a no-op install.
    PyOpenSSL is no longer the recommended secure option for Requests. (#5867)
  - Requests has officially dropped support for Python 3.5. (#5867)
- drop 5711.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/928315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=71
2021-11-21 22:51:34 +00:00
Steve Kowalik
d746ba43cb - Correct {Build,}Requires for charset_normalizer.
- Add trustme to BuildRequires for the test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=155
2021-10-28 06:56:55 +00:00
6590e207df - update to 2.26.0:
- `Session.send` now correctly resolves proxy configurations from both
    the Session and Request. Behavior now matches `Session.request`. (#5681)
  - Fixed a race condition in zip extraction when using Requests in parallel
    from zip archive. (#5707)
  - Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
    to remove license ambiguity for projects bundling requests.
  - Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
    be used on Python 2 installations. (#5711)
  - The `requests[security]` extra has been converted to a no-op install.
    PyOpenSSL is no longer the recommended secure option for Requests. (#5867)
  - Requests has officially dropped support for Python 3.5. (#5867)
- drop 5711.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=154
2021-10-26 21:10:00 +00:00
Dominique Leuenberger
68bd180f43 Accepting request 903344 from devel:languages:python
- Skip test_pyopenssl_redirect due to gh#psf/requests#5846

OBS-URL: https://build.opensuse.org/request/show/903344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=70
2021-07-10 20:53:52 +00:00
Steve Kowalik
c4ec337410 - Skip test_pyopenssl_redirect due to gh#psf/requests#5846
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=153
2021-07-01 06:30:43 +00:00
Dominique Leuenberger
efa67dad80 Accepting request 871198 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/871198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=69
2021-02-15 22:11:59 +00:00
OBS User buildservice-autocommit
0b85023e40 Accepting request 869036 from devel:languages:python
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/869036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=151
2021-02-11 11:46:29 +00:00
Dominique Leuenberger
7cba77c2a5 Accepting request 869036 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/869036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=68
2021-02-11 11:46:29 +00:00
OBS User buildservice-autocommit
9bd743bea9 Updating link to change in openSUSE:Factory/python-requests revision 68.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=c3af1fde49fadccc2ba875edb5defc88
2021-02-11 11:46:29 +00:00
3f24cf1f61 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=150 2021-02-04 11:00:29 +00:00
2799a9caa2 - add 5711.patch from upstream instead to remove idna<3 pin
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=149
2021-02-04 10:32:38 +00:00
ab58f6c9a0 Accepting request 868971 from home:bnavigator:branches:devel:languages:python
- Don't pin idna<3 in the egg-info so that depending packages
  can install the new idna dropping python2

OBS-URL: https://build.opensuse.org/request/show/868971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=148
2021-02-03 22:08:03 +00:00
Dominique Leuenberger
7c09a34ff2 Accepting request 856964 from devel:languages:python
- update to 2.25.1:
  - Requests now treats `application/json` as `utf8` by default. Resolving
  inconsistencies between `r.text` and `r.json` output. (#5673)

OBS-URL: https://build.opensuse.org/request/show/856964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=67
2020-12-23 13:18:41 +00:00
db029592a9 - update to 2.25.1:
- Requests now treats `application/json` as `utf8` by default. Resolving
  inconsistencies between `r.text` and `r.json` output. (#5673)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=146
2020-12-19 09:57:29 +00:00
Dominique Leuenberger
ffc7d71d48 Accepting request 851065 from devel:languages:python
- update to 2.25.0:
  * Added support for NETRC environment variable. (#5643)
  * Requests now supports urllib3 v1.26.
  * Requests v2.25.x will be the last release series with support for Python 3.5.
- refreshed requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/request/show/851065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=66
2020-12-03 17:37:27 +00:00
65ce8b1dec - update to 2.25.0:
* Added support for NETRC environment variable. (#5643)
  * Requests now supports urllib3 v1.26.
  * Requests v2.25.x will be the last release series with support for Python 3.5.
- refreshed requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=144
2020-11-26 12:40:34 +00:00
Dominique Leuenberger
5b5b376d1c Accepting request 822516 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/822516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=65
2020-08-01 10:30:36 +00:00
dd340cf729 Accepting request 822499 from home:sebix:branches:devel:languages:python
- remove patch pr_5251-pytest5.patch, not needed anymore.
- update to version 2.24.0:
 - pyOpenSSL TLS implementation is now only used if Python
   either doesn't have an `ssl` module or doesn't support
   SNI. Previously pyOpenSSL was unconditionally used if available.
   This applies even if pyOpenSSL is installed via the
   `requests[security]` extra (#5443)
 - Redirect resolution should now only occur when
   `allow_redirects` is True. (#5492)
 - No longer perform unnecessary Content-Length calculation for
   requests that won't use it. (#5496)

OBS-URL: https://build.opensuse.org/request/show/822499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=142
2020-07-24 02:14:24 +00:00
Dominique Leuenberger
4d069f1406 Accepting request 796260 from devel:languages:python
- update to version 2.20.0 bsc#1111622:

OBS-URL: https://build.opensuse.org/request/show/796260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=64
2020-04-22 18:44:33 +00:00
Tomáš Chvátal
c0b7b48e8c - update to version 2.20.0 bsc#1111622:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=140
2020-04-22 10:29:06 +00:00
Dominique Leuenberger
831b47df62 Accepting request 778804 from devel:languages:python
- update to 2.23.0
- dropped merged_pr_5049.patch
- refreshed requests-no-hardcoded-version.patch 
 * Remove defunct reference to prefetch in Session __attrs__
 * Requests no longer outputs password in basic auth usage warning

OBS-URL: https://build.opensuse.org/request/show/778804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=63
2020-02-29 20:18:12 +00:00
c3e7e42530 - update to 2.23.0
- dropped merged_pr_5049.patch
- refreshed requests-no-hardcoded-version.patch 
 * Remove defunct reference to prefetch in Session __attrs__
 * Requests no longer outputs password in basic auth usage warning

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=138
2020-02-24 15:21:03 +00:00
Dominique Leuenberger
5cef627bb2 Accepting request 757448 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/757448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=62
2019-12-24 13:28:46 +00:00
Tomáš Chvátal
316a0b7f87 Accepting request 757372 from home:StefanBruens:branches:devel:languages:python
- Remove python-urllib3, python-certifi and ca-certificates from
  main package BuildRequires, not required for building.
- Do not require full python, (implicit) python-base is sufficient.

OBS-URL: https://build.opensuse.org/request/show/757372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=136
2019-12-17 07:54:37 +00:00
Dominique Leuenberger
1a3dbe6bb6 Accepting request 744659 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/744659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=61
2019-11-04 16:13:39 +00:00
Tomáš Chvátal
bb07151af9 Accepting request 744656 from home:jayvdb:branches:devel:languages:python:isolated
- Add two patches only updating test logic to remove pytest 3 pin
  - merged_pr_5049.patch
  - pr_5251-pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/744656
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=134
2019-11-01 08:23:28 +00:00
Dominique Leuenberger
ddb1748416 Accepting request 717463 from devel:languages:python
- Hardcode pytest 3.x series as upstream even in git does not work
  with newer versions (they pinned the release)

OBS-URL: https://build.opensuse.org/request/show/717463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=60
2019-07-30 11:03:56 +00:00
Tomáš Chvátal
7143771b59 - Hardcode pytest 3.x series as upstream even in git does not work
with newer versions (they pinned the release)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=132
2019-07-22 07:58:25 +00:00
Dominique Leuenberger
f63483e35d Accepting request 705386 from devel:languages:python
- Update to 2.22.0:
  * Requests now supports urllib3 v1.25.2. (note: 1.25.0 and 1.25.1 are incompatible)
- Rebase requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/request/show/705386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=59
2019-05-27 06:37:17 +00:00
Tomáš Chvátal
29cefd379a - Update to 2.22.0:
* Requests now supports urllib3 v1.25.2. (note: 1.25.0 and 1.25.1 are incompatible)
- Rebase requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=130
2019-05-25 08:45:30 +00:00
Yuchen Lin
6c2fb6b2ea Accepting request 697101 from devel:languages:python
- Do not hardcode version requirements in setup.py allowing us to
  update and verify functionality on our own:
  * requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/request/show/697101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=58
2019-04-26 20:41:57 +00:00
Tomáš Chvátal
1a4a56e41c - Do not hardcode version requirements in setup.py allowing us to
update and verify functionality on our own:
  * requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=128
2019-04-23 10:46:50 +00:00
Dominique Leuenberger
27061cef1f Accepting request 678959 from devel:languages:python
- Skip one more test that is flaky 

- Do not depend on python-py
- Update few of the requirements

OBS-URL: https://build.opensuse.org/request/show/678959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=57
2019-02-26 21:15:45 +00:00
Tomáš Chvátal
671ee91793 - Skip one more test that is flaky
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=126
2019-02-25 15:45:21 +00:00
Tomáš Chvátal
7dbc844192 - Update to 2.21.0:
* Update various dependencies to match reality
- Update the reqs based on upstream
- Fix the multibuild to match other packages

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=125
2019-02-15 11:41:38 +00:00
Stephan Kulow
ac56201d52 Accepting request 671885 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/671885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=56
2019-02-08 12:46:32 +00:00
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
Dominique Leuenberger
05a0702425 Accepting request 664989 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/664989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=55
2019-01-28 19:45:44 +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
Dominique Leuenberger
8c21e9cea5 Accepting request 662199 from devel:languages:python
- Move name ahead of version in spec file to resolve build issues
  on older distributions
- fdupe more thoroughly.

OBS-URL: https://build.opensuse.org/request/show/662199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=54
2019-01-03 17:05:28 +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
Dominique Leuenberger
57f16393c1 Accepting request 651559 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/651559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=53
2018-11-28 10:09:39 +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
Dominique Leuenberger
748ad4c1bf Accepting request 646695 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/646695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=52
2018-11-12 08:50:37 +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
Dominique Leuenberger
6b488844ed Accepting request 645472 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/645472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=51
2018-11-06 14:19:42 +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
Dominique Leuenberger
3bbb8bd1f9 Accepting request 627626 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/627626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=50
2018-08-07 07:42:53 +00:00
Tomáš Chvátal
708234795a Only one changelog is enough
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=111
2018-08-06 10:01:03 +00:00
Dominique Leuenberger
c06fe04f27 Accepting request 624090 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/624090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=49
2018-07-21 08:09:13 +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
Dominique Leuenberger
4863edbeca Accepting request 620399 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/620399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=48
2018-07-04 21:53:59 +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
Dominique Leuenberger
71f6fd3561 Accepting request 583919 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/583919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=47
2018-03-12 11:05:23 +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
Dominique Leuenberger
6d3448cd40 Accepting request 580800 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/580800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=46
2018-03-05 12:34:32 +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
Dominique Leuenberger
a9d453a114 Accepting request 529890 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/529890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=45
2017-10-02 14:48:19 +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
Dominique Leuenberger
45e8c13b5d Accepting request 515216 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/515216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=44
2017-08-14 10:36:54 +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
Dominique Leuenberger
ed0ab381ed Accepting request 507839 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/507839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=43
2017-07-04 09:57:50 +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
Dominique Leuenberger
2c06b226cd Accepting request 501303 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/501303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=42
2017-06-13 14:06:34 +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
044c0e83b9 * for more changes, see https://pypi.python.org/pypi/requests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=101
2017-06-10 09:04:10 +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
Dominique Leuenberger
63ac96412f Accepting request 494948 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/494948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=41
2017-05-16 12:30:05 +00:00
16b75451f0 Accepting request 492416 from home:alarrosa:branches:devel:languages:python
This should fix https://build.opensuse.org/request/show/487847 which was declined by factory-auto
- The following two entries should have been added to the previous
  changelog entry.
- Drop urllib3-ssl-default-context.patch
- Add requests-do-not-use-bundle.patch

OBS-URL: https://build.opensuse.org/request/show/492416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=98
2017-05-15 13:24:04 +00:00
Jan Matejek
ca11654340 * drop urllib3-ssl-default-context.patch
* add requests-do-not-use-bundle.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=97
2017-05-03 13:16:59 +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
Dominique Leuenberger
c00fc24e76 Accepting request 481403 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/481403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=40
2017-03-24 00:53:03 +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
Dominique Leuenberger
31eaf4be07 Accepting request 448449 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/448449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=39
2017-01-09 10:50:40 +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
Dominique Leuenberger
f492fdc19f Accepting request 424241 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/424241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=38
2016-09-05 19:18:24 +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
Dominique Leuenberger
62d8f270a0 Accepting request 408704 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/408704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=37
2016-07-16 20:13:36 +00:00
Dominique Leuenberger
3ce9eed537 osc copypac from project:openSUSE:Factory package:python-requests revision:34
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=36
2016-07-07 13:12:08 +00:00
Dominique Leuenberger
1cc6f6d2d0 Accepting request 405654 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/405654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=35
2016-07-01 08:01:06 +00:00
Dominique Leuenberger
63b3c80041 Accepting request 404211 from openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/404211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=34
2016-06-23 10:58:53 +00:00
Dominique Leuenberger
6d6bf5dd5b Accepting request 404211 from openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/404211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=34
2016-06-23 10:58:53 +00:00
Dominique Leuenberger
891b8fa2c7 Accepting request 400255 from devel:languages:python
- 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/request/show/400255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=33
2016-06-07 21:49:49 +00:00
Dominique Leuenberger
51fd70c3cc Accepting request 400255 from devel:languages:python
- 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/request/show/400255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=33
2016-06-07 21:49:49 +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
Dominique Leuenberger
fc022a9c19 Accepting request 373515 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/373515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=32
2016-03-17 15:35:27 +00:00
Dominique Leuenberger
609b1fd7b0 Accepting request 373515 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/373515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=32
2016-03-17 15:35:27 +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
Dominique Leuenberger
f4cbce5cd3 Accepting request 361137 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/361137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=31
2016-02-25 21:08:19 +00:00
Dominique Leuenberger
0c15285eec Accepting request 361137 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/361137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=31
2016-02-25 21:08:19 +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
Dominique Leuenberger
5f184123cc Accepting request 351195 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/351195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=30
2016-01-01 18:48:20 +00:00
Dominique Leuenberger
a73990e36e Accepting request 351195 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/351195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=30
2016-01-01 18:48:20 +00:00
Denisart Benjamin
60197780b7 Accepting request 349384 from home:rjschwei:branches:devel:languages:python
- Modify no-default-cacert
  + The call to set_default_verify_paths() is not necessary. The openSUSE
    and SLES Python has been patched to always use the system certs.
    Additionally this call breaks the use of python-requests on older systems,
    openSUSE_13.2 and original release of SLES 12 which fall back to
    the built in implementation of ssl which doe not implement
    this method

OBS-URL: https://build.opensuse.org/request/show/349384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=83
2015-12-29 13:50:34 +00:00
Dominique Leuenberger
396eac1695 Accepting request 340326 from devel:languages:python
- 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.

- remove requests-do-not-use-bundle.patch (bsc#947357)

- fix requires

OBS-URL: https://build.opensuse.org/request/show/340326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=29
2015-10-26 11:48:44 +00:00
Dominique Leuenberger
22c68f4f0d Accepting request 340326 from devel:languages:python
- 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.

- remove requests-do-not-use-bundle.patch (bsc#947357)

- fix requires

OBS-URL: https://build.opensuse.org/request/show/340326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=29
2015-10-26 11:48:44 +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
Dominique Leuenberger
80bc92e681 Accepting request 339109 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/339109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=28
2015-10-19 20:51:36 +00:00
Dominique Leuenberger
04b18d7493 Accepting request 339109 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/339109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=28
2015-10-19 20:51:36 +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
c2c322bad8 Accepting request 336832 from home:alois:branches:devel:languages:python
Fixes the no-bundle patch in regard to urllib3.

OBS-URL: https://build.opensuse.org/request/show/336832
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=73
2015-10-06 18:34:43 +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
Todd R
df777e1a6f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=67 2015-09-26 09:05:47 +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
Stephan Kulow
33a35d1977 Accepting request 331875 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/331875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=27
2015-09-24 04:14:12 +00:00
Stephan Kulow
7ea6aee370 Accepting request 331875 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/331875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=27
2015-09-24 04:14:12 +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
Dominique Leuenberger
a442d05ed4 Accepting request 320849 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/320849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=26
2015-08-06 22:24:44 +00:00
Dominique Leuenberger
eba8027439 Accepting request 320849 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/320849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=26
2015-08-06 22:24:44 +00:00
a1348f00ee Accepting request 320847 from Cloud:OpenStack:Master
- Update to 2.6.0 (bsc#922448, CVE-2015-2296):
- update to 2.5.2 (bsc#929736):

OBS-URL: https://build.opensuse.org/request/show/320847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=62
2015-08-06 10:29:40 +00:00
Dominique Leuenberger
fec0db25be Accepting request 319000 from devel:languages:python
Update to 2.7.0

OBS-URL: https://build.opensuse.org/request/show/319000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=25
2015-08-01 09:37:13 +00:00
Dominique Leuenberger
aa3faeab80 Accepting request 319000 from devel:languages:python
Update to 2.7.0

OBS-URL: https://build.opensuse.org/request/show/319000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=25
2015-08-01 09:37:13 +00:00
Todd R
917cb98139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=61 2015-07-27 15:56:24 +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
Stephan Kulow
ffd4f57adb Accepting request 315859 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/315859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=24
2015-07-14 15:43:46 +00:00
Stephan Kulow
d81488b544 Accepting request 315859 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/315859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=24
2015-07-14 15:43:46 +00:00
890709e6d2 Accepting request 315237 from home:lnussel:branches:devel:languages:python
- update no-default-cacert.patch to not hardcode a ca cert location

OBS-URL: https://build.opensuse.org/request/show/315237
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=57
2015-07-10 12:18:52 +00:00
Dominique Leuenberger
9b87c0d735 Accepting request 298191 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=23
2015-04-21 08:53:57 +00:00
Dominique Leuenberger
59d2b186f0 Accepting request 298191 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=23
2015-04-21 08:53:57 +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
Dominique Leuenberger
65090d05c3 Accepting request 287544 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/287544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=22
2015-02-25 01:18:12 +00:00
Dominique Leuenberger
649d314154 Accepting request 287544 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/287544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=22
2015-02-25 01:18:12 +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
Dominique Leuenberger
0a7f621d60 Accepting request 263759 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/263759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=21
2014-12-03 21:48:20 +00:00
Dominique Leuenberger
ec3a6a68f2 Accepting request 263759 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/263759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=21
2014-12-03 21:48:20 +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
Stephan Kulow
16faa74283 Accepting request 248630 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/248630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=20
2014-09-12 08:03:33 +00:00
Stephan Kulow
35bb6d4770 Accepting request 248630 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/248630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=20
2014-09-12 08:03:33 +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
Stephan Kulow
7a5fc778b4 Accepting request 237323 from devel:languages:python
- Update tarball to the one upstream is publishing.

- 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

OBS-URL: https://build.opensuse.org/request/show/237323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=18
2014-06-16 19:32:34 +00:00
Stephan Kulow
68d9543aaf Accepting request 237323 from devel:languages:python
- Update tarball to the one upstream is publishing.

- 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

OBS-URL: https://build.opensuse.org/request/show/237323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=18
2014-06-16 19:32:34 +00:00
Tomáš Chvátal
e69e59a4c2 - Update tarball to the one upstream is publishing.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=47
2014-06-14 10:57:22 +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
Stephan Kulow
93d086c736 Accepting request 210031 from 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. (forwarded request 210028 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/210031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=17
2013-12-10 08:34:52 +00:00
Stephan Kulow
7840e5564a Accepting request 210031 from 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. (forwarded request 210028 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/210031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=17
2013-12-10 08:34:52 +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
Stephan Kulow
05ff0ea5b7 Accepting request 206124 from 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. (forwarded request 206076 from Nijel)

OBS-URL: https://build.opensuse.org/request/show/206124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=16
2013-11-08 07:39:07 +00:00
Stephan Kulow
f92d834cf4 Accepting request 206124 from 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. (forwarded request 206076 from Nijel)

OBS-URL: https://build.opensuse.org/request/show/206124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=16
2013-11-08 07:39:07 +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
Tomáš Chvátal
3e20c585d4 Accepting request 204649 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=15
2013-10-25 09:31:02 +00:00
Tomáš Chvátal
b8e04b9db7 Accepting request 204649 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/204649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=15
2013-10-25 09:31:02 +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
Stephan Kulow
026efa27b5 Accepting request 184322 from 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. (forwarded request 184317 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/184322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=13
2013-07-25 18:31:16 +00:00
Stephan Kulow
2f9f75aedd Accepting request 184322 from 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. (forwarded request 184317 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/184322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=13
2013-07-25 18:31:16 +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
Stephan Kulow
495b97e61d Accepting request 179993 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=12
2013-06-19 13:53:46 +00:00
Stephan Kulow
d405eaba73 Accepting request 179993 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=12
2013-06-19 13:53:46 +00:00
Sascha Peilicke
0b75e46531 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=36
2013-06-17 12:53:47 +00:00
Stephan Kulow
45879db269 Accepting request 176813 from devel:languages:python
- update to 1.2.3:
 * Python 3.3.2 compatibility
 * Always percent-encode location headers
 * Fix connection adapter matching to be most-specific first
 * new argument to the default connection adapter for passing a block argument
 * prevent a KeyError when there's no link headers (forwarded request 176685 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/176813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=11
2013-06-05 11:35:59 +00:00
Stephan Kulow
88b8771c5f Accepting request 176813 from devel:languages:python
- update to 1.2.3:
 * Python 3.3.2 compatibility
 * Always percent-encode location headers
 * Fix connection adapter matching to be most-specific first
 * new argument to the default connection adapter for passing a block argument
 * prevent a KeyError when there's no link headers (forwarded request 176685 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/176813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=11
2013-06-05 11:35:59 +00:00
Sascha Peilicke
e933f3e573 Accepting request 176685 from home:dirkmueller:branches:devel:languages:python
- update to 1.2.3:
 * Python 3.3.2 compatibility
 * Always percent-encode location headers
 * Fix connection adapter matching to be most-specific first
 * new argument to the default connection adapter for passing a block argument
 * prevent a KeyError when there's no link headers

OBS-URL: https://build.opensuse.org/request/show/176685
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=34
2013-05-28 07:13:40 +00:00
Stephan Kulow
ef76cbb1cb Accepting request 175242 from devel:languages:python
- update to 1.2.0: 
 * Fixed cookies on sessions and on requests
 * Significantly change how hooks are dispatched - hooks now receive all the
  arguments specified by the user when making a request so hooks can make a
  secondary request with the same parameters. This is especially necessary for
  authentication handler authors
 * certifi support was removed
 * Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
 * Major proxy work thanks to @Lukasa including parsing of proxy authentication
  from the proxy url
 * Fix DigestAuth handling too many 401s
 * Update vendored urllib3 to include SSL bug fixes
 * Allow keyword arguments to be passed to ``json.loads()`` via the
  ``Response.json()`` method
 * Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
   requests
 * Add ``elapsed`` attribute to ``Response`` objects to time how long a request
   took.
 * Fix ``RequestsCookieJar``
 * Sessions and Adapters are now picklable, i.e., can be used with the
  mutiprocessing library
  Update charade to version 1.0.3

- update to 1.2.0:
 * Fixed cookies on sessions and on requests
 * Significantly change how hooks are dispatched - hooks now receive all the
  arguments specified by the user when making a request so hooks can make a
  secondary request with the same parameters. This is especially necessary for
  authentication handler authors
 * certifi support was removed (forwarded request 175233 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/175242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=10
2013-05-16 09:27:12 +00:00
Stephan Kulow
7e28e4929b Accepting request 175242 from devel:languages:python
- update to 1.2.0: 
 * Fixed cookies on sessions and on requests
 * Significantly change how hooks are dispatched - hooks now receive all the
  arguments specified by the user when making a request so hooks can make a
  secondary request with the same parameters. This is especially necessary for
  authentication handler authors
 * certifi support was removed
 * Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
 * Major proxy work thanks to @Lukasa including parsing of proxy authentication
  from the proxy url
 * Fix DigestAuth handling too many 401s
 * Update vendored urllib3 to include SSL bug fixes
 * Allow keyword arguments to be passed to ``json.loads()`` via the
  ``Response.json()`` method
 * Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
   requests
 * Add ``elapsed`` attribute to ``Response`` objects to time how long a request
   took.
 * Fix ``RequestsCookieJar``
 * Sessions and Adapters are now picklable, i.e., can be used with the
  mutiprocessing library
  Update charade to version 1.0.3

- update to 1.2.0:
 * Fixed cookies on sessions and on requests
 * Significantly change how hooks are dispatched - hooks now receive all the
  arguments specified by the user when making a request so hooks can make a
  secondary request with the same parameters. This is especially necessary for
  authentication handler authors
 * certifi support was removed (forwarded request 175233 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/175242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=10
2013-05-16 09:27:12 +00:00
Sascha Peilicke
11b8d50cb5 Accepting request 175233 from home:dirkmueller:branches:devel:languages:python
- update to 1.2.0: 
 * Fixed cookies on sessions and on requests
 * Significantly change how hooks are dispatched - hooks now receive all the
  arguments specified by the user when making a request so hooks can make a
  secondary request with the same parameters. This is especially necessary for
  authentication handler authors
 * certifi support was removed
 * Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
 * Major proxy work thanks to @Lukasa including parsing of proxy authentication
  from the proxy url
 * Fix DigestAuth handling too many 401s
 * Update vendored urllib3 to include SSL bug fixes
 * Allow keyword arguments to be passed to ``json.loads()`` via the
  ``Response.json()`` method
 * Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
   requests
 * Add ``elapsed`` attribute to ``Response`` objects to time how long a request
   took.
 * Fix ``RequestsCookieJar``
 * Sessions and Adapters are now picklable, i.e., can be used with the
  mutiprocessing library
  Update charade to version 1.0.3

- update to 1.2.0:
 * Fixed cookies on sessions and on requests
 * Significantly change how hooks are dispatched - hooks now receive all the
  arguments specified by the user when making a request so hooks can make a
  secondary request with the same parameters. This is especially necessary for
  authentication handler authors
 * certifi support was removed

OBS-URL: https://build.opensuse.org/request/show/175233
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=32
2013-05-13 09:26:55 +00:00
Stephan Kulow
f4301a186e Accepting request 148913 from devel:languages:python
- Set license to "Apache-2.0 and LGPL-2.1+ and MIT", according to
  https://github.com/kennethreitz/requests/issues/1111, the base
  license is Apache-2.0 but requests ships two libraries (bnc#799119):
  + charade: LGPL-2.1+ 
  + urllib3: MIT

- Initial python3 support

- Update to version 1.1.0:
  * CHUNKED REQUESTS
  * Support for iterable response bodies
  * Assume servers persist redirect params
  * Allow explicit content types to be specified for file data
  * Make merge_kwargs case-insensitive when looking up keys


- Set license to "Apache-2.0 and LGPL-2.1+ and MIT", according to
  https://github.com/kennethreitz/requests/issues/1111, the base
  license is Apache-2.0 but requests ships two libraries (bnc#799119):
  + charade: LGPL-2.1+ 
  + urllib3: MIT

- Initial python3 support

OBS-URL: https://build.opensuse.org/request/show/148913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=8
2013-01-20 13:43:32 +00:00
Stephan Kulow
68a1315d8f Accepting request 148913 from devel:languages:python
- Set license to "Apache-2.0 and LGPL-2.1+ and MIT", according to
  https://github.com/kennethreitz/requests/issues/1111, the base
  license is Apache-2.0 but requests ships two libraries (bnc#799119):
  + charade: LGPL-2.1+ 
  + urllib3: MIT

- Initial python3 support

- Update to version 1.1.0:
  * CHUNKED REQUESTS
  * Support for iterable response bodies
  * Assume servers persist redirect params
  * Allow explicit content types to be specified for file data
  * Make merge_kwargs case-insensitive when looking up keys


- Set license to "Apache-2.0 and LGPL-2.1+ and MIT", according to
  https://github.com/kennethreitz/requests/issues/1111, the base
  license is Apache-2.0 but requests ships two libraries (bnc#799119):
  + charade: LGPL-2.1+ 
  + urllib3: MIT

- Initial python3 support

OBS-URL: https://build.opensuse.org/request/show/148913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=8
2013-01-20 13:43:32 +00:00
Sascha Peilicke
6e2c5633b9 - Set license to "Apache-2.0 and LGPL-2.1+ and MIT", according to
https://github.com/kennethreitz/requests/issues/1111, the base
  license is Apache-2.0 but requests ships two libraries (bnc#799119):
  + charade: LGPL-2.1+ 
  + urllib3: MIT

- Set license to "Apache-2.0 and LGPL-2.1+ and MIT", according to
  https://github.com/kennethreitz/requests/issues/1111, the base
  license is Apache-2.0 but requests ships two libraries (bnc#799119):
  + charade: LGPL-2.1+ 
  + urllib3: MIT

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=30
2013-01-18 08:32:38 +00:00
Sascha Peilicke
e2a709661b Accepting request 148653 from home:posophe:branches:devel:languages:python
Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148653
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=29
2013-01-17 12:07:06 +00:00
Stephan Kulow
ba98421cca Accepting request 142225 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/142225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=7
2012-11-21 16:07:46 +00:00
Stephan Kulow
1da100dc4b Accepting request 142225 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/142225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=7
2012-11-21 16:07:46 +00:00
James Oakley
28223b2c21 - Update to 0.14.2:
* Improved mime-compatible JSON handling
  * Proxy fixes
  * Path hack fixes
  * Case-Insensistive Content-Encoding headers
  * Support for CJK parameters in form posts

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=27
2012-11-13 22:05:46 +00:00
Stephan Kulow
c4ec6eae40 Accepting request 139141 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/139141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=6
2012-10-25 19:26:42 +00:00
Stephan Kulow
b3585815f4 Accepting request 139141 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/139141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=6
2012-10-25 19:26:42 +00:00
James Oakley
ec9d2022ef - Update to 0.14.1:
* Python 3.3 Compatibility
  * Simply default accept-encoding
  * Bugfixes
- 0.14.0 (2012-09-02)
  * No more iter_content errors if already downloaded.
- 0.13.9 (2012-08-25)
  * Fix for OAuth + POSTs
  * Remove exception eating from dispatch_hook
  * General bugfixes
- 0.13.8 (2012-08-21)
  * Incredible Link header support :)
- 0.13.7 (2012-08-19)
  * Support for (key, value) lists everywhere.
  * Digest Authentication improvements.
  * Ensure proxy exclusions work properly.
  * Clearer UnicodeError exceptions.
  * Automatic casting of URLs to tsrings (fURL and such)
  * Bugfixes.
- 0.13.6 (2012-08-06)
  * Long awaited fix for hanging connections!
- 0.13.5 (2012-07-27)
  * Packaging fix
- 0.13.4 (2012-07-27)
  * GSSAPI/Kerberos authentication!
  * App Engine 2.7 Fixes!
  * Fix leaking connections (from urllib3 update)
  * OAuthlib path hack fix
  * OAuthlib URL parameters fix.
- 0.13.3 (2012-07-12)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=25
2012-10-16 19:07:13 +00:00
Stephan Kulow
e8b9387685 Accepting request 126137 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/126137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=5
2012-06-26 15:57:49 +00:00
Stephan Kulow
431215126c Accepting request 126137 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/126137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=5
2012-06-26 15:57:49 +00:00
Sascha Peilicke
5919c81afb Actually add and build the 0.13.1 tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=23
2012-06-20 11:51:50 +00:00
Stephan Kulow
3bf0b19ceb Accepting request 121921 from devel:languages:python
- Use a slightly different approach for bnc#761500, try to use /etc/ssl/certs
  but use /etc/ssl/ca-bundle.pem as a fallback. The previous fix didn't work
  for me as (my) Python ssl module doesn't support cert directories...
- No need to check SUSE versions for python-certifi, it only is/was
  part of openSUSE:Factory for a brief period of time

- Load directory-based cert store in openSUSE >= 12.2

- Update to 0.12.1
  * New Response.json property
  * Ability to add string file uploads
  * Fix out-of-range issue with iter_lines
  * Fix iter_content default size
  * Fix POST redirects containing files
- 0.12.0 (2012-05-02)
  * EXPERIMENTAL OAUTH SUPPORT!
  * Proper CookieJar-backed cookies interface with awesome dict-like interface.
  * Speed fix for non-iterated content chunks.
  * Move pre_request to a more usable place.
  * New pre_send hook.
  * Lazily encode data, params, files
  * Load system Certificate Bundle if certify isn't available.
  * Cleanups, fixes.
- Add python-chardet and python-oauthlib requirements
- Run test suite (added python-distribute build requirement to enable)

OBS-URL: https://build.opensuse.org/request/show/121921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=3
2012-06-12 05:10:01 +00:00
Stephan Kulow
7ddb8c6e31 Accepting request 121921 from devel:languages:python
- Use a slightly different approach for bnc#761500, try to use /etc/ssl/certs
  but use /etc/ssl/ca-bundle.pem as a fallback. The previous fix didn't work
  for me as (my) Python ssl module doesn't support cert directories...
- No need to check SUSE versions for python-certifi, it only is/was
  part of openSUSE:Factory for a brief period of time

- Load directory-based cert store in openSUSE >= 12.2

- Update to 0.12.1
  * New Response.json property
  * Ability to add string file uploads
  * Fix out-of-range issue with iter_lines
  * Fix iter_content default size
  * Fix POST redirects containing files
- 0.12.0 (2012-05-02)
  * EXPERIMENTAL OAUTH SUPPORT!
  * Proper CookieJar-backed cookies interface with awesome dict-like interface.
  * Speed fix for non-iterated content chunks.
  * Move pre_request to a more usable place.
  * New pre_send hook.
  * Lazily encode data, params, files
  * Load system Certificate Bundle if certify isn't available.
  * Cleanups, fixes.
- Add python-chardet and python-oauthlib requirements
- Run test suite (added python-distribute build requirement to enable)

OBS-URL: https://build.opensuse.org/request/show/121921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=3
2012-06-12 05:10:01 +00:00
Sascha Peilicke
a77547e14d - Update to 0.13.1:
+ Removal of Requests.async in favor of grequests
  + Allow disabling of cookie persistiance.
  + New implimentation of safe_mode
  + cookies.get now supports default argument
  + Session cookies not saved when Session.request is called with return_response=False
  + Env: no_proxy support.
  + RequestsCookieJar improvements.
  + Various bug fixes.
- Rebased patches

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=21
2012-05-30 09:17:32 +00:00
Sascha Peilicke
46275a5a11 - Use a slightly different approach for bnc#761500, try to use /etc/ssl/certs
but use /etc/ssl/ca-bundle.pem as a fallback. The previous fix didn't work
  for me as (my) Python ssl module doesn't support cert directories...
- No need to check SUSE versions for python-certifi, it only is/was
  part of openSUSE:Factory for a brief period of time

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=20
2012-05-23 12:16:00 +00:00
James Oakley
d22ba905da Fix issues with last checkin
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=19
2012-05-20 17:57:04 +00:00
James Oakley
83bc7fa8f8 - Load directory-based cert store in openSUSE >= 12.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=18
2012-05-20 17:46:42 +00:00
James Oakley
a21d8565dd - Update to 0.12.1
* New Response.json property
  * Ability to add string file uploads
  * Fix out-of-range issue with iter_lines
  * Fix iter_content default size
  * Fix POST redirects containing files
- 0.12.0 (2012-05-02)
  * EXPERIMENTAL OAUTH SUPPORT!
  * Proper CookieJar-backed cookies interface with awesome dict-like interface.
  * Speed fix for non-iterated content chunks.
  * Move pre_request to a more usable place.
  * New pre_send hook.
  * Lazily encode data, params, files
  * Load system Certificate Bundle if certify isn't available.
  * Cleanups, fixes.
- Add python-chardet and python-oauthlib requirements
- Run test suite (added python-distribute build requirement to enable)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=17
2012-05-18 01:36:28 +00:00
Stephan Kulow
a9df596299 Accepting request 116919 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/116919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=2
2012-05-09 16:20:29 +00:00
Stephan Kulow
22cd0c01de Accepting request 116919 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/116919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=2
2012-05-09 16:20:29 +00:00
James Oakley
e5143bd912 - Update to 0.11.2
* Attempt to use the OS's certificate bundle if certifi isn't available.
  * Infinite digest auth redirect fix
  * Multi-part file upload improvements
  * Fix decoding of invalid %encodings in URLs
  * If there is no content in a response don't throw an error the second time
    that content is attempted to be read.
  * Upload data on redirects.

- Update to 0.11.1:
  * POST redirects now break RFC to do what browsers do: Follow up with a GET.
  * New strict_mode configuration to disable new redirect behavior.
- 0.11.0 (2012-03-14)
  * Private SSL Certificate support
  * Remove select.poll from Gevent monkeypatching
  * Remove redundant generator for chunked transfer encoding
  * Fix: Response.ok raises Timeout Exception in safe_mode

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=15
2012-04-27 23:00:17 +00:00
Stephan Kulow
8bf7694752 Accepting request 108727 from devel:languages:python
Useful Python lib

OBS-URL: https://build.opensuse.org/request/show/108727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=1
2012-03-16 12:23:31 +00:00
Stephan Kulow
09ef7cfd90 Accepting request 108727 from devel:languages:python
Useful Python lib

OBS-URL: https://build.opensuse.org/request/show/108727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=1
2012-03-16 12:23:31 +00:00
Sascha Peilicke
4b20899564 - Update to version 0.10.8:
* Generate chunked ValueError fix
  * Proxy configuration by environment variables
  * Simplification of iter_lines.
  * New trust_env configuration for disabling system/environment hints.
  * Suppress cookie errors.
- Changes from version 0.10.7:
  * encode_uri = False

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=13
2012-03-10 14:11:56 +00:00
James Oakley
1659b68287 - Update to 0.10.6
* Allow '=' in cookies.
- 0.10.5 (2012-02-25)
  * Response body with 0 content-length fix.
  * New async.imap.
  * Don't fail on netrc.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=12
2012-02-28 18:08:31 +00:00
James Oakley
29dd64446b - Update to 0.10.4
* Honor netrc.
- 0.10.3 (2012-02-20)
  * HEAD requests don't follow redirects anymore.
  * raise_for_status() doesn't raise for 3xx anymore.
  * Make Session objects picklable.
  * ValueError for invalid schema URLs.
- 0.10.2 (2012-01-15)
  * Vastly improved URL quoting.
  * Additional allowed cookie key values.
  * Attempted fix for "Too many open files" Error
  * Replace unicode errors on first pass, no need for second pass.
  * Append '/' to bare-domain urls before query insertion.
  * Exceptions now inherit from RuntimeError.
  * Binary uploads + auth fix.
  * Bugfixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=11
2012-02-21 19:54:20 +00:00
Sascha Peilicke
c90ecc70f2 - Add dependency on python-certifi
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=10
2012-02-06 13:42:06 +00:00
James Oakley
1886891bd0 - Update to 0.10.1:
* PYTHON 3 SUPPORT!
  * Dropped 2.5 Support. (Backwards Incompatible)
- 0.10.0 (2012-01-21)
  * Response.content is now bytes-only. (Backwards Incompatible)
  * New Response.text is unicode-only.
  * If no Response.encoding is specified and chardet is available,
    Respoonse.text will guess an encoding.
  * Default to ISO-8859-1 (Western) encoding for "text" subtypes.
  * Removal of decode_unicode. (Backwards Incompatible)
  * New multiple-hooks system.
  * New Response.register_hook for registering hooks within the pipeline.
  * Response.url is now Unicode.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=9
2012-01-24 21:33:51 +00:00
James Oakley
0db2133fa6 - Update to 0.9.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=8
2012-01-19 19:35:27 +00:00
James Oakley
7d8c2904ed - Update to 0.9.1:
* danger_mode for automatic Response.raise_for_status()
  * Response.iter_lines refator
- 0.9.0 (2011-12-28)
  * verify ssl is default.
- 0.8.9 (2011-12-28)
  * Packaging fix.
- 0.8.8 (2011-12-28)
  * SSL CERT VERIFICATION!
  * Release of Cerifi: Mozilla's cert list.
  * New 'verify' argument for SSL requests.
  * Urllib3 update.
- 0.8.7 (2011-12-24)
  * iter_lines last-line truncation fix
  * Force safe_mode for async requests
  * Handle safe_mode exceptions more consistently
  * Fix iteration on null responses in safe_mode
- 0.8.6 (2011-12-18)
  * Socket timeout fixes.
  * Proxy Authorization support.
- 0.8.5 (2011-12-14)
  * Response.iter_lines!

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=7
2012-01-12 22:10:51 +00:00
James Oakley
f670edaca7 - Update to 0.8.4:
* Prefetch bugfix.
  * Added license to installed version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=6
2011-12-11 20:46:28 +00:00
James Oakley
110c44f0c5 - Update to 0.8.3
* Converted auth system to use simpler callable objects.
  * New session parameter to API methods.
  * Display full URL while logging.
-+-This line, and those below, will be ignored--

M    python-requests.changes
M    python-requests.spec
D    requests-0.8.2.tar.gz
A    requests-0.8.3.tar.gz

Diff for working copy: .
Index: python-requests.changes
===================================================================

--- python-requests.changes	(revision 4)
+++ python-requests.changes	(working copy)
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Sun Nov 27 20:38:47 UTC 2011 - jfunk@funktronics.ca
+
+- Update to 0.8.3
+  * Converted auth system to use simpler callable objects.
+  * New session parameter to API methods.
+  * Display full URL while logging.
+
 -------------------------------------------------------------------
 Sun Nov 27 08:54:32 UTC 2011 - jfunk@funktronics.ca
 

Index: python-requests.spec
===================================================================

--- python-requests.spec	(revision 4)
+++ python-requests.spec	(working copy)
@@ -18,7 +18,7 @@
 
 
 Name:           python-requests
-Version:        0.8.2
+Version:        0.8.3
 Release:        0
 Url:            http://python-requests.org
 Summary:        Awesome Python HTTP Library That's Actually Usable

Index: requests-0.8.3.tar.gz
===================================================================
Binary file 'requests-0.8.3.tar.gz' added.

Index: requests-0.8.2.tar.gz
===================================================================
Binary file 'requests-0.8.2.tar.gz' deleted.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=5
2011-11-27 20:41:00 +00:00
James Oakley
823cb173b7 - Update to 0.8.2
* New unicode decoding system, based on overridable Response.encoding.
  * Proper URL slash-quote handling.
  * Cookies with [, ], and _ allowed.
- 0.8.1 (2011-11-15)
  * URL Request path fix
  * Proxy fix.
  * Timeouts fix.
- 0.8.0 (2011-11-13)
  * Keep-alive support!
  * Complete removal of Urllib2
  * Complete removal of Poster
  * Complete removal of CookieJars
  * New ConnectionError raising
  * Safe_mode for error catching
  * prefetch parameter for request methods
  * OPTION method
  * Async pool size throttling
  * File uploads send real names
- 0.7.6 (2011-11-07)
  * Digest authentication bugfix (attach query data to path)
- 0.7.5 (2011-11-04)
  * Response.content = None if there was an invalid repsonse.
  * Redirection auth handling.
- 0.7.4 (2011-10-26)
  * Sesion Hooks fix.
- 0.7.3 (2011-10-23)
  * Digest Auth fix.
- 0.7.2 (2011-10-23)
  * PATCH Fix.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=4
2011-11-27 09:11:09 +00:00
Sascha Peilicke
0961e4026c - Update to version 0.6.1:
* Enhanced status codes experience ``\o/``
  * Set a maximum number of redirects (``settings.max_redirects``)
  * Full Unicode URL support
  * Support for protocol-less redirects.
  * Allow for arbitrary request types.
  * Bugfixes
- Changes from version 0.6.0:
  * New callback hook system
  * New persistient sessions object and context manager
  * Transparent Dict-cookie handling
  * Status code reference object
  * Removed Response.cached
  * Added Response.request
  * All args are kwargs
  * Relative redirect support
  * HTTPError handling improvements
  * Improved https testing
  * Bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=3
2011-09-23 12:10:26 +00:00
James Oakley
64bbcb2498 - Update to 0.5.0
- PATCH Support
  - Support for Proxies
  - HTTPBin Test Suite
  - Redirect Fixes
  - settings.verbose stream writing
  - Querystrings for all methods
  - URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as
    explicity raised r.requests.get('hwe://blah'); r.raise_for_status()
- 0.4.1 (2011-05-22)
  - Improved Redirection Handling
  - New 'allow_redirects' param for following non-GET/HEAD Redirects
  - Settings module refactoring

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=2
2011-06-22 17:32:41 +00:00
James Oakley
ee69af0100 - Initial release
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=1
2011-05-20 19:15:11 +00:00
3 changed files with 146 additions and 4 deletions

View File

@ -0,0 +1,126 @@
From 2769cb607d4e696e2fe70802d4246ccc5abd64a8 Mon Sep 17 00:00:00 2001
From: Nate Prewitt <nate.prewitt@gmail.com>
Date: Wed, 29 May 2024 12:48:48 -0700
Subject: [PATCH 1/3] Consider cert settings when using default context
---
src/requests/adapters.py | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/src/requests/adapters.py b/src/requests/adapters.py
index 9a58b16025..991b7e21c9 100644
--- a/src/requests/adapters.py
+++ b/src/requests/adapters.py
@@ -87,6 +87,23 @@ def SOCKSProxyManager(*args, **kwargs):
_preloaded_ssl_context = None
+def _should_use_default_context(
+ verify: "bool | str | None",
+ client_cert: "typing.Tuple[str, str] | str | None",
+ poolmanager_kwargs: typing.Dict[str, typing.Any],
+) -> bool:
+ # Determine if we have and should use our default SSLContext
+ # to optimize performance on standard requests.
+ has_poolmanager_ssl_context = poolmanager_kwargs.get("ssl_context")
+ should_use_default_ssl_context = (
+ verify is True
+ and _preloaded_ssl_context is not None
+ and not has_poolmanager_ssl_context
+ and client_cert is None
+ )
+ return should_use_default_ssl_context
+
+
def _urllib3_request_context(
request: "PreparedRequest",
verify: "bool | str | None",
@@ -98,19 +115,12 @@ def _urllib3_request_context(
parsed_request_url = urlparse(request.url)
scheme = parsed_request_url.scheme.lower()
port = parsed_request_url.port
-
- # Determine if we have and should use our default SSLContext
- # to optimize performance on standard requests.
poolmanager_kwargs = getattr(poolmanager, "connection_pool_kw", {})
- has_poolmanager_ssl_context = poolmanager_kwargs.get("ssl_context")
- should_use_default_ssl_context = (
- _preloaded_ssl_context is not None and not has_poolmanager_ssl_context
- )
cert_reqs = "CERT_REQUIRED"
if verify is False:
cert_reqs = "CERT_NONE"
- elif verify is True and should_use_default_ssl_context:
+ elif _should_use_default_context(verify, client_cert, poolmanager_kwargs):
pool_kwargs["ssl_context"] = _preloaded_ssl_context
elif isinstance(verify, str):
if not os.path.isdir(verify):
From e341df3efa0323072fab5d16307e2a20295675b9 Mon Sep 17 00:00:00 2001
From: Nate Prewitt <nate.prewitt@gmail.com>
Date: Fri, 31 May 2024 11:41:48 -0700
Subject: [PATCH 2/3] Set default ca_cert bundle if verify is True
---
src/requests/adapters.py | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/requests/adapters.py b/src/requests/adapters.py
index 991b7e21c9..ba5a0ec4f0 100644
--- a/src/requests/adapters.py
+++ b/src/requests/adapters.py
@@ -118,15 +118,23 @@ def _urllib3_request_context(
poolmanager_kwargs = getattr(poolmanager, "connection_pool_kw", {})
cert_reqs = "CERT_REQUIRED"
+ cert_loc = None
if verify is False:
cert_reqs = "CERT_NONE"
elif _should_use_default_context(verify, client_cert, poolmanager_kwargs):
pool_kwargs["ssl_context"] = _preloaded_ssl_context
+ elif verify is True:
+ # Set default ca cert location if none provided
+ cert_loc = extract_zipped_paths(DEFAULT_CA_BUNDLE_PATH)
elif isinstance(verify, str):
- if not os.path.isdir(verify):
- pool_kwargs["ca_certs"] = verify
+ cert_loc = verify
+
+ if cert_loc is not None:
+ if not os.path.isdir(cert_loc):
+ pool_kwargs["ca_certs"] = cert_loc
else:
- pool_kwargs["ca_cert_dir"] = verify
+ pool_kwargs["ca_cert_dir"] = cert_loc
+
pool_kwargs["cert_reqs"] = cert_reqs
if client_cert is not None:
if isinstance(client_cert, tuple) and len(client_cert) == 2:
From da96a92e2eb6dfe7c74704267bcb8f9fd6fb92b0 Mon Sep 17 00:00:00 2001
From: Nate Prewitt <nate.prewitt@gmail.com>
Date: Fri, 31 May 2024 12:20:11 -0700
Subject: [PATCH 3/3] Correct comment to match actual behavior
---
src/requests/adapters.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/requests/adapters.py b/src/requests/adapters.py
index ba5a0ec4f0..54143f9e6b 100644
--- a/src/requests/adapters.py
+++ b/src/requests/adapters.py
@@ -334,10 +334,8 @@ def cert_verify(self, conn, url, verify, cert):
if url.lower().startswith("https") and verify:
conn.cert_reqs = "CERT_REQUIRED"
- # Only load the CA certificates if 'verify' is a string indicating the CA bundle to use.
- # Otherwise, if verify is a boolean, we don't load anything since
- # the connection will be using a context with the default certificates already loaded,
- # and this avoids a call to the slow load_verify_locations()
+ # Only load the CA certificates if `verify` is a
+ # string indicating the CA bundle to use.
if verify is not True:
# `verify` must be a str with a path then
cert_loc = verify

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Oct 24 07:48:08 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Oct 17 06:30:14 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch inject-default-ca-bundles.patch:
* Inject the default CA bundles if they are not specified.
(bsc#1226321, bsc#1231500)
-------------------------------------------------------------------
Thu Aug 29 03:17:43 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -32,8 +32,12 @@ Summary: Python HTTP Library
License: Apache-2.0
URL: https://docs.python-requests.org/
Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#psf/requests#6731
Patch0: inject-default-ca-bundles.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
@ -93,11 +97,11 @@ Features of Requests:
sed -i "s#\(httpbin.*\), 'never'#\1#" tests/test_requests.py
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
# check that urllib3 is not installed
test ! -e %{buildroot}%{python3_sitelib}/requests/packages/urllib3
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -117,8 +121,8 @@ touch Pipfile
%files %{python_files}
%license LICENSE
%doc HISTORY.md README.md
%{python_sitelib}/requests/
%{python_sitelib}/requests-*
%{python_sitelib}/requests
%{python_sitelib}/requests-%{version}.dist-info
%endif
%changelog