• Bug#1059651: pytest-httpbin: autopkgtest failure with Python 3.12

    From Graham Inggs@21:1/5 to All on Fri Dec 29 20:30:01 2023
    Source: pytest-httpbin
    Version: 2.0.0-1
    Severity: serious
    Tags: sid trixie
    User: debian-python@lists.debian.org
    Usertags: python3.12

    Hi Maintainer

    pytest-httpbin's autopkgtests fail with Python 3.12 [1]. I've copied
    what I hope is the relevant part of the log below.

    Regards
    Graham


    [1] https://ci.debian.net/packages/p/pytest-httpbin/testing/amd64/


    31s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:716:
    31s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    _ _ _ _ _ _ _
    31s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:405: in _make_request
    31s self._validate_conn(conn)
    31s /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1059: in _validate_conn
    31s conn.connect()
    31s /usr/lib/python3/dist-packages/urllib3/connection.py:419: in connect
    31s self.sock = ssl_wrap_socket(
    31s /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:453: in ssl_wrap_socket 31s ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
    31s /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:495: in _ssl_wrap_socket_impl
    31s return ssl_context.wrap_socket(sock)
    31s /usr/lib/python3.12/ssl.py:455: in wrap_socket
    31s return self.sslsocket_class._create(
    31s /usr/lib/python3.12/ssl.py:1046: in _create
    31s self.do_handshake()
    31s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    _ _ _ _ _ _ _
    31s
    31s self = <ssl.SSLSocket [closed] fd=-1, family=2, type=1, proto=6>,
    block = False
    31s
    31s @_sslcopydoc
    31s def do_handshake(self, block=False):
    31s self._check_connected()
    31s timeout = self.gettimeout()
    31s try:
    31s if timeout == 0.0 and block:
    31s self.settimeout(None)
    31s > self._sslobj.do_handshake()
    31s E ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF
    occurred in violation of protocol (_ssl.c:1000)
    31s
    31s /usr/lib/python3.12/ssl.py:1321: SSLEOFError

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Dec 31 09:30:01 2023
    This is a multi-part message in MIME format...

    Your message dated Sun, 31 Dec 2023 10:24:06 +0200
    with message-id <CAM8zJQu0U-tVa18RfGvAWJYdetZb0zRzVr_54Vy1vMpLOWHC3g@mail.gmail.com>
    and subject line pytest-httpbin: autopkgtest failure with Python 3.12
    has caused the Debian Bug report #1059651,
    regarding pytest-httpbin: autopkgtest failure with Python 3.12
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1059651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059651
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 29 Dec 2023 19:19:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-5.8 required=4.0 tests=BAYES_00,FROMDEVELOPER,
    RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 35; hammy, 150; neutral, 81; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--autopkgtest,
    0.000-+--trixie, 0.000-+--U*debian-python,
    0.000-+--debianpythonlistsdebianorg
    Return-path: <ginggs@debian.org>
    Received: from mx0.riseup.net ([198.252.153.6]:54004)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <ginggs@debian