- switch from unmaintained brotlipy to Brotli (same as urllib3)

- allow using newest version of charset-normalizer (3.0+)
- Skip test_pyopenssl_redirect due to gh#psf/requests#5846
- add 5711.patch from upstream instead to remove idna<3 pin
  can install the new idna dropping python2
- refreshed requests-no-hardcoded-version.patch
- Do not require full python, (implicit) python-base is sufficient.
- Skip one more test that is flaky
- -test subpackage must be empty
  * Only load the idna library when we’ve determined we need it.
  * Fixed an issue with JSON encoding detection, specifically detecting
- Fixed requests-do-not-use-bundle.patch
  requests-do-not-use-bundle.patch
- fix license (Apache-2.0 only)
  - Now has a "security" package extras set,
  - Bugfix for responses that attempt to redirect to themselves
    - Support for connect timeouts! Timeout now accepts a tuple
      (connect, read) which is used to set individual connect and
- update to 1.2.0:
  + charade: LGPL-2.1+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=180
This commit is contained in:
Dirk Mueller 2023-09-11 20:42:01 +00:00 committed by Git OBS Bridge
parent 30031b76cd
commit 9799752179
2 changed files with 25 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 11 20:41:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
- switch from unmaintained brotlipy to Brotli (same as urllib3)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 12 12:02:29 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Mon Jun 12 12:02:29 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -56,8 +56,8 @@ Recommends: python-cryptography >= 1.3.4
Recommends: python-pyOpenSSL >= 0.14 Recommends: python-pyOpenSSL >= 0.14
%endif %endif
%if %{with test} %if %{with test}
BuildRequires: %{python_module Brotli}
BuildRequires: %{python_module PySocks >= 1.5.6} BuildRequires: %{python_module PySocks >= 1.5.6}
BuildRequires: %{python_module brotlipy}
BuildRequires: %{python_module charset-normalizer >= 2.0.0} BuildRequires: %{python_module charset-normalizer >= 2.0.0}
BuildRequires: %{python_module idna >= 2.5} BuildRequires: %{python_module idna >= 2.5}
BuildRequires: %{python_module pytest-httpbin >= 0.0.7} BuildRequires: %{python_module pytest-httpbin >= 0.0.7}