diff --git a/python-requests.changes b/python-requests.changes index c6b7000..bfb616e 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Wed Jun 29 19:11:41 UTC 2022 - Michael Ströder + +- 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 diff --git a/python-requests.spec b/python-requests.spec index 4426850..f475859 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -26,7 +26,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests%{psuffix} -Version: 2.27.1 +Version: 2.28.1 Release: 0 Summary: Python HTTP Library License: Apache-2.0 diff --git a/requests-2.27.1.tar.gz b/requests-2.27.1.tar.gz deleted file mode 100644 index f316f0f..0000000 --- a/requests-2.27.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 -size 106758 diff --git a/requests-2.28.1.tar.gz b/requests-2.28.1.tar.gz new file mode 100644 index 0000000..32d6325 --- /dev/null +++ b/requests-2.28.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983 +size 109805 diff --git a/requests-no-hardcoded-version.patch b/requests-no-hardcoded-version.patch index cb56a93..e3e2075 100644 --- a/requests-no-hardcoded-version.patch +++ b/requests-no-hardcoded-version.patch @@ -1,13 +1,12 @@ -Index: requests-2.25.0/setup.py -=================================================================== ---- requests-2.25.0.orig/setup.py -+++ requests-2.25.0/setup.py -@@ -49,7 +49,7 @@ requires = [ - +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.28.1/setup.py 2022-06-29 21:15:48.428104387 +0200 +@@ -65,7 +65,7 @@ + "certifi>=2017.4.17", ] test_requirements = [ -- 'pytest-httpbin==0.0.7', -+ 'pytest-httpbin>=0.0.7', - 'pytest-cov', - 'pytest-mock', - 'pytest-xdist', +- "pytest-httpbin==0.0.7", ++ "pytest-httpbin>=0.0.7", + "pytest-cov", + "pytest-mock", + "pytest-xdist",