Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-requests for openSUSE:Factory
checked in at 2026-05-21 18:25:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests (Old)
and /work/SRC/openSUSE:Factory/.python-requests.new.2084 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests"
Thu May 21 18:25:27 2026 rev:94 rq:1354099 version:2.34.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes
2026-04-16 17:25:50.500645793 +0200
+++
/work/SRC/openSUSE:Factory/.python-requests.new.2084/python-requests.changes
2026-05-21 18:25:52.030933435 +0200
@@ -1,0 +2,36 @@
+Tue May 19 20:47:25 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.34.2:
+ * Moved `headers` input type back to `Mapping` to avoid
+ invariance issues with `MutableMapping` and inferred dict types.
+ Users calling `Request.headers.update()` may need to narrow
+ typing in their code.
+ * Widened `json` input type from `dict` and `list` to `Mapping`
+ * and `Sequence`.
+ * Changed `headers` input type to MutableMapping and removed
+ `None` from `Request.headers` typing to improve handling for
+ users.
+ * `Response.reason` moved from `str | None` to `str` to improve
+ handling for users.
+ * Fixed a bug where some bodies with custom `__getattr__`
+ implementations weren't being properly detected as Iterables.
+ * Requests 2.34.0 introduces inline types, replacing those
+ provided by typeshed. Public API types should be fully
+ compatible with mypy, pyright, and ty. We believe types are
+ comprehensive but if you find issues, please report them to the
+ pinned tracking issue.
+ * Digest Auth hashing algorithms have added
+ `usedforsecurity=False` to clarify security considerations.
+ * Requests added support for Python 3.15 based on beta1.
+ * Requests added support for Python 3.14t.
+ * ``Response.history`` no longer contains a reference to
+ itself, preventing accidental looping when traversing the
+ history list.
+ * Requests no longer performs greedy matching on no_proxy
+ domains. The proxy_bypass implementation has been updated with
+ CPython's fix from bpo-39057.
+ * Requests no longer incorrectly strips duplicate leading
+ slashes in URI paths. This should address user issues with
+ specific presigned URLs. Note the full fix requires urllib3 2.7.0+.
+
+-------------------------------------------------------------------
Old:
----
requests-2.33.1.tar.gz
New:
----
requests-2.34.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests.spec ++++++
--- /var/tmp/diff_new_pack.mv6ETI/_old 2026-05-21 18:25:52.974972208 +0200
+++ /var/tmp/diff_new_pack.mv6ETI/_new 2026-05-21 18:25:52.974972208 +0200
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-requests%{psuffix}
-Version: 2.33.1
+Version: 2.34.2
Release: 0
Summary: Python HTTP Library
License: Apache-2.0
@@ -34,18 +34,18 @@
Source:
https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fix-chardet-RequestsDependencyWarning.patch
[email protected] -- based on PR 7239
Patch0: fix-chardet-RequestsDependencyWarning.patch
-BuildRequires: %{python_module base >= 3.9}
+BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools >= 61.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
Requires: python
-Requires: python-certifi >= 2017.4.17
+Requires: python-certifi >= 2023.5.7
Requires: python-charset-normalizer >= 2.0.0
Requires: python-idna >= 2.5
-Requires: python-urllib3 >= 1.21.1
+Requires: python-urllib3 >= 1.26
BuildArch: noarch
%if 0%{?_no_weakdeps}
Requires: ca-certificates-mozilla
@@ -63,7 +63,7 @@
BuildRequires: %{python_module PySocks >= 1.5.6}
BuildRequires: %{python_module charset-normalizer >= 2.0.0}
BuildRequires: %{python_module idna >= 2.5}
-BuildRequires: %{python_module pytest-httpbin >= 0.0.7}
+BuildRequires: %{python_module pytest-httpbin >= 2.1.0}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= %{version}}
@@ -119,7 +119,7 @@
%if !%{with test}
%files %{python_files}
-%license LICENSE
+%license LICENSE NOTICE
%doc HISTORY.md README.md
%{python_sitelib}/requests
%{python_sitelib}/requests-%{version}.dist-info
++++++ fix-chardet-RequestsDependencyWarning.patch ++++++
--- /var/tmp/diff_new_pack.mv6ETI/_old 2026-05-21 18:25:53.030974508 +0200
+++ /var/tmp/diff_new_pack.mv6ETI/_new 2026-05-21 18:25:53.046975165 +0200
@@ -1,8 +1,6 @@
-Index: requests-2.33.1/src/requests/__init__.py
-===================================================================
---- requests-2.33.1.orig/src/requests/__init__.py
-+++ requests-2.33.1/src/requests/__init__.py
-@@ -42,6 +42,8 @@ import warnings
+--- a/src/requests/__init__.py
++++ b/src/requests/__init__.py
+@@ -44,6 +44,8 @@
import urllib3
@@ -11,7 +9,7 @@
from .exceptions import RequestsDependencyWarning
try:
-@@ -74,7 +76,7 @@ def check_compatibility(urllib3_version,
+@@ -80,7 +82,7 @@
# Check charset_normalizer for compatibility.
if chardet_version:
major, minor, patch = chardet_version.split(".")[:3]
++++++ requests-2.33.1.tar.gz -> requests-2.34.2.tar.gz ++++++
++++ 4724 lines of diff (skipped)