We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Python 3.4 tests failing on Travis
### Summary

Looks like either a pytest or a pytest-xdist problem. Perhaps one of them stopped supporting 3.4.

From [#6217.17](https://travis-ci.org/nipy/nipype/jobs/467617939):

```
$ py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 510, in load_setuptools_entrypoints
    plugin = ep.load()
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2301, in load
    self.require(*args, **kwargs)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2324, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/pkg_resources/__init__.py", line 859, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (pytest 3.0.7 (/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages), Requirement.parse('pytest>=3.6.0'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.4.6/bin/py.test", line 11, in <module>
    sys.exit(main())
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py", line 47, in main
    config = _prepareconfig(args, plugins)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py", line 156, in _prepareconfig
    pluginmanager=pluginmanager, args=args)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call
    wrap_controller.send(call_outcome)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/helpconfig.py", line 32, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py", line 924, in pytest_cmdline_parse
    self.parse(args)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py", line 1082, in parse
    self._preparse(args, addopts=addopts)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py", line 1044, in _preparse
    self.pluginmanager.load_setuptools_entrypoints(entrypoint_name)
  File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py", line 515, in load_setuptools_entrypoints
    "Plugin %r could not be loaded: %s!" % (ep.name, e))
_pytest.vendored_packages.pluggy.PluginValidationError: Plugin 'xdist' could not be loaded: (pytest 3.0.7 (/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages), Requirement.parse('pytest>=3.6.0'))!
```

### Platform details:

Travis. Python 3.4.

### Execution environment

Choose one
- Travis environment (Python 3.4)


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

{"golden_diff": "diff --git a/nipype/info.py b/nipype/info.py\n--- a/nipype/info.py\n+++ b/nipype/info.py\n@@ -108,7 +108,7 @@\n SCIPY_MIN_VERSION = '0.14'\n TRAITS_MIN_VERSION = '4.6'\n DATEUTIL_MIN_VERSION = '2.2'\n-PYTEST_MIN_VERSION = '3.0'\n+PYTEST_MIN_VERSION = '3.6'\n FUTURE_MIN_VERSION = '0.16.0'\n SIMPLEJSON_MIN_VERSION = '3.8.0'\n PROV_VERSION = '1.5.2'\n", "issue": "Python 3.4 tests failing on Travis\n### Summary\r\n\r\nLooks like either a pytest or a pytest-xdist problem. Perhaps one of them stopped supporting 3.4.\r\n\r\nFrom [#6217.17](https://travis-ci.org/nipy/nipype/jobs/467617939):\r\n\r\n```\r\n$ py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 510, in load_setuptools_entrypoints\r\n    plugin = ep.load()\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2301, in load\r\n    self.require(*args, **kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 2324, in require\r\n    items = working_set.resolve(reqs, env, installer, extras=self.extras)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/pkg_resources/__init__.py\", line 859, in resolve\r\n    raise VersionConflict(dist, req).with_context(dependent_req)\r\npkg_resources.VersionConflict: (pytest 3.0.7 (/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages), Requirement.parse('pytest>=3.6.0'))\r\nDuring handling of the above exception, another exception occurred:\r\nTraceback (most recent call last):\r\n  File \"/home/travis/virtualenv/python3.4.6/bin/py.test\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py\", line 47, in main\r\n    config = _prepareconfig(args, plugins)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py\", line 156, in _prepareconfig\r\n    pluginmanager=pluginmanager, args=args)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 745, in __call__\r\n    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 339, in _hookexec\r\n    return self._inner_hookexec(hook, methods, kwargs)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 334, in <lambda>\r\n    _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 613, in execute\r\n    return _wrapped_call(hook_impl.function(*args), self.execute)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 250, in _wrapped_call\r\n    wrap_controller.send(call_outcome)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/helpconfig.py\", line 32, in pytest_cmdline_parse\r\n    config = outcome.get_result()\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 279, in get_result\r\n    raise ex[1].with_traceback(ex[2])\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 265, in __init__\r\n    self.result = func()\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 614, in execute\r\n    res = hook_impl.function(*args)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py\", line 924, in pytest_cmdline_parse\r\n    self.parse(args)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py\", line 1082, in parse\r\n    self._preparse(args, addopts=addopts)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/config.py\", line 1044, in _preparse\r\n    self.pluginmanager.load_setuptools_entrypoints(entrypoint_name)\r\n  File \"/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 515, in load_setuptools_entrypoints\r\n    \"Plugin %r could not be loaded: %s!\" % (ep.name, e))\r\n_pytest.vendored_packages.pluggy.PluginValidationError: Plugin 'xdist' could not be loaded: (pytest 3.0.7 (/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages), Requirement.parse('pytest>=3.6.0'))!\r\n```\r\n\r\n### Platform details:\r\n\r\nTravis. Python 3.4.\r\n\r\n### Execution environment\r\n\r\nChoose one\r\n- Travis environment (Python 3.4)\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\"\"\"\nfrom __future__ import (print_function, division, unicode_literals,\n                        absolute_import)\n\nimport sys\n\n# nipype version information.  An empty version_extra corresponds to a\n# full release.  '.dev' as a version_extra string means this is a development\n# version\n# Remove -dev for release\n__version__ = '1.1.7-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    try:\n        import nipype\n        gitpath = os.path.realpath(\n            os.path.join(os.path.dirname(nipype.__file__), os.path.pardir))\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,\n            stdout=subprocess.PIPE).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', '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 :: 2.7',\n    'Programming Language :: Python :: 3.4',\n    'Programming Language :: Python :: 3.5',\n    'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering'\n]\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.9.0'\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'\nPYTEST_MIN_VERSION = '3.0'\nFUTURE_MIN_VERSION = '0.16.0'\nSIMPLEJSON_MIN_VERSION = '3.8.0'\nPROV_VERSION = '1.5.2'\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 = (len(__version__.replace('-', '.').split('.')) == 3\n             or 'post' in __version__.replace('-', '.').split('.')[-1])\nVERSION = __version__\nPROVIDES = ['nipype']\nREQUIRES = [\n    'nibabel>=%s' % NIBABEL_MIN_VERSION,\n    'networkx>=%s' % NETWORKX_MIN_VERSION,\n    'numpy>=%s ; python_version < \"3.7\"' % NUMPY_MIN_VERSION,\n    'numpy>=%s ; python_version >= \"3.7\"' % NUMPY_MIN_VERSION_37,\n    'python-dateutil>=%s' % DATEUTIL_MIN_VERSION,\n    'scipy>=%s' % SCIPY_MIN_VERSION,\n    'traits>=%s' % TRAITS_MIN_VERSION,\n    'future>=%s' % FUTURE_MIN_VERSION,\n    'simplejson>=%s' % SIMPLEJSON_MIN_VERSION,\n    'prov>=%s' % PROV_VERSION,\n    'neurdflib',\n    'click>=%s' % CLICK_MIN_VERSION,\n    'funcsigs',\n    'pytest>=%s' % PYTEST_MIN_VERSION,\n    'pytest-xdist',\n    'mock',\n    'pydotplus',\n    'pydot>=%s' % PYDOT_MIN_VERSION,\n    'packaging',\n    'futures; python_version == \"2.7\"',\n]\n\nif sys.version_info <= (3, 4):\n    REQUIRES.append('configparser')\n\nTESTS_REQUIRES = ['pytest-cov', 'codecov', 'pytest-env', 'coverage<5']\n\nEXTRA_REQUIRES = {\n    'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],\n    'tests': TESTS_REQUIRES,\n    'specs': ['yapf'],\n    'nipy': ['nitime', 'nilearn<0.5.0', 'dipy', 'nipy', 'matplotlib'],\n    'profiler': ['psutil>=5.0'],\n    'duecredit': ['duecredit'],\n    'xvfbwrapper': ['xvfbwrapper'],\n    'pybids': ['pybids==0.6.5'],\n    'ssh': ['paramiko'],\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(val for key, val in EXTRA_REQUIRES.items()\n                                    if key in ('doc', 'tests', 'specs'))\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\"\"\"\nfrom __future__ import (print_function, division, unicode_literals,\n                        absolute_import)\n\nimport sys\n\n# nipype version information.  An empty version_extra corresponds to a\n# full release.  '.dev' as a version_extra string means this is a development\n# version\n# Remove -dev for release\n__version__ = '1.1.7-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    try:\n        import nipype\n        gitpath = os.path.realpath(\n            os.path.join(os.path.dirname(nipype.__file__), os.path.pardir))\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,\n            stdout=subprocess.PIPE).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', '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 :: 2.7',\n    'Programming Language :: Python :: 3.4',\n    'Programming Language :: Python :: 3.5',\n    'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering'\n]\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.9.0'\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'\nPYTEST_MIN_VERSION = '3.6'\nFUTURE_MIN_VERSION = '0.16.0'\nSIMPLEJSON_MIN_VERSION = '3.8.0'\nPROV_VERSION = '1.5.2'\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 = (len(__version__.replace('-', '.').split('.')) == 3\n             or 'post' in __version__.replace('-', '.').split('.')[-1])\nVERSION = __version__\nPROVIDES = ['nipype']\nREQUIRES = [\n    'nibabel>=%s' % NIBABEL_MIN_VERSION,\n    'networkx>=%s' % NETWORKX_MIN_VERSION,\n    'numpy>=%s ; python_version < \"3.7\"' % NUMPY_MIN_VERSION,\n    'numpy>=%s ; python_version >= \"3.7\"' % NUMPY_MIN_VERSION_37,\n    'python-dateutil>=%s' % DATEUTIL_MIN_VERSION,\n    'scipy>=%s' % SCIPY_MIN_VERSION,\n    'traits>=%s' % TRAITS_MIN_VERSION,\n    'future>=%s' % FUTURE_MIN_VERSION,\n    'simplejson>=%s' % SIMPLEJSON_MIN_VERSION,\n    'prov>=%s' % PROV_VERSION,\n    'neurdflib',\n    'click>=%s' % CLICK_MIN_VERSION,\n    'funcsigs',\n    'pytest>=%s' % PYTEST_MIN_VERSION,\n    'pytest-xdist',\n    'mock',\n    'pydotplus',\n    'pydot>=%s' % PYDOT_MIN_VERSION,\n    'packaging',\n    'futures; python_version == \"2.7\"',\n]\n\nif sys.version_info <= (3, 4):\n    REQUIRES.append('configparser')\n\nTESTS_REQUIRES = ['pytest-cov', 'codecov', 'pytest-env', 'coverage<5']\n\nEXTRA_REQUIRES = {\n    'doc': ['Sphinx>=1.4', 'numpydoc', 'matplotlib', 'pydotplus', 'pydot>=1.2.3'],\n    'tests': TESTS_REQUIRES,\n    'specs': ['yapf'],\n    'nipy': ['nitime', 'nilearn<0.5.0', 'dipy', 'nipy', 'matplotlib'],\n    'profiler': ['psutil>=5.0'],\n    'duecredit': ['duecredit'],\n    'xvfbwrapper': ['xvfbwrapper'],\n    'pybids': ['pybids==0.6.5'],\n    'ssh': ['paramiko'],\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(val for key, val in EXTRA_REQUIRES.items()\n                                    if key in ('doc', 'tests', 'specs'))\n\nSTATUS = 'stable'\n", "path": "nipype/info.py"}]}