Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python312 for openSUSE:Factory checked in at 2026-07-02 20:06:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python312 (Old) and /work/SRC/openSUSE:Factory/.python312.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python312" Thu Jul 2 20:06:43 2026 rev:50 rq:1362410 version:3.12.13 Changes: -------- --- /work/SRC/openSUSE:Factory/python312/python312.changes 2026-06-22 18:05:14.012809865 +0200 +++ /work/SRC/openSUSE:Factory/.python312.new.1982/python312.changes 2026-07-02 20:07:48.213949367 +0200 @@ -1,0 +2,7 @@ +Mon Jun 29 06:34:56 UTC 2026 - Jiri Slaby <[email protected]> + +- Add test_UDPLITE_support.patch which improves testing for the + support of IPPROTO_UDPLITE, which could be not present although + header files are (bsc#1268375). + +------------------------------------------------------------------- New: ---- test_UDPLITE_support.patch ----------(New B)---------- New: - Add test_UDPLITE_support.patch which improves testing for the support of IPPROTO_UDPLITE, which could be not present although ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python312.spec ++++++ --- /var/tmp/diff_new_pack.wzwBY4/_old 2026-07-02 20:07:49.958009648 +0200 +++ /var/tmp/diff_new_pack.wzwBY4/_new 2026-07-02 20:07:49.962009786 +0200 @@ -197,6 +197,9 @@ # PATCH-FIX-UPSTREAM CVE-2025-15366-imap-ctrl-chars.patch bsc#1257044 [email protected] # Reject control characters in wsgiref.headers.Headers Patch56: CVE-2025-15366-imap-ctrl-chars.patch +# PATCH-FIX-OPENSUSE test_UDPLITE_support.patch bsc#1268375 [email protected] +# improve testing of the presence of IPPROTO_UDPLITE support +Patch57: test_UDPLITE_support.patch # PATCH-FIX-UPSTREAM CVE-2025-15367-poplib-ctrl-chars.patch bsc#1257041 [email protected] # Reject control characters in poplib Patch58: CVE-2025-15367-poplib-ctrl-chars.patch ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.wzwBY4/_old 2026-07-02 20:07:50.346023059 +0200 +++ /var/tmp/diff_new_pack.wzwBY4/_new 2026-07-02 20:07:50.366023750 +0200 @@ -1,6 +1,6 @@ -mtime: 1778684246 -commit: b0a8df4a45a4e47b801dddcbfef058b41ae370d7dd207ff0ac5e9e558c9b746a +mtime: 1782731285 +commit: 73df3475a766625be6b1895e2c6390867a4cc128f3291020fa0fa0a87be4fe99 url: https://src.opensuse.org/python-interpreters/python312 -revision: b0a8df4a45a4e47b801dddcbfef058b41ae370d7dd207ff0ac5e9e558c9b746a +revision: 73df3475a766625be6b1895e2c6390867a4cc128f3291020fa0fa0a87be4fe99 projectscmsync: https://src.opensuse.org/python-interpreters/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-06-29 13:08:05.000000000 +0200 @@ -0,0 +1,6 @@ +_build.* +*.obscpio +*.osc +.osc +.pbuild +python312-3.12.*-build ++++++ test_UDPLITE_support.patch ++++++ --- Lib/test/test_socket.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -133,6 +133,22 @@ def _have_socket_vsock(): return (cid is not None) +def _have_socket_udplite(): + """Check whether UDPLITE sockets are supported on this host.""" + if not hasattr(socket, "IPPROTO_UDPLITE"): + return False + # Older Android versions block UDPLITE with SELinux. + if support.is_android and platform.android_ver().api_level < 29: + return False + try: + s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDPLITE) + except (AttributeError, OSError): + return False + else: + s.close() + return True + + def _have_socket_bluetooth(): """Check whether AF_BLUETOOTH sockets are supported on this host.""" try: @@ -181,7 +197,7 @@ HAVE_SOCKET_QIPCRTR = _have_socket_qipcr HAVE_SOCKET_VSOCK = _have_socket_vsock() -HAVE_SOCKET_UDPLITE = hasattr(socket, "IPPROTO_UDPLITE") +HAVE_SOCKET_UDPLITE = _have_socket_udplite() HAVE_SOCKET_BLUETOOTH = _have_socket_bluetooth()
