diff --git a/setup.cfg b/setup.cfg index 68d042ecfc4b8..eb687c1f546d4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -57,6 +57,7 @@ split_penalty_after_opening_bracket = 1000000 split_penalty_logical_operator = 30 [tool:pytest] +# sync minversion with setup.cfg & install.rst minversion = 4.0.2 testpaths = pandas markers = diff --git a/setup.py b/setup.py index 389e8553eb3a3..0380c717ecb41 100755 --- a/setup.py +++ b/setup.py @@ -784,4 +784,12 @@ def srcpath(name=None, suffix='.pyx', subdir='src'): classifiers=CLASSIFIERS, platforms='any', python_requires='>=3.5', + extras_require={ + 'test': [ + # sync with setup.cfg minversion & install.rst + 'pytest>=4.0.2', + 'pytest-xdist', + 'hypothesis>=3.58', + ] + }, **setuptools_kwargs)