From 066305d9344b4361a1044126d2d0d06301aa6eea Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 23 Jun 2023 17:05:35 -0500 Subject: [PATCH] Limit urllib3 to < 2 for test extra This is necessary for tests to pass, until there is a new vcrpy release, with https://github.com/kevin1024/vcrpy/pull/723, to fix https://github.com/kevin1024/vcrpy/issues/719. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 180cbade6..50548a312 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,10 @@ "tox>=3.21.0", ], "socks": ["requests[socks]>=2.27.0,<3"], - "test": ["vcrpy>=1.10.3"], + "test": [ + "urllib3<2", # https://github.com/kevin1024/vcrpy/issues/719 + "vcrpy>=1.10.3", + ], }, test_suite="tests", keywords="twitter library",