- update to 2.32.0.20240914:

* Correct requests `cookies` argument
  * requests: Session.adapters is a mapping of Adapters
  * Add hint for requests.models.Response.raw
  * requests: Add connection property (type HTTPAdapter) to the
    Response class
  * The `Response` instance is built by `HTTPAdapter`. When
    built, a property called `connection` is added to the
    `Response` that points back to the `HTTPAdapter` that created
    it. For example, this is used in the `requests` library's
    `HTTPDigestAuth` class to remake requests with credentials
    after authorization is requested by a server.
  * requests: Fix Response.content return type to include None
  * [requests] Update to 2.32.3
- Initial package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-types-requests?expand=0&rev=3
This commit is contained in:
2024-09-23 08:47:28 +00:00
committed by Git OBS Bridge
parent a8374c7946
commit 1d9d3e54a9
4 changed files with 25 additions and 6 deletions

View File

@@ -15,9 +15,10 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-types-requests
Version: 2.32.0.20240523
Version: 2.32.0.20240914
Release: 0
Summary: Typing stubs for requests
License: Apache-2.0
@@ -25,10 +26,10 @@ Group: Development/Languages/Python
URL: https://github.com/python/typeshed
Source: https://files.pythonhosted.org/packages/source/t/types-requests/types-requests-%{version}.tar.gz
Source99: python-types-requests.rpmlintrc
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module urllib3 >= 2}
BuildRequires: %{python_module mypy}