We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
argparse dependency is only needed for Python 2.6
We currently have a dependency on argparse because it's not in stdlib for Python 2.6.  We should make this dependency specific to 2.6 and not install it for other Python versions.


--- 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 #!/usr/bin/env python
2 import os
3 import sys
4 
5 from setuptools import setup, find_packages
6 
7 import awscli
8 
9 
10 requires = ['botocore>=0.16.0,<0.17.0',
11             'bcdoc>=0.9.0,<0.10.0',
12             'six>=1.1.0',
13             'colorama==0.2.5',
14             'argparse>=1.1',
15             'docutils>=0.10',
16             'rsa==3.1.1']
17 
18 
19 setup_options = dict(
20     name='awscli',
21     version=awscli.__version__,
22     description='Universal Command Line Environment for AWS.',
23     long_description=open('README.rst').read(),
24     author='Mitch Garnaat',
25     author_email='garnaat@amazon.com',
26     url='http://aws.amazon.com/cli/',
27     scripts=['bin/aws', 'bin/aws.cmd',
28              'bin/aws_completer', 'bin/aws_zsh_completer.sh'],
29     packages=find_packages('.', exclude=['tests*']),
30     package_dir={'awscli': 'awscli'},
31     package_data={'awscli': ['data/*.json', 'examples/*/*']},
32     install_requires=requires,
33     license=open("LICENSE.txt").read(),
34     classifiers=(
35         'Development Status :: 5 - Production/Stable',
36         'Intended Audience :: Developers',
37         'Intended Audience :: System Administrators',
38         'Natural Language :: English',
39         'License :: OSI Approved :: Apache Software License',
40         'Programming Language :: Python',
41         'Programming Language :: Python :: 2.6',
42         'Programming Language :: Python :: 2.7',
43         'Programming Language :: Python :: 3',
44         'Programming Language :: Python :: 3.3',
45     ),
46 )
47 
48 if 'py2exe' in sys.argv:
49     # This will actually give us a py2exe command.
50     import py2exe
51     # And we have some py2exe specific options.
52     setup_options['options'] = {
53         'py2exe': {
54             'optimize': 0,
55             'skip_archive': True,
56             'includes': ['ConfigParser', 'urllib', 'httplib',
57                          'docutils.readers.standalone',
58                          'docutils.parsers.rst',
59                          'docutils.languages.en',
60                          'xml.etree.ElementTree', 'HTMLParser',
61                          'awscli.handlers'],
62         }
63     }
64     setup_options['console'] = ['bin/aws']
65 
66 
67 setup(**setup_options)
68
```
--- 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/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-import os
 import sys
 
 from setuptools import setup, find_packages
@@ -11,10 +10,14 @@
             'bcdoc>=0.9.0,<0.10.0',
             'six>=1.1.0',
             'colorama==0.2.5',
-            'argparse>=1.1',
             'docutils>=0.10',
             'rsa==3.1.1']
 
+if sys.version_info[:2] == (2, 6):
+    # For python2.6 we have to require argparse since it
+    # was not in stdlib until 2.7.
+    requires.append('argparse>=1.1')
+
 
 setup_options = dict(
     name='awscli',

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,5 +1,4 @@\n #!/usr/bin/env python\n-import os\n import sys\n \n from setuptools import setup, find_packages\n@@ -11,10 +10,14 @@\n             'bcdoc>=0.9.0,<0.10.0',\n             'six>=1.1.0',\n             'colorama==0.2.5',\n-            'argparse>=1.1',\n             'docutils>=0.10',\n             'rsa==3.1.1']\n \n+if sys.version_info[:2] == (2, 6):\n+    # For python2.6 we have to require argparse since it\n+    # was not in stdlib until 2.7.\n+    requires.append('argparse>=1.1')\n+\n \n setup_options = dict(\n     name='awscli',\n", "issue": "argparse dependency is only needed for Python 2.6\nWe currently have a dependency on argparse because it's not in stdlib for Python 2.6.  We should make this dependency specific to 2.6 and not install it for other Python versions.\n\n", "before_files": [{"content": "#!/usr/bin/env python\nimport os\nimport sys\n\nfrom setuptools import setup, find_packages\n\nimport awscli\n\n\nrequires = ['botocore>=0.16.0,<0.17.0',\n            'bcdoc>=0.9.0,<0.10.0',\n            'six>=1.1.0',\n            'colorama==0.2.5',\n            'argparse>=1.1',\n            'docutils>=0.10',\n            'rsa==3.1.1']\n\n\nsetup_options = dict(\n    name='awscli',\n    version=awscli.__version__,\n    description='Universal Command Line Environment for AWS.',\n    long_description=open('README.rst').read(),\n    author='Mitch Garnaat',\n    author_email='garnaat@amazon.com',\n    url='http://aws.amazon.com/cli/',\n    scripts=['bin/aws', 'bin/aws.cmd',\n             'bin/aws_completer', 'bin/aws_zsh_completer.sh'],\n    packages=find_packages('.', exclude=['tests*']),\n    package_dir={'awscli': 'awscli'},\n    package_data={'awscli': ['data/*.json', 'examples/*/*']},\n    install_requires=requires,\n    license=open(\"LICENSE.txt\").read(),\n    classifiers=(\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'Intended Audience :: System Administrators',\n        'Natural Language :: English',\n        'License :: OSI Approved :: Apache Software License',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n    ),\n)\n\nif 'py2exe' in sys.argv:\n    # This will actually give us a py2exe command.\n    import py2exe\n    # And we have some py2exe specific options.\n    setup_options['options'] = {\n        'py2exe': {\n            'optimize': 0,\n            'skip_archive': True,\n            'includes': ['ConfigParser', 'urllib', 'httplib',\n                         'docutils.readers.standalone',\n                         'docutils.parsers.rst',\n                         'docutils.languages.en',\n                         'xml.etree.ElementTree', 'HTMLParser',\n                         'awscli.handlers'],\n        }\n    }\n    setup_options['console'] = ['bin/aws']\n\n\nsetup(**setup_options)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\nimport sys\n\nfrom setuptools import setup, find_packages\n\nimport awscli\n\n\nrequires = ['botocore>=0.16.0,<0.17.0',\n            'bcdoc>=0.9.0,<0.10.0',\n            'six>=1.1.0',\n            'colorama==0.2.5',\n            'docutils>=0.10',\n            'rsa==3.1.1']\n\nif sys.version_info[:2] == (2, 6):\n    # For python2.6 we have to require argparse since it\n    # was not in stdlib until 2.7.\n    requires.append('argparse>=1.1')\n\n\nsetup_options = dict(\n    name='awscli',\n    version=awscli.__version__,\n    description='Universal Command Line Environment for AWS.',\n    long_description=open('README.rst').read(),\n    author='Mitch Garnaat',\n    author_email='garnaat@amazon.com',\n    url='http://aws.amazon.com/cli/',\n    scripts=['bin/aws', 'bin/aws.cmd',\n             'bin/aws_completer', 'bin/aws_zsh_completer.sh'],\n    packages=find_packages('.', exclude=['tests*']),\n    package_dir={'awscli': 'awscli'},\n    package_data={'awscli': ['data/*.json', 'examples/*/*']},\n    install_requires=requires,\n    license=open(\"LICENSE.txt\").read(),\n    classifiers=(\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'Intended Audience :: System Administrators',\n        'Natural Language :: English',\n        'License :: OSI Approved :: Apache Software License',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n    ),\n)\n\nif 'py2exe' in sys.argv:\n    # This will actually give us a py2exe command.\n    import py2exe\n    # And we have some py2exe specific options.\n    setup_options['options'] = {\n        'py2exe': {\n            'optimize': 0,\n            'skip_archive': True,\n            'includes': ['ConfigParser', 'urllib', 'httplib',\n                         'docutils.readers.standalone',\n                         'docutils.parsers.rst',\n                         'docutils.languages.en',\n                         'xml.etree.ElementTree', 'HTMLParser',\n                         'awscli.handlers'],\n        }\n    }\n    setup_options['console'] = ['bin/aws']\n\n\nsetup(**setup_options)\n", "path": "setup.py"}]}