From: Harmon <Harmon758@gmail.com> Date: Wed, 6 Apr 2022 01:22:44 +0000 (-0500) Subject: Remove tests_require from setup.py X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2870031844dfc28919763d5c05c1d1bc6db8f4f1;p=tweepy.git Remove tests_require from setup.py setup.py test has been deprecated with https://github.com/pypa/setuptools/issues/1684 and https://github.com/pypa/setuptools/pull/1878 since setuptools v41.5.0 --- diff --git a/setup.py b/setup.py index 278f278..dbf324c 100644 --- a/setup.py +++ b/setup.py @@ -16,10 +16,6 @@ else: with open("README.md") as readme_file: long_description = readme_file.read() -tests_require = [ - "vcrpy>=1.10.3", -] - setup( name="tweepy", version=version, @@ -42,7 +38,6 @@ setup( "requests>=2.27.0,<3", "requests-oauthlib>=1.2.0,<2", ], - tests_require=tests_require, extras_require={ "async": ["aiohttp>=3.7.3,<4"], "dev": [ @@ -51,7 +46,7 @@ setup( "tox>=3.21.0", ], "socks": ["requests[socks]>=2.27.0,<3"], - "test": tests_require, + "test": ["vcrpy>=1.10.3"], }, test_suite="tests", keywords="twitter library",