Accepting request 1202563 from devel:languages:python

- 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/request/show/1202563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-types-requests?expand=0&rev=2
This commit is contained in:
2024-09-23 13:23:46 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 6 deletions

View File

@@ -1,4 +1,22 @@
-------------------------------------------------------------------
Mon Sep 23 08:46:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Wed Aug 28 20:37:09 UTC 2024 - Meera Belur <mbelur@suse.com>
- Initial package
- Initial package

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}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26b8a6de32d9f561192b9942b41c0ab2d8010df5677ca8aa146289d11d505f57
size 17376

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2850e178db3919d9bf809e434eef65ba49d0e7e33ac92d588f4a5e295fffd405
size 18030