From 9799752179befd1c3a7f0c603cfff54e3b51677fc4270f0e6ddda0cff11ec084 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Sep 2023 20:42:01 +0000 Subject: [PATCH] =?UTF-8?q?-=20switch=20from=20unmaintained=20brotlipy=20t?= =?UTF-8?q?o=20Brotli=20(same=20as=20urllib3)=20-=20allow=20using=20newest?= =?UTF-8?q?=20version=20of=20charset-normalizer=20(3.0+)=20-=20Skip=20test?= =?UTF-8?q?=5Fpyopenssl=5Fredirect=20due=20to=20gh#psf/requests#5846=20-?= =?UTF-8?q?=20add=205711.patch=20from=20upstream=20instead=20to=20remove?= =?UTF-8?q?=20idna<3=20pin=20=20=20can=20install=20the=20new=20idna=20drop?= =?UTF-8?q?ping=20python2=20-=20refreshed=20requests-no-hardcoded-version.?= =?UTF-8?q?patch=20-=20Do=20not=20require=20full=20python,=20(implicit)=20?= =?UTF-8?q?python-base=20is=20sufficient.=20-=20Skip=20one=20more=20test?= =?UTF-8?q?=20that=20is=20flaky=20-=20-test=20subpackage=20must=20be=20emp?= =?UTF-8?q?ty=20=20=20*=20Only=20load=20the=20idna=20library=20when=20we?= =?UTF-8?q?=E2=80=99ve=20determined=20we=20need=20it.=20=20=20*=20Fixed=20?= =?UTF-8?q?an=20issue=20with=20JSON=20encoding=20detection,=20specifically?= =?UTF-8?q?=20detecting=20-=20Fixed=20requests-do-not-use-bundle.patch=20?= =?UTF-8?q?=20=20requests-do-not-use-bundle.patch=20-=20fix=20license=20(A?= =?UTF-8?q?pache-2.0=20only)=20=20=20-=20Now=20has=20a=20"security"=20pack?= =?UTF-8?q?age=20extras=20set,=20=20=20-=20Bugfix=20for=20responses=20that?= =?UTF-8?q?=20attempt=20to=20redirect=20to=20themselves=20=20=20=20=20-=20?= =?UTF-8?q?Support=20for=20connect=20timeouts!=20Timeout=20now=20accepts?= =?UTF-8?q?=20a=20tuple=20=20=20=20=20=20=20(connect,=20read)=20which=20is?= =?UTF-8?q?=20used=20to=20set=20individual=20connect=20and=20-=20update=20?= =?UTF-8?q?to=201.2.0:=20=20=20+=20charade:=20LGPL-2.1+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=180 --- python-requests.changes | 43 +++++++++++++++++++++++------------------ python-requests.spec | 2 +- 2 files changed, 25 insertions(+), 20 deletions(-) diff --git a/python-requests.changes b/python-requests.changes index c84e212..ed5faa3 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 11 20:41:40 UTC 2023 - Dirk Müller + +- switch from unmaintained brotlipy to Brotli (same as urllib3) + ------------------------------------------------------------------- Mon Jun 12 12:02:29 UTC 2023 - Daniel Garcia @@ -56,7 +61,7 @@ Sat Jan 21 10:01:11 UTC 2023 - Dirk Müller ------------------------------------------------------------------- Mon Oct 31 07:43:29 UTC 2022 - David Anes -- allow using newest version of charset-normalizer (3.0+) +- allow using newest version of charset-normalizer (3.0+) * requests-allow-charset-normalizer-3.patch ------------------------------------------------------------------- @@ -162,18 +167,18 @@ Tue Oct 26 21:08:01 UTC 2021 - Dirk Müller ------------------------------------------------------------------- Thu Jul 1 06:28:57 UTC 2021 - Steve Kowalik -- Skip test_pyopenssl_redirect due to gh#psf/requests#5846 +- Skip test_pyopenssl_redirect due to gh#psf/requests#5846 ------------------------------------------------------------------- Thu Feb 4 10:32:14 UTC 2021 - Dirk Müller -- add 5711.patch from upstream instead to remove idna<3 pin +- add 5711.patch from upstream instead to remove idna<3 pin ------------------------------------------------------------------- Wed Feb 3 14:04:52 UTC 2021 - Ben Greiner - Don't pin idna<3 in the egg-info so that depending packages - can install the new idna dropping python2 + can install the new idna dropping python2 ------------------------------------------------------------------- Sat Dec 19 09:57:04 UTC 2020 - Dirk Mueller @@ -211,7 +216,7 @@ Mon Feb 24 15:19:16 UTC 2020 - Ondřej Súkup - update to 2.23.0 - dropped merged_pr_5049.patch -- refreshed requests-no-hardcoded-version.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 @@ -220,7 +225,7 @@ Sat Dec 14 22:48:50 UTC 2019 - Stefan Brüns - 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. +- Do not require full python, (implicit) python-base is sufficient. ------------------------------------------------------------------- Fri Nov 1 07:57:29 UTC 2019 - John Vandenberg @@ -252,7 +257,7 @@ Tue Apr 23 10:45:08 UTC 2019 - Tomáš Chvátal ------------------------------------------------------------------- Mon Feb 25 15:45:08 UTC 2019 - Tomáš Chvátal -- Skip one more test that is flaky +- Skip one more test that is flaky ------------------------------------------------------------------- Fri Feb 15 11:41:05 UTC 2019 - Tomáš Chvátal @@ -317,7 +322,7 @@ Sat Oct 20 15:39:32 UTC 2018 - Arun Persaud ------------------------------------------------------------------- Thu Jul 19 10:27:24 UTC 2018 - mimi.vx@gmail.com -- -test subpackage must be empty +- -test subpackage must be empty ------------------------------------------------------------------- Mon Jul 16 00:09:54 UTC 2018 - mimi.vx@gmail.com @@ -523,13 +528,13 @@ Mon Mar 6 15:09:56 UTC 2017 - jweberhofer@weberhofer.at - fixed dependencies in spec - update to version 2.13.0 - * Only load the idna library when we’ve determined we need it. + * 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 + * Fixed an issue with JSON encoding detection, specifically detecting big-endian UTF-32 with BOM. ------------------------------------------------------------------- @@ -866,13 +871,13 @@ Fri Oct 9 19:11:09 UTC 2015 - sor.alexei@meowr.ru ------------------------------------------------------------------- Tue Oct 6 17:48:20 UTC 2015 - aloisio@gmx.com -- Fixed requests-do-not-use-bundle.patch +- Fixed requests-do-not-use-bundle.patch ------------------------------------------------------------------- Mon Oct 5 17:18:43 UTC 2015 - p.drouand@gmail.com - Unbundle python-chardet and python-urllib3 (boo#947357) - requests-do-not-use-bundle.patch + requests-do-not-use-bundle.patch ------------------------------------------------------------------- Mon Sep 14 07:48:30 UTC 2015 - tbechtold@suse.com @@ -1047,24 +1052,24 @@ Tue Feb 24 13:04:17 UTC 2015 - tbechtold@suse.com ------------------------------------------------------------------- Mon Dec 1 12:05:19 UTC 2014 - dmueller@suse.com -- fix license (Apache-2.0 only) +- fix license (Apache-2.0 only) ------------------------------------------------------------------- Thu Sep 11 12:34:42 UTC 2014 - toddrme2178@gmail.com - Update to 2.4.1 (2014-09-09) - - Now has a "security" package extras set, + - Now has a "security" package extras set, ``$ pip install requests[security]`` - Requests will now use Certifi if it is available. - Capture and re-raise urllib3 ProtocolError - - Bugfix for responses that attempt to redirect to themselves + - Bugfix for responses that attempt to redirect to themselves forever (wtf?). - Update to 2.4.0 (2014-08-29) * Behavioral Changes - ``Connection: keep-alive`` header is now sent automatically. * Improvements - - Support for connect timeouts! Timeout now accepts a tuple - (connect, read) which is used to set individual connect and + - Support for connect timeouts! Timeout now accepts a tuple + (connect, read) which is used to set individual connect and read timeouts. - Allow copying of PreparedRequests without headers/cookies. - Updated bundled urllib3 version. @@ -1219,7 +1224,7 @@ Mon May 27 10:36:36 UTC 2013 - dmueller@suse.com ------------------------------------------------------------------- Mon May 13 08:57:09 UTC 2013 - dmueller@suse.com -- update to 1.2.0: +- 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 @@ -1248,7 +1253,7 @@ Fri Jan 18 08:31:22 UTC 2013 - saschpe@suse.de - 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+ + + charade: LGPL-2.1+ + urllib3: MIT ------------------------------------------------------------------- diff --git a/python-requests.spec b/python-requests.spec index 5a3f87e..15a42a6 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -56,8 +56,8 @@ Recommends: python-cryptography >= 1.3.4 Recommends: python-pyOpenSSL >= 0.14 %endif %if %{with test} +BuildRequires: %{python_module Brotli} BuildRequires: %{python_module PySocks >= 1.5.6} -BuildRequires: %{python_module brotlipy} BuildRequires: %{python_module charset-normalizer >= 2.0.0} BuildRequires: %{python_module idna >= 2.5} BuildRequires: %{python_module pytest-httpbin >= 0.0.7}