Uh oh!
There was an error while loading. Please reload this page.
[3.10] gh-149776: Skip UDP Lite tests if it's not supported (#149777) - #153594
[3.10] gh-149776: Skip UDP Lite tests if it's not supported (#149777)#153594vstinner wants to merge 2 commits into
Conversation
vstinner
commented
Jul 11, 2026
The Linux kernel of the "AMD64 Fedora Stable" buildbot was upgraded from 7.0 to 7.1, 3 days ago, so test_socket started to fail. The Linux kernel 7.1 removes the UDP Lite support. This PR backports a fix from the main branch. |
vstinner
commented
Jul 11, 2026
cc @hugovk |
(cherry picked from commit 106eb53)
vstinner
commented
Jul 11, 2026
Windows (x64): "Build" failed with: I tried to build Python 3.11 on my Windows 11 VM. The The program is downloaded by the following command from
It seems like the nuget download URL is outdated. The URL was updated... yesterday by commit 106eb53. I backported this change as well. |
macOS: Oh, test_ssl failed with issue gh-151504: ======================================================================
ERROR: test_load_verify_cadata (test.test_ssl.ContextTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 1509, in test_load_verify_cadata
ctx.load_verify_locations(cadata=cacert_der)
ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4040)
======================================================================
ERROR: test_connect_cadata (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 2152, in test_connect_cadata
ctx.load_verify_locations(cadata=der)
ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4040) |
Fix test_socket on Linux kernel 7.1 and newer: skip UDP Lite tests if it's not supported.
(cherry picked from commit 3cfc249)