Commit Graph

208 Commits

Author SHA256 Message Date
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