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
This commit is contained in:
commit
a04c904009
@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 19:11:41 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
- rebased requests-no-hardcoded-version.patch
|
||||||
|
- update to 2.28.1
|
||||||
|
* 2.28.1 (2022-06-29)
|
||||||
|
- Improvements
|
||||||
|
+ Speed optimization in iter_content with transition to yield from. (#6170)
|
||||||
|
- Dependencies
|
||||||
|
+ Added support for chardet 5.0.0 (#6179)
|
||||||
|
+ Added support for charset-normalizer 2.1.0 (#6169)
|
||||||
|
* 2.28.0 (2022-06-09)
|
||||||
|
- Deprecations
|
||||||
|
+ warning Requests has officially dropped support for Python 2.7. warning (#6091)
|
||||||
|
+ Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
|
||||||
|
- Improvements
|
||||||
|
+ Wrap JSON parsing issues in Request's JSONDecodeError for payloads
|
||||||
|
without an encoding to make json() API consistent. (#6097)
|
||||||
|
+ Parse header components consistently, raising an InvalidHeader error in all invalid cases. (#6154)
|
||||||
|
+ Added provisional 3.11 support with current beta build. (#6155)
|
||||||
|
+ Requests got a makeover and we decided to paint it black. (#6095)
|
||||||
|
- Bugfixes
|
||||||
|
+ Fixed bug where setting CURL_CA_BUNDLE to an empty string would disable
|
||||||
|
cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
|
||||||
|
+ Fixed urllib3 exception leak, wrapping urllib3.exceptions.SSLError with
|
||||||
|
requests.exceptions.SSLError for content and iter_content. (#6057)
|
||||||
|
+ Fixed issue where invalid Windows registry entires caused proxy resolution
|
||||||
|
to raise an exception rather than ignoring the entry. (#6149)
|
||||||
|
+ Fixed issue where entire payload could be included in the error
|
||||||
|
message for JSONDecodeError. (#6036)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 5 17:09:11 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
Wed Jan 5 17:09:11 UTC 2022 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-requests%{psuffix}
|
Name: python-requests%{psuffix}
|
||||||
Version: 2.27.1
|
Version: 2.28.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python HTTP Library
|
Summary: Python HTTP Library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61
|
|
||||||
size 106758
|
|
3
requests-2.28.1.tar.gz
Normal file
3
requests-2.28.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983
|
||||||
|
size 109805
|
@ -1,13 +1,12 @@
|
|||||||
Index: requests-2.25.0/setup.py
|
diff -ur requests-2.28.1.orig/setup.py requests-2.28.1/setup.py
|
||||||
===================================================================
|
--- requests-2.28.1.orig/setup.py 2022-06-29 17:09:45.000000000 +0200
|
||||||
--- requests-2.25.0.orig/setup.py
|
+++ requests-2.28.1/setup.py 2022-06-29 21:15:48.428104387 +0200
|
||||||
+++ requests-2.25.0/setup.py
|
@@ -65,7 +65,7 @@
|
||||||
@@ -49,7 +49,7 @@ requires = [
|
"certifi>=2017.4.17",
|
||||||
|
|
||||||
]
|
]
|
||||||
test_requirements = [
|
test_requirements = [
|
||||||
- 'pytest-httpbin==0.0.7',
|
- "pytest-httpbin==0.0.7",
|
||||||
+ 'pytest-httpbin>=0.0.7',
|
+ "pytest-httpbin>=0.0.7",
|
||||||
'pytest-cov',
|
"pytest-cov",
|
||||||
'pytest-mock',
|
"pytest-mock",
|
||||||
'pytest-xdist',
|
"pytest-xdist",
|
||||||
|
Loading…
Reference in New Issue
Block a user