Limit urllib3 to < 2 for test extra
authorHarmon <Harmon758@gmail.com>
Fri, 23 Jun 2023 22:05:35 +0000 (17:05 -0500)
committerHarmon <Harmon758@gmail.com>
Fri, 23 Jun 2023 22:10:49 +0000 (17:10 -0500)
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

index 180cbade651e0721acc060049359b81013836dba..50548a312191f507220f86219b4acd62d3f2cfeb 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,10 @@ setup(
             "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",