Demo from amd64 to show that this affects all platforms. ================================================================== FAILURES =================================================================== _____________________________________________________ TestSocks5Proxy.test_socket_timeout _____________________________________________________ [gw6] linux -- Python 3.11.7 /var/tmp/portage/dev-python/urllib3-2.2.1/work/urllib3-2.2.1-python3_11/install/usr/bin/python3.11 self = <test.contrib.test_socks.TestSocks5Proxy object at 0x71b92f38af10> create_connection = <MagicMock name='create_connection' id='125040177031568'> @patch("socks.create_connection") def test_socket_timeout(self, create_connection: Mock) -> None: create_connection.side_effect = SocketTimeout() > proxy_url = f"socks5h://{self.host}:{self.port}" E AttributeError: 'TestSocks5Proxy' object has no attribute 'port' create_connection = <MagicMock name='create_connection' id='125040177031568'> self = <test.contrib.test_socks.TestSocks5Proxy object at 0x71b92f38af10> test/contrib/test_socks.py:369: AttributeError Reproducible: Always
Created attachment 885555 [details] build.log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32fed0564892da1baa43b6fa1ccabd382c1e2f3 commit d32fed0564892da1baa43b6fa1ccabd382c1e2f3 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-03-07 15:58:14 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-03-07 15:59:20 +0000 dev-python/urllib3: Deselect failing test Closes: https://bugs.gentoo.org/925112 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/urllib3/urllib3-2.2.1.ebuild | 2 ++ 1 file changed, 2 insertions(+)