From f01d732f44dd0bf84970e6b68fd8b527e1eb1115 Mon Sep 17 00:00:00 2001 From: Elsa Ferrara Date: Fri, 3 Jan 2025 11:46:19 +0100 Subject: [PATCH] Fix e3-core tests Set urllib to 2.2.3 version as the new version 2.3.0 breaks httpretty see https://github.com/gabrielfalcao/HTTPretty/issues/484 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 830f779f..c9558383 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,6 +56,8 @@ test = [ "pytest-socket", "ansi2html", "httpretty", + # set to 2.2.3 because urllib3>=2.3.0 breaks httpretty (https://github.com/gabrielfalcao/HTTPretty/issues/484) + "urllib3==2.2.3", "ptyprocess; sys_platform!='win32'", "requests-mock" ]