From owner-freebsd-python@freebsd.org Sat Aug 15 22:21:01 2020 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98E353A888F for <freebsd-python@mailman.nyi.freebsd.org>; Sat, 15 Aug 2020 22:21:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BTZWx3cTDz4pNZ for <freebsd-python@freebsd.org>; Sat, 15 Aug 2020 22:21:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7BED53A87BC; Sat, 15 Aug 2020 22:21:01 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7BAE13A8162 for <python@mailman.nyi.freebsd.org>; Sat, 15 Aug 2020 22:21:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BTZWx2lpXz4pLq for <python@FreeBSD.org>; Sat, 15 Aug 2020 22:21:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 422A9261A9 for <python@FreeBSD.org>; Sat, 15 Aug 2020 22:21:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 07FML1uL060643 for <python@FreeBSD.org>; Sat, 15 Aug 2020 22:21:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07FML1uE060642 for python@FreeBSD.org; Sat, 15 Aug 2020 22:21:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 248676] net/py-urllib3: Update to 1.25.10 Date: Sat, 15 Aug 2020 22:21:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daniel.engberg.lists@pyret.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: <bug-248676-21822@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 15 Aug 2020 22:21:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248676 Bug ID: 248676 Summary: net/py-urllib3: Update to 1.25.10 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/urllib3/urllib3/blob/master/CHANGES .rst OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: daniel.engberg.lists@pyret.net Assignee: python@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) Created attachment 217245 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217245&action= =3Dedit Patch for urllib3 Update (py-)urllib3 to 1.25.10 Fix "make test" Tested on FreeBSD 13.0-CURRENT #0 r358620 (AMD64) (make test) Poudriere OK 12.1-RELEASE (AMD64) 1.25.7 (fixed make test) test/contrib/test_socks.py::TestSocks5Proxy::test_socks_with_invalid_passwo= rd FAILED test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPProxyManager::test= _cross_protocol_redirect FAILED =3D=3D=3D 2 failed, 1139 passed, 175 skipped, 1 deselected, 129 warnings in= 67.67 seconds =3D=3D=3D 1.25.10 test/contrib/test_socks.py::TestSocks5Proxy::test_socks_with_invalid_passwo= rd FAILED =3D=3D=3D 1 failed, 1159 passed, 195 skipped, 3 deselected, 47 warnings in = 36.02 seconds =3D=3D=3D Full log: ___ TestSocks5Proxy.test_socks_with_invalid_password ___ self =3D <test.contrib.test_socks.TestSocks5Proxy object at 0x8036f4210> def test_socks_with_invalid_password(self): def request_handler(listener): sock =3D listener.accept()[0] handler =3D handle_socks5_negotiation( sock, negotiate=3DTrue, username=3Db"user", password=3Db"pa= ss" ) next(handler) self._start_server(request_handler) proxy_url =3D "socks5h://%s:%s" % (self.host, self.port) with socks.SOCKSProxyManager( proxy_url, username=3D"user", password=3D"badpass" ) as pm: with pytest.raises(NewConnectionError) as e: pm.request("GET", "http://example.com", retries=3DFalse) > assert "SOCKS5 authentication failed" in str(e.value) E AssertionError: assert 'SOCKS5 authentication failed' in '<urllib3.contrib.socks.SOCKSConnection object at 0x80460a4d0>: Failed to establish a new connection: [Errno 61] Connection refused' E + where '<urllib3.contrib.socks.SOCKSConnection object at 0x80460a4d0>: Failed to establish a new connection: [Errno 61] Connection refused' =3D str(NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x80460a4d0>: Failed to establish a new connection: [Errno 61] Connection refused')) E + where NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x80460a4d0>: Failed to establish a new connection: [Errno 61] Connection refused') =3D <ExceptionInfo NewConnectionError tblen=3D16>.value test/contrib/test_socks.py:448: AssertionError --=20 You are receiving this mail because: You are the assignee for the bug.=