According to python/cpython#136881, there is a change in the OpenSSL point releases from July 1, including 3.0.17 LTS, that breaks a test case on Python 3.12. There's a fix in Python 3.13, but it will ...
There appears to be an issue either in the asyncio SSL code when upgrading a connection with start_tls or in the function _ssl__SSLSocket_read_impl, starting from OpenSSL 3.2. The following code works ...