prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Build takes too long
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 # Copyright (C) 2015 UCSC Computational Genomics Lab
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 import sys
  16 from version import version
  17 from setuptools import find_packages, setup
  18 
  19 botoVersionRequired = 'boto==2.38.0'
  20 
  21 kwargs = dict(
  22     name='toil',
  23     version=version,
  24     description='Pipeline management software for clusters.',
  25     author='Benedict Paten',
  26     author_email='benedict@soe.usc.edu',
  27     url="https://github.com/BD2KGenomics/toil",
  28     install_requires=[
  29         'bd2k-python-lib==1.13.dev14'],
  30     tests_require=[
  31         'mock==1.0.1',
  32         'pytest==2.8.3'],
  33     test_suite='toil',
  34     extras_require={
  35         'mesos': [
  36             'psutil==3.0.1'],
  37         'aws': [
  38             botoVersionRequired,
  39             'cgcloud-lib==1.4a1.dev195' ],
  40         'azure': [
  41             'azure==1.0.3'],
  42         'encryption': [
  43             'pynacl==0.3.0'],
  44         'google': [
  45             'gcs_oauth2_boto_plugin==1.9',
  46             botoVersionRequired],
  47         'cwl': [
  48             'cwltool==1.0.20160425140546']},
  49     package_dir={'': 'src'},
  50     packages=find_packages('src', exclude=['*.test']),
  51     entry_points={
  52         'console_scripts': [
  53             'toil = toil.utils.toilMain:main',
  54             '_toil_worker = toil.worker:main',
  55             'cwltoil = toil.cwl.cwltoil:main [cwl]',
  56             'cwl-runner = toil.cwl.cwltoil:main [cwl]',
  57             '_toil_mesos_executor = toil.batchSystems.mesos.executor:main [mesos]']})
  58 
  59 from setuptools.command.test import test as TestCommand
  60 
  61 
  62 class PyTest(TestCommand):
  63     user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
  64 
  65     def initialize_options(self):
  66         TestCommand.initialize_options(self)
  67         self.pytest_args = []
  68 
  69     def finalize_options(self):
  70         TestCommand.finalize_options(self)
  71         self.test_args = []
  72         self.test_suite = True
  73 
  74     def run_tests(self):
  75         import pytest
  76         # Sanitize command line arguments to avoid confusing Toil code attempting to parse them
  77         sys.argv[1:] = []
  78         errno = pytest.main(self.pytest_args)
  79         sys.exit(errno)
  80 
  81 
  82 kwargs['cmdclass'] = {'test': PyTest}
  83 
  84 setup(**kwargs)
  85
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -12,13 +12,12 @@
   # See the License for the specific language governing permissions and
   # limitations under the License.
   
  -import sys
   from version import version
   from setuptools import find_packages, setup
   
  -botoVersionRequired = 'boto==2.38.0'
  +botoRequirement = 'boto==2.38.0'
   
  -kwargs = dict(
  +setup(
       name='toil',
       version=version,
       description='Pipeline management software for clusters.',
  @@ -27,15 +26,11 @@
       url="https://github.com/BD2KGenomics/toil",
       install_requires=[
           'bd2k-python-lib==1.13.dev14'],
  -    tests_require=[
  -        'mock==1.0.1',
  -        'pytest==2.8.3'],
  -    test_suite='toil',
       extras_require={
           'mesos': [
               'psutil==3.0.1'],
           'aws': [
  -            botoVersionRequired,
  +            botoRequirement,
               'cgcloud-lib==1.4a1.dev195' ],
           'azure': [
               'azure==1.0.3'],
  @@ -43,7 +38,7 @@
               'pynacl==0.3.0'],
           'google': [
               'gcs_oauth2_boto_plugin==1.9',
  -            botoVersionRequired],
  +            botoRequirement],
           'cwl': [
               'cwltool==1.0.20160425140546']},
       package_dir={'': 'src'},
  @@ -55,30 +50,3 @@
               'cwltoil = toil.cwl.cwltoil:main [cwl]',
               'cwl-runner = toil.cwl.cwltoil:main [cwl]',
               '_toil_mesos_executor = toil.batchSystems.mesos.executor:main [mesos]']})
  -
  -from setuptools.command.test import test as TestCommand
  -
  -
  -class PyTest(TestCommand):
  -    user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
  -
  -    def initialize_options(self):
  -        TestCommand.initialize_options(self)
  -        self.pytest_args = []
  -
  -    def finalize_options(self):
  -        TestCommand.finalize_options(self)
  -        self.test_args = []
  -        self.test_suite = True
  -
  -    def run_tests(self):
  -        import pytest
  -        # Sanitize command line arguments to avoid confusing Toil code attempting to parse them
  -        sys.argv[1:] = []
  -        errno = pytest.main(self.pytest_args)
  -        sys.exit(errno)
  -
  -
  -kwargs['cmdclass'] = {'test': PyTest}
  -
  -setup(**kwargs)
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -12,13 +12,12 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n-import sys\n from version import version\n from setuptools import find_packages, setup\n \n-botoVersionRequired = 'boto==2.38.0'\n+botoRequirement = 'boto==2.38.0'\n \n-kwargs = dict(\n+setup(\n     name='toil',\n     version=version,\n     description='Pipeline management software for clusters.',\n@@ -27,15 +26,11 @@\n     url=\"https://github.com/BD2KGenomics/toil\",\n     install_requires=[\n         'bd2k-python-lib==1.13.dev14'],\n-    tests_require=[\n-        'mock==1.0.1',\n-        'pytest==2.8.3'],\n-    test_suite='toil',\n     extras_require={\n         'mesos': [\n             'psutil==3.0.1'],\n         'aws': [\n-            botoVersionRequired,\n+            botoRequirement,\n             'cgcloud-lib==1.4a1.dev195' ],\n         'azure': [\n             'azure==1.0.3'],\n@@ -43,7 +38,7 @@\n             'pynacl==0.3.0'],\n         'google': [\n             'gcs_oauth2_boto_plugin==1.9',\n-            botoVersionRequired],\n+            botoRequirement],\n         'cwl': [\n             'cwltool==1.0.20160425140546']},\n     package_dir={'': 'src'},\n@@ -55,30 +50,3 @@\n             'cwltoil = toil.cwl.cwltoil:main [cwl]',\n             'cwl-runner = toil.cwl.cwltoil:main [cwl]',\n             '_toil_mesos_executor = toil.batchSystems.mesos.executor:main [mesos]']})\n-\n-from setuptools.command.test import test as TestCommand\n-\n-\n-class PyTest(TestCommand):\n-    user_options = [('pytest-args=', 'a', \"Arguments to pass to py.test\")]\n-\n-    def initialize_options(self):\n-        TestCommand.initialize_options(self)\n-        self.pytest_args = []\n-\n-    def finalize_options(self):\n-        TestCommand.finalize_options(self)\n-        self.test_args = []\n-        self.test_suite = True\n-\n-    def run_tests(self):\n-        import pytest\n-        # Sanitize command line arguments to avoid confusing Toil code attempting to parse them\n-        sys.argv[1:] = []\n-        errno = pytest.main(self.pytest_args)\n-        sys.exit(errno)\n-\n-\n-kwargs['cmdclass'] = {'test': PyTest}\n-\n-setup(**kwargs)\n", "issue": "Build takes too long\n\n", "before_files": [{"content": "# Copyright (C) 2015 UCSC Computational Genomics Lab\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport sys\nfrom version import version\nfrom setuptools import find_packages, setup\n\nbotoVersionRequired = 'boto==2.38.0'\n\nkwargs = dict(\n    name='toil',\n    version=version,\n    description='Pipeline management software for clusters.',\n    author='Benedict Paten',\n    author_email='benedict@soe.usc.edu',\n    url=\"https://github.com/BD2KGenomics/toil\",\n    install_requires=[\n        'bd2k-python-lib==1.13.dev14'],\n    tests_require=[\n        'mock==1.0.1',\n        'pytest==2.8.3'],\n    test_suite='toil',\n    extras_require={\n        'mesos': [\n            'psutil==3.0.1'],\n        'aws': [\n            botoVersionRequired,\n            'cgcloud-lib==1.4a1.dev195' ],\n        'azure': [\n            'azure==1.0.3'],\n        'encryption': [\n            'pynacl==0.3.0'],\n        'google': [\n            'gcs_oauth2_boto_plugin==1.9',\n            botoVersionRequired],\n        'cwl': [\n            'cwltool==1.0.20160425140546']},\n    package_dir={'': 'src'},\n    packages=find_packages('src', exclude=['*.test']),\n    entry_points={\n        'console_scripts': [\n            'toil = toil.utils.toilMain:main',\n            '_toil_worker = toil.worker:main',\n            'cwltoil = toil.cwl.cwltoil:main [cwl]',\n            'cwl-runner = toil.cwl.cwltoil:main [cwl]',\n            '_toil_mesos_executor = toil.batchSystems.mesos.executor:main [mesos]']})\n\nfrom setuptools.command.test import test as TestCommand\n\n\nclass PyTest(TestCommand):\n    user_options = [('pytest-args=', 'a', \"Arguments to pass to py.test\")]\n\n    def initialize_options(self):\n        TestCommand.initialize_options(self)\n        self.pytest_args = []\n\n    def finalize_options(self):\n        TestCommand.finalize_options(self)\n        self.test_args = []\n        self.test_suite = True\n\n    def run_tests(self):\n        import pytest\n        # Sanitize command line arguments to avoid confusing Toil code attempting to parse them\n        sys.argv[1:] = []\n        errno = pytest.main(self.pytest_args)\n        sys.exit(errno)\n\n\nkwargs['cmdclass'] = {'test': PyTest}\n\nsetup(**kwargs)\n", "path": "setup.py"}], "after_files": [{"content": "# Copyright (C) 2015 UCSC Computational Genomics Lab\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom version import version\nfrom setuptools import find_packages, setup\n\nbotoRequirement = 'boto==2.38.0'\n\nsetup(\n    name='toil',\n    version=version,\n    description='Pipeline management software for clusters.',\n    author='Benedict Paten',\n    author_email='benedict@soe.usc.edu',\n    url=\"https://github.com/BD2KGenomics/toil\",\n    install_requires=[\n        'bd2k-python-lib==1.13.dev14'],\n    extras_require={\n        'mesos': [\n            'psutil==3.0.1'],\n        'aws': [\n            botoRequirement,\n            'cgcloud-lib==1.4a1.dev195' ],\n        'azure': [\n            'azure==1.0.3'],\n        'encryption': [\n            'pynacl==0.3.0'],\n        'google': [\n            'gcs_oauth2_boto_plugin==1.9',\n            botoRequirement],\n        'cwl': [\n            'cwltool==1.0.20160425140546']},\n    package_dir={'': 'src'},\n    packages=find_packages('src', exclude=['*.test']),\n    entry_points={\n        'console_scripts': [\n            'toil = toil.utils.toilMain:main',\n            '_toil_worker = toil.worker:main',\n            'cwltoil = toil.cwl.cwltoil:main [cwl]',\n            'cwl-runner = toil.cwl.cwltoil:main [cwl]',\n            '_toil_mesos_executor = toil.batchSystems.mesos.executor:main [mesos]']})\n", "path": "setup.py"}]}