Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-httpretty for
openSUSE:Factory checked in at 2026-04-10 17:53:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old)
and /work/SRC/openSUSE:Factory/.python-httpretty.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpretty"
Fri Apr 10 17:53:34 2026 rev:33 rq:1345722 version:1.1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes
2025-07-08 15:28:03.127769464 +0200
+++
/work/SRC/openSUSE:Factory/.python-httpretty.new.21863/python-httpretty.changes
2026-04-10 18:02:56.750443608 +0200
@@ -1,0 +2,6 @@
+Fri Apr 10 01:41:53 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-python-314.patch:
+ * Support functools.partial() Python 3.14 changes.
+
+-------------------------------------------------------------------
New:
----
support-python-314.patch
----------(New B)----------
New:
- Add patch support-python-314.patch:
* Support functools.partial() Python 3.14 changes.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-httpretty.spec ++++++
--- /var/tmp/diff_new_pack.4JlQ7k/_old 2026-04-10 18:02:57.438471987 +0200
+++ /var/tmp/diff_new_pack.4JlQ7k/_new 2026-04-10 18:02:57.438471987 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-httpretty
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -44,6 +44,8 @@
Patch5: 0001-Fix-test_417_openssl.py-if-pyOpenSSL-not-available.patch
# PATCH-FIX-UPSTREAM https://github.com/gabrielfalcao/HTTPretty/pull/485
Patch6: 0001-Mock-socket.shutdown-for-compatibility-with-urllib3-.patch
+# PATCH-FIX-UPSTREAM https://github.com/gabrielfalcao/HTTPretty/pull/488
+Patch7: support-python-314.patch
%if %{with boto3}
BuildRequires: %{python_module boto3}
%endif
++++++ support-python-314.patch ++++++
>From 8d10219036ab18462c0a8e35a5aae80e0d284c57 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Fri, 10 Apr 2026 11:36:31 +1000
Subject: [PATCH] Support Python 3.14 partial() changes
functools.partial() was changed in Python 3.14 to be a method
descriptor, which means we need to wrap it in staticmethod now. This
change does appear to be backward compatible, so I haven't guarded it
with a version check.
---
httpretty/core.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/httpretty/core.py b/httpretty/core.py
index 69686458..2cea6a89 100644
--- a/httpretty/core.py
+++ b/httpretty/core.py
@@ -1852,7 +1852,7 @@ def apply_patch_socket():
extract_into_urllib3()
if requests_urllib3_connection is not None:
- urllib3_wrap = partial(fake_wrap_socket, old_requests_ssl_wrap_socket)
+ urllib3_wrap = staticmethod(partial(fake_wrap_socket,
old_requests_ssl_wrap_socket))
requests_urllib3_connection.ssl_wrap_socket = urllib3_wrap
requests_urllib3_connection.__dict__['ssl_wrap_socket'] = urllib3_wrap
@@ -1867,12 +1867,12 @@ def apply_patch_socket():
socks.__dict__['socksocket'] = fakesock.socket
if ssl:
- new_wrap = partial(fake_wrap_socket, old_ssl_wrap_socket)
+ new_wrap = staticmethod(partial(fake_wrap_socket, old_ssl_wrap_socket))
ssl.wrap_socket = new_wrap
ssl.SSLSocket = FakeSSLSocket
ssl.SSLContext = old_sslcontext_class
try:
- ssl.SSLContext.wrap_socket = partial(fake_wrap_socket,
old_ssl_wrap_socket)
+ ssl.SSLContext.wrap_socket =
staticmethod(partial(fake_wrap_socket, old_ssl_wrap_socket))
except AttributeError:
pass