Restrict requests and requests_oauthlib major version requirements
authorHarmon <Harmon758@gmail.com>
Thu, 21 Jan 2021 10:28:00 +0000 (04:28 -0600)
committerHarmon <Harmon758@gmail.com>
Thu, 21 Jan 2021 10:28:00 +0000 (04:28 -0600)
setup.py

index 0f73839a85793f9e43c942b438587c78bfa19131..629438edbf631db2423e52deb36f6855855660ec 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -40,8 +40,8 @@ setup(
     download_url="https://pypi.org/project/tweepy/",
     packages=find_packages(exclude=["tests", "examples"]),
     install_requires=[
-        "requests[socks]>=2.11.1",
-        "requests_oauthlib>=1.0.0",
+        "requests[socks]>=2.11.1,<3",
+        "requests_oauthlib>=1.0.0,<2",
     ],
     tests_require=tests_require,
     extras_require={