From 2ad6f377559d873c14427162fce2945d6a6480b0 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sat, 12 Jan 2019 14:23:37 -0500 Subject: [PATCH] RF: Move pytest and pytest-xdist from general requirement into tests_required --- nipype/info.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/nipype/info.py b/nipype/info.py index c6503ac753..5780b71e1d 100644 --- a/nipype/info.py +++ b/nipype/info.py @@ -147,8 +147,6 @@ def get_nipype_gitversion(): 'neurdflib', 'click>=%s' % CLICK_MIN_VERSION, 'funcsigs', - 'pytest>=%s' % PYTEST_MIN_VERSION, - 'pytest-xdist', 'mock', 'pydotplus', 'pydot>=%s' % PYDOT_MIN_VERSION, @@ -159,7 +157,14 @@ def get_nipype_gitversion(): if sys.version_info <= (3, 4): REQUIRES.append('configparser') -TESTS_REQUIRES = ['pytest-cov', 'codecov', 'pytest-env', 'coverage<5'] +TESTS_REQUIRES = [ + 'pytest>=%s' % PYTEST_MIN_VERSION, + 'pytest-xdist', + 'pytest-cov', + 'codecov', + 'pytest-env', + 'coverage<5' +] EXTRA_REQUIRES = { 'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],