Commit Graph

224 Commits

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