We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Nilearn 0.5.0 breaks tests
### Summary
The latest release of nilearn broke master.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `nipype/info.py`
Content:
```
1 """ This file contains defines parameters for nipy that we use to fill
2 settings in setup.py, the nipy top-level docstring, and for building the
3 docs.  In setup.py in particular, we exec this file, so it cannot import nipy
4 """
5 
6 # nipype version information
7 # Remove -dev for release
8 __version__ = "1.5.0-rc1.post-dev"
9 
10 
11 def get_nipype_gitversion():
12     """Nipype version as reported by the last commit in git
13 
14     Returns
15     -------
16     None or str
17       Version of Nipype according to git.
18     """
19     import os
20     import subprocess
21 
22     try:
23         import nipype
24 
25         gitpath = os.path.realpath(
26             os.path.join(os.path.dirname(nipype.__file__), os.path.pardir)
27         )
28     except:
29         gitpath = os.getcwd()
30     gitpathgit = os.path.join(gitpath, ".git")
31     if not os.path.exists(gitpathgit):
32         return None
33     ver = None
34     try:
35         o, _ = subprocess.Popen(
36             "git describe", shell=True, cwd=gitpath, stdout=subprocess.PIPE
37         ).communicate()
38     except Exception:
39         pass
40     else:
41         ver = o.decode().strip().split("-")[-1]
42     return ver
43 
44 
45 if __version__.endswith("-dev"):
46     gitversion = get_nipype_gitversion()
47     if gitversion:
48         __version__ = "{}+{}".format(__version__, gitversion)
49 
50 CLASSIFIERS = [
51     "Development Status :: 5 - Production/Stable",
52     "Environment :: Console",
53     "Intended Audience :: Science/Research",
54     "License :: OSI Approved :: Apache Software License",
55     "Operating System :: MacOS :: MacOS X",
56     "Operating System :: POSIX :: Linux",
57     "Programming Language :: Python :: 3.6",
58     "Programming Language :: Python :: 3.7",
59     "Programming Language :: Python :: 3.8",
60     "Topic :: Scientific/Engineering",
61 ]
62 PYTHON_REQUIRES = ">= 3.6"
63 
64 description = "Neuroimaging in Python: Pipelines and Interfaces"
65 
66 # Note: this long_description is actually a copy/paste from the top-level
67 # README.txt, so that it shows up nicely on PyPI.  So please remember to edit
68 # it only in one place and sync it correctly.
69 long_description = """========================================================
70 NIPYPE: Neuroimaging in Python: Pipelines and Interfaces
71 ========================================================
72 
73 Current neuroimaging software offer users an incredible opportunity to
74 analyze data using a variety of different algorithms. However, this has
75 resulted in a heterogeneous collection of specialized applications
76 without transparent interoperability or a uniform operating interface.
77 
78 *Nipype*, an open-source, community-developed initiative under the
79 umbrella of `NiPy <http://nipy.org>`_, is a Python project that provides a
80 uniform interface to existing neuroimaging software and facilitates interaction
81 between these packages within a single workflow. Nipype provides an environment
82 that encourages interactive exploration of algorithms from different
83 packages (e.g., AFNI, ANTS, BRAINS, BrainSuite, Camino, FreeSurfer, FSL, MNE,
84 MRtrix, MNE, Nipy, Slicer, SPM), eases the design of workflows within and
85 between packages, and reduces the learning curve necessary to use different \
86 packages. Nipype is creating a collaborative platform for neuroimaging \
87 software development in a high-level language and addressing limitations of \
88 existing pipeline systems.
89 
90 *Nipype* allows you to:
91 
92 * easily interact with tools from different software packages
93 * combine processing steps from different software packages
94 * develop new workflows faster by reusing common steps from old ones
95 * process data faster by running it in parallel on many cores/machines
96 * make your research easily reproducible
97 * share your processing workflows with the community
98 """
99 
100 # versions
101 NIBABEL_MIN_VERSION = "2.1.0"
102 NETWORKX_MIN_VERSION = "1.9"
103 NUMPY_MIN_VERSION = "1.13"
104 # Numpy bug in python 3.7:
105 # https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html
106 NUMPY_MIN_VERSION_37 = "1.15.3"
107 SCIPY_MIN_VERSION = "0.14"
108 TRAITS_MIN_VERSION = "4.6"
109 DATEUTIL_MIN_VERSION = "2.2"
110 FUTURE_MIN_VERSION = "0.16.0"
111 SIMPLEJSON_MIN_VERSION = "3.8.0"
112 PROV_VERSION = "1.5.2"
113 RDFLIB_MIN_VERSION = "5.0.0"
114 CLICK_MIN_VERSION = "6.6.0"
115 PYDOT_MIN_VERSION = "1.2.3"
116 
117 NAME = "nipype"
118 MAINTAINER = "nipype developers"
119 MAINTAINER_EMAIL = "neuroimaging@python.org"
120 DESCRIPTION = description
121 LONG_DESCRIPTION = long_description
122 URL = "http://nipy.org/nipype"
123 DOWNLOAD_URL = "http://github.com/nipy/nipype/archives/master"
124 LICENSE = "Apache License, 2.0"
125 AUTHOR = "nipype developers"
126 AUTHOR_EMAIL = "neuroimaging@python.org"
127 PLATFORMS = "OS Independent"
128 MAJOR = __version__.split(".")[0]
129 MINOR = __version__.split(".")[1]
130 MICRO = __version__.replace("-", ".").split(".")[2]
131 ISRELEASE = (
132     len(__version__.replace("-", ".").split(".")) == 3
133     or "post" in __version__.replace("-", ".").split(".")[-1]
134 )
135 VERSION = __version__
136 PROVIDES = ["nipype"]
137 REQUIRES = [
138     "click>=%s" % CLICK_MIN_VERSION,
139     "networkx>=%s" % NETWORKX_MIN_VERSION,
140     "nibabel>=%s" % NIBABEL_MIN_VERSION,
141     'numpy>=%s ; python_version < "3.7"' % NUMPY_MIN_VERSION,
142     'numpy>=%s ; python_version >= "3.7"' % NUMPY_MIN_VERSION_37,
143     "packaging",
144     "prov>=%s" % PROV_VERSION,
145     "pydot>=%s" % PYDOT_MIN_VERSION,
146     "pydotplus",
147     "python-dateutil>=%s" % DATEUTIL_MIN_VERSION,
148     "rdflib>=%s" % RDFLIB_MIN_VERSION,
149     "scipy>=%s" % SCIPY_MIN_VERSION,
150     "simplejson>=%s" % SIMPLEJSON_MIN_VERSION,
151     "traits>=%s,!=5.0" % TRAITS_MIN_VERSION,
152     "filelock>=3.0.0",
153     "etelemetry>=0.2.0",
154 ]
155 
156 TESTS_REQUIRES = [
157     "codecov",
158     "coverage<5",
159     "pytest",
160     "pytest-cov",
161     "pytest-env",
162     "pytest-timeout",
163 ]
164 
165 EXTRA_REQUIRES = {
166     "data": ["datalad"],
167     "doc": [
168         "dipy",
169         "ipython",
170         "matplotlib",
171         "nbsphinx",
172         "sphinx-argparse",
173         "sphinx>=2.1.2",
174         "sphinxcontrib-apidoc",
175         "sphinxcontrib-napoleon",
176     ],
177     "duecredit": ["duecredit"],
178     "nipy": ["nitime", "nilearn<0.5.0", "dipy", "nipy", "matplotlib"],
179     "profiler": ["psutil>=5.0"],
180     "pybids": ["pybids>=0.7.0"],
181     "specs": ["black"],
182     "ssh": ["paramiko"],
183     "tests": TESTS_REQUIRES,
184     "xvfbwrapper": ["xvfbwrapper"],
185     # 'mesh': ['mayavi']  # Enable when it works
186 }
187 
188 
189 def _list_union(iterable):
190     return list(set(sum(iterable, [])))
191 
192 
193 # Enable a handle to install all extra dependencies at once
194 EXTRA_REQUIRES["all"] = _list_union(EXTRA_REQUIRES.values())
195 # dev = doc + tests + specs
196 EXTRA_REQUIRES["dev"] = _list_union(
197     val for key, val in EXTRA_REQUIRES.items() if key in ("doc", "tests", "specs")
198 )
199 
200 STATUS = "stable"
201
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/nipype/info.py b/nipype/info.py
--- a/nipype/info.py
+++ b/nipype/info.py
@@ -175,7 +175,7 @@
         "sphinxcontrib-napoleon",
     ],
     "duecredit": ["duecredit"],
-    "nipy": ["nitime", "nilearn<0.5.0", "dipy", "nipy", "matplotlib"],
+    "nipy": ["nitime", "nilearn", "dipy", "nipy", "matplotlib"],
     "profiler": ["psutil>=5.0"],
     "pybids": ["pybids>=0.7.0"],
     "specs": ["black"],

{"golden_diff": "diff --git a/nipype/info.py b/nipype/info.py\n--- a/nipype/info.py\n+++ b/nipype/info.py\n@@ -175,7 +175,7 @@\n         \"sphinxcontrib-napoleon\",\n     ],\n     \"duecredit\": [\"duecredit\"],\n-    \"nipy\": [\"nitime\", \"nilearn<0.5.0\", \"dipy\", \"nipy\", \"matplotlib\"],\n+    \"nipy\": [\"nitime\", \"nilearn\", \"dipy\", \"nipy\", \"matplotlib\"],\n     \"profiler\": [\"psutil>=5.0\"],\n     \"pybids\": [\"pybids>=0.7.0\"],\n     \"specs\": [\"black\"],\n", "issue": "Nilearn 0.5.0 breaks tests\n### Summary\r\nThe latest release of nilearn broke master.\r\n\n", "before_files": [{"content": "\"\"\" This file contains defines parameters for nipy that we use to fill\nsettings in setup.py, the nipy top-level docstring, and for building the\ndocs.  In setup.py in particular, we exec this file, so it cannot import nipy\n\"\"\"\n\n# nipype version information\n# Remove -dev for release\n__version__ = \"1.5.0-rc1.post-dev\"\n\n\ndef get_nipype_gitversion():\n    \"\"\"Nipype version as reported by the last commit in git\n\n    Returns\n    -------\n    None or str\n      Version of Nipype according to git.\n    \"\"\"\n    import os\n    import subprocess\n\n    try:\n        import nipype\n\n        gitpath = os.path.realpath(\n            os.path.join(os.path.dirname(nipype.__file__), os.path.pardir)\n        )\n    except:\n        gitpath = os.getcwd()\n    gitpathgit = os.path.join(gitpath, \".git\")\n    if not os.path.exists(gitpathgit):\n        return None\n    ver = None\n    try:\n        o, _ = subprocess.Popen(\n            \"git describe\", shell=True, cwd=gitpath, stdout=subprocess.PIPE\n        ).communicate()\n    except Exception:\n        pass\n    else:\n        ver = o.decode().strip().split(\"-\")[-1]\n    return ver\n\n\nif __version__.endswith(\"-dev\"):\n    gitversion = get_nipype_gitversion()\n    if gitversion:\n        __version__ = \"{}+{}\".format(__version__, gitversion)\n\nCLASSIFIERS = [\n    \"Development Status :: 5 - Production/Stable\",\n    \"Environment :: Console\",\n    \"Intended Audience :: Science/Research\",\n    \"License :: OSI Approved :: Apache Software License\",\n    \"Operating System :: MacOS :: MacOS X\",\n    \"Operating System :: POSIX :: Linux\",\n    \"Programming Language :: Python :: 3.6\",\n    \"Programming Language :: Python :: 3.7\",\n    \"Programming Language :: Python :: 3.8\",\n    \"Topic :: Scientific/Engineering\",\n]\nPYTHON_REQUIRES = \">= 3.6\"\n\ndescription = \"Neuroimaging in Python: Pipelines and Interfaces\"\n\n# Note: this long_description is actually a copy/paste from the top-level\n# README.txt, so that it shows up nicely on PyPI.  So please remember to edit\n# it only in one place and sync it correctly.\nlong_description = \"\"\"========================================================\nNIPYPE: Neuroimaging in Python: Pipelines and Interfaces\n========================================================\n\nCurrent neuroimaging software offer users an incredible opportunity to\nanalyze data using a variety of different algorithms. However, this has\nresulted in a heterogeneous collection of specialized applications\nwithout transparent interoperability or a uniform operating interface.\n\n*Nipype*, an open-source, community-developed initiative under the\numbrella of `NiPy <http://nipy.org>`_, is a Python project that provides a\nuniform interface to existing neuroimaging software and facilitates interaction\nbetween these packages within a single workflow. Nipype provides an environment\nthat encourages interactive exploration of algorithms from different\npackages (e.g., AFNI, ANTS, BRAINS, BrainSuite, Camino, FreeSurfer, FSL, MNE,\nMRtrix, MNE, Nipy, Slicer, SPM), eases the design of workflows within and\nbetween packages, and reduces the learning curve necessary to use different \\\npackages. Nipype is creating a collaborative platform for neuroimaging \\\nsoftware development in a high-level language and addressing limitations of \\\nexisting pipeline systems.\n\n*Nipype* allows you to:\n\n* easily interact with tools from different software packages\n* combine processing steps from different software packages\n* develop new workflows faster by reusing common steps from old ones\n* process data faster by running it in parallel on many cores/machines\n* make your research easily reproducible\n* share your processing workflows with the community\n\"\"\"\n\n# versions\nNIBABEL_MIN_VERSION = \"2.1.0\"\nNETWORKX_MIN_VERSION = \"1.9\"\nNUMPY_MIN_VERSION = \"1.13\"\n# Numpy bug in python 3.7:\n# https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html\nNUMPY_MIN_VERSION_37 = \"1.15.3\"\nSCIPY_MIN_VERSION = \"0.14\"\nTRAITS_MIN_VERSION = \"4.6\"\nDATEUTIL_MIN_VERSION = \"2.2\"\nFUTURE_MIN_VERSION = \"0.16.0\"\nSIMPLEJSON_MIN_VERSION = \"3.8.0\"\nPROV_VERSION = \"1.5.2\"\nRDFLIB_MIN_VERSION = \"5.0.0\"\nCLICK_MIN_VERSION = \"6.6.0\"\nPYDOT_MIN_VERSION = \"1.2.3\"\n\nNAME = \"nipype\"\nMAINTAINER = \"nipype developers\"\nMAINTAINER_EMAIL = \"neuroimaging@python.org\"\nDESCRIPTION = description\nLONG_DESCRIPTION = long_description\nURL = \"http://nipy.org/nipype\"\nDOWNLOAD_URL = \"http://github.com/nipy/nipype/archives/master\"\nLICENSE = \"Apache License, 2.0\"\nAUTHOR = \"nipype developers\"\nAUTHOR_EMAIL = \"neuroimaging@python.org\"\nPLATFORMS = \"OS Independent\"\nMAJOR = __version__.split(\".\")[0]\nMINOR = __version__.split(\".\")[1]\nMICRO = __version__.replace(\"-\", \".\").split(\".\")[2]\nISRELEASE = (\n    len(__version__.replace(\"-\", \".\").split(\".\")) == 3\n    or \"post\" in __version__.replace(\"-\", \".\").split(\".\")[-1]\n)\nVERSION = __version__\nPROVIDES = [\"nipype\"]\nREQUIRES = [\n    \"click>=%s\" % CLICK_MIN_VERSION,\n    \"networkx>=%s\" % NETWORKX_MIN_VERSION,\n    \"nibabel>=%s\" % NIBABEL_MIN_VERSION,\n    'numpy>=%s ; python_version < \"3.7\"' % NUMPY_MIN_VERSION,\n    'numpy>=%s ; python_version >= \"3.7\"' % NUMPY_MIN_VERSION_37,\n    \"packaging\",\n    \"prov>=%s\" % PROV_VERSION,\n    \"pydot>=%s\" % PYDOT_MIN_VERSION,\n    \"pydotplus\",\n    \"python-dateutil>=%s\" % DATEUTIL_MIN_VERSION,\n    \"rdflib>=%s\" % RDFLIB_MIN_VERSION,\n    \"scipy>=%s\" % SCIPY_MIN_VERSION,\n    \"simplejson>=%s\" % SIMPLEJSON_MIN_VERSION,\n    \"traits>=%s,!=5.0\" % TRAITS_MIN_VERSION,\n    \"filelock>=3.0.0\",\n    \"etelemetry>=0.2.0\",\n]\n\nTESTS_REQUIRES = [\n    \"codecov\",\n    \"coverage<5\",\n    \"pytest\",\n    \"pytest-cov\",\n    \"pytest-env\",\n    \"pytest-timeout\",\n]\n\nEXTRA_REQUIRES = {\n    \"data\": [\"datalad\"],\n    \"doc\": [\n        \"dipy\",\n        \"ipython\",\n        \"matplotlib\",\n        \"nbsphinx\",\n        \"sphinx-argparse\",\n        \"sphinx>=2.1.2\",\n        \"sphinxcontrib-apidoc\",\n        \"sphinxcontrib-napoleon\",\n    ],\n    \"duecredit\": [\"duecredit\"],\n    \"nipy\": [\"nitime\", \"nilearn<0.5.0\", \"dipy\", \"nipy\", \"matplotlib\"],\n    \"profiler\": [\"psutil>=5.0\"],\n    \"pybids\": [\"pybids>=0.7.0\"],\n    \"specs\": [\"black\"],\n    \"ssh\": [\"paramiko\"],\n    \"tests\": TESTS_REQUIRES,\n    \"xvfbwrapper\": [\"xvfbwrapper\"],\n    # 'mesh': ['mayavi']  # Enable when it works\n}\n\n\ndef _list_union(iterable):\n    return list(set(sum(iterable, [])))\n\n\n# Enable a handle to install all extra dependencies at once\nEXTRA_REQUIRES[\"all\"] = _list_union(EXTRA_REQUIRES.values())\n# dev = doc + tests + specs\nEXTRA_REQUIRES[\"dev\"] = _list_union(\n    val for key, val in EXTRA_REQUIRES.items() if key in (\"doc\", \"tests\", \"specs\")\n)\n\nSTATUS = \"stable\"\n", "path": "nipype/info.py"}], "after_files": [{"content": "\"\"\" This file contains defines parameters for nipy that we use to fill\nsettings in setup.py, the nipy top-level docstring, and for building the\ndocs.  In setup.py in particular, we exec this file, so it cannot import nipy\n\"\"\"\n\n# nipype version information\n# Remove -dev for release\n__version__ = \"1.5.0-rc1.post-dev\"\n\n\ndef get_nipype_gitversion():\n    \"\"\"Nipype version as reported by the last commit in git\n\n    Returns\n    -------\n    None or str\n      Version of Nipype according to git.\n    \"\"\"\n    import os\n    import subprocess\n\n    try:\n        import nipype\n\n        gitpath = os.path.realpath(\n            os.path.join(os.path.dirname(nipype.__file__), os.path.pardir)\n        )\n    except:\n        gitpath = os.getcwd()\n    gitpathgit = os.path.join(gitpath, \".git\")\n    if not os.path.exists(gitpathgit):\n        return None\n    ver = None\n    try:\n        o, _ = subprocess.Popen(\n            \"git describe\", shell=True, cwd=gitpath, stdout=subprocess.PIPE\n        ).communicate()\n    except Exception:\n        pass\n    else:\n        ver = o.decode().strip().split(\"-\")[-1]\n    return ver\n\n\nif __version__.endswith(\"-dev\"):\n    gitversion = get_nipype_gitversion()\n    if gitversion:\n        __version__ = \"{}+{}\".format(__version__, gitversion)\n\nCLASSIFIERS = [\n    \"Development Status :: 5 - Production/Stable\",\n    \"Environment :: Console\",\n    \"Intended Audience :: Science/Research\",\n    \"License :: OSI Approved :: Apache Software License\",\n    \"Operating System :: MacOS :: MacOS X\",\n    \"Operating System :: POSIX :: Linux\",\n    \"Programming Language :: Python :: 3.6\",\n    \"Programming Language :: Python :: 3.7\",\n    \"Programming Language :: Python :: 3.8\",\n    \"Topic :: Scientific/Engineering\",\n]\nPYTHON_REQUIRES = \">= 3.6\"\n\ndescription = \"Neuroimaging in Python: Pipelines and Interfaces\"\n\n# Note: this long_description is actually a copy/paste from the top-level\n# README.txt, so that it shows up nicely on PyPI.  So please remember to edit\n# it only in one place and sync it correctly.\nlong_description = \"\"\"========================================================\nNIPYPE: Neuroimaging in Python: Pipelines and Interfaces\n========================================================\n\nCurrent neuroimaging software offer users an incredible opportunity to\nanalyze data using a variety of different algorithms. However, this has\nresulted in a heterogeneous collection of specialized applications\nwithout transparent interoperability or a uniform operating interface.\n\n*Nipype*, an open-source, community-developed initiative under the\numbrella of `NiPy <http://nipy.org>`_, is a Python project that provides a\nuniform interface to existing neuroimaging software and facilitates interaction\nbetween these packages within a single workflow. Nipype provides an environment\nthat encourages interactive exploration of algorithms from different\npackages (e.g., AFNI, ANTS, BRAINS, BrainSuite, Camino, FreeSurfer, FSL, MNE,\nMRtrix, MNE, Nipy, Slicer, SPM), eases the design of workflows within and\nbetween packages, and reduces the learning curve necessary to use different \\\npackages. Nipype is creating a collaborative platform for neuroimaging \\\nsoftware development in a high-level language and addressing limitations of \\\nexisting pipeline systems.\n\n*Nipype* allows you to:\n\n* easily interact with tools from different software packages\n* combine processing steps from different software packages\n* develop new workflows faster by reusing common steps from old ones\n* process data faster by running it in parallel on many cores/machines\n* make your research easily reproducible\n* share your processing workflows with the community\n\"\"\"\n\n# versions\nNIBABEL_MIN_VERSION = \"2.1.0\"\nNETWORKX_MIN_VERSION = \"1.9\"\nNUMPY_MIN_VERSION = \"1.13\"\n# Numpy bug in python 3.7:\n# https://www.opensourceanswers.com/blog/you-shouldnt-use-python-37-for-data-science-right-now.html\nNUMPY_MIN_VERSION_37 = \"1.15.3\"\nSCIPY_MIN_VERSION = \"0.14\"\nTRAITS_MIN_VERSION = \"4.6\"\nDATEUTIL_MIN_VERSION = \"2.2\"\nFUTURE_MIN_VERSION = \"0.16.0\"\nSIMPLEJSON_MIN_VERSION = \"3.8.0\"\nPROV_VERSION = \"1.5.2\"\nRDFLIB_MIN_VERSION = \"5.0.0\"\nCLICK_MIN_VERSION = \"6.6.0\"\nPYDOT_MIN_VERSION = \"1.2.3\"\n\nNAME = \"nipype\"\nMAINTAINER = \"nipype developers\"\nMAINTAINER_EMAIL = \"neuroimaging@python.org\"\nDESCRIPTION = description\nLONG_DESCRIPTION = long_description\nURL = \"http://nipy.org/nipype\"\nDOWNLOAD_URL = \"http://github.com/nipy/nipype/archives/master\"\nLICENSE = \"Apache License, 2.0\"\nAUTHOR = \"nipype developers\"\nAUTHOR_EMAIL = \"neuroimaging@python.org\"\nPLATFORMS = \"OS Independent\"\nMAJOR = __version__.split(\".\")[0]\nMINOR = __version__.split(\".\")[1]\nMICRO = __version__.replace(\"-\", \".\").split(\".\")[2]\nISRELEASE = (\n    len(__version__.replace(\"-\", \".\").split(\".\")) == 3\n    or \"post\" in __version__.replace(\"-\", \".\").split(\".\")[-1]\n)\nVERSION = __version__\nPROVIDES = [\"nipype\"]\nREQUIRES = [\n    \"click>=%s\" % CLICK_MIN_VERSION,\n    \"networkx>=%s\" % NETWORKX_MIN_VERSION,\n    \"nibabel>=%s\" % NIBABEL_MIN_VERSION,\n    'numpy>=%s ; python_version < \"3.7\"' % NUMPY_MIN_VERSION,\n    'numpy>=%s ; python_version >= \"3.7\"' % NUMPY_MIN_VERSION_37,\n    \"packaging\",\n    \"prov>=%s\" % PROV_VERSION,\n    \"pydot>=%s\" % PYDOT_MIN_VERSION,\n    \"pydotplus\",\n    \"python-dateutil>=%s\" % DATEUTIL_MIN_VERSION,\n    \"rdflib>=%s\" % RDFLIB_MIN_VERSION,\n    \"scipy>=%s\" % SCIPY_MIN_VERSION,\n    \"simplejson>=%s\" % SIMPLEJSON_MIN_VERSION,\n    \"traits>=%s,!=5.0\" % TRAITS_MIN_VERSION,\n    \"filelock>=3.0.0\",\n    \"etelemetry>=0.2.0\",\n]\n\nTESTS_REQUIRES = [\n    \"codecov\",\n    \"coverage<5\",\n    \"pytest\",\n    \"pytest-cov\",\n    \"pytest-env\",\n    \"pytest-timeout\",\n]\n\nEXTRA_REQUIRES = {\n    \"data\": [\"datalad\"],\n    \"doc\": [\n        \"dipy\",\n        \"ipython\",\n        \"matplotlib\",\n        \"nbsphinx\",\n        \"sphinx-argparse\",\n        \"sphinx>=2.1.2\",\n        \"sphinxcontrib-apidoc\",\n        \"sphinxcontrib-napoleon\",\n    ],\n    \"duecredit\": [\"duecredit\"],\n    \"nipy\": [\"nitime\", \"nilearn\", \"dipy\", \"nipy\", \"matplotlib\"],\n    \"profiler\": [\"psutil>=5.0\"],\n    \"pybids\": [\"pybids>=0.7.0\"],\n    \"specs\": [\"black\"],\n    \"ssh\": [\"paramiko\"],\n    \"tests\": TESTS_REQUIRES,\n    \"xvfbwrapper\": [\"xvfbwrapper\"],\n    # 'mesh': ['mayavi']  # Enable when it works\n}\n\n\ndef _list_union(iterable):\n    return list(set(sum(iterable, [])))\n\n\n# Enable a handle to install all extra dependencies at once\nEXTRA_REQUIRES[\"all\"] = _list_union(EXTRA_REQUIRES.values())\n# dev = doc + tests + specs\nEXTRA_REQUIRES[\"dev\"] = _list_union(\n    val for key, val in EXTRA_REQUIRES.items() if key in (\"doc\", \"tests\", \"specs\")\n)\n\nSTATUS = \"stable\"\n", "path": "nipype/info.py"}]}