prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Update requirements
  While working with Markdown extensions (c.f. #74), I noticed that mkdocs' setup.py has its dependencies [pinned to specific patch versions](https://github.com/tomchristie/mkdocs/blob/master/setup.py#L18):
  
  ```
  install_requires = [
      'Jinja2==2.7.1',
      'Markdown==2.3.1',
      'PyYAML==3.10',
      'watchdog==0.7.0',
      'ghp-import==0.4.1'
  ]
  ```
  
  Since these dependencies are slightly out of date (e.g., [Jinja2 is at 2.7.3](https://pypi.python.org/pypi/Jinja2) and [Markdown is at 2.4.1](https://pypi.python.org/pypi/Markdown)), it's hard to use mkdocs on a system with other software. Perhaps it's a shame that Python doesn't have npm-like dependency management, but that's the way it is—you'll get a setuptools when trying to run mkdocs error if any other package upgrades Jinja to a bugfix release.
  
  How would the developers feel about loosening these version requirements? An idiomatic approach is to [just use `>=`](https://github.com/mitsuhiko/flask/blob/master/setup.py#L99).
  
  
  --- 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 # -*- coding: utf-8 -*-
  3 
  4 from __future__ import print_function
  5 from setuptools import setup
  6 import re
  7 import os
  8 import sys
  9 
  10 
  11 name = 'mkdocs'
  12 package = 'mkdocs'
  13 description = 'In progress.'
  14 url = 'http://www.mkdocs.org'
  15 author = 'Tom Christie'
  16 author_email = 'tom@tomchristie.com'
  17 license = 'BSD'
  18 install_requires = [
  19     'Jinja2==2.7.1',
  20     'Markdown==2.3.1',
  21     'PyYAML==3.10',
  22     'watchdog==0.7.0',
  23     'ghp-import==0.4.1'
  24 ]
  25 
  26 long_description = """Work in progress."""
  27 
  28 
  29 def get_version(package):
  30     """
  31     Return package version as listed in `__version__` in `init.py`.
  32     """
  33     init_py = open(os.path.join(package, '__init__.py')).read()
  34     return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
  35 
  36 
  37 def get_packages(package):
  38     """
  39     Return root package and all sub-packages.
  40     """
  41     return [dirpath
  42             for dirpath, dirnames, filenames in os.walk(package)
  43             if os.path.exists(os.path.join(dirpath, '__init__.py'))]
  44 
  45 
  46 def get_package_data(package):
  47     """
  48     Return all files under the root package, that are not in a
  49     package themselves.
  50     """
  51     walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
  52             for dirpath, dirnames, filenames in os.walk(package)
  53             if not os.path.exists(os.path.join(dirpath, '__init__.py'))]
  54 
  55     filepaths = []
  56     for base, filenames in walk:
  57         filepaths.extend([os.path.join(base, filename)
  58                           for filename in filenames])
  59     return {package: filepaths}
  60 
  61 
  62 if sys.argv[-1] == 'publish':
  63     os.system("python setup.py sdist upload")
  64     args = {'version': get_version(package)}
  65     print("You probably want to also tag the version now:")
  66     print("  git tag -a %(version)s -m 'version %(version)s'" % args)
  67     print("  git push --tags")
  68     sys.exit()
  69 
  70 
  71 setup(
  72     name=name,
  73     version=get_version(package),
  74     url=url,
  75     license=license,
  76     description=description,
  77     long_description=long_description,
  78     author=author,
  79     author_email=author_email,
  80     packages=get_packages(package),
  81     package_data=get_package_data(package),
  82     install_requires=install_requires,
  83     entry_points={
  84         'console_scripts': [
  85             'mkdocs = mkdocs.main:run_main',
  86             ],
  87         },
  88     classifiers=[
  89         'Development Status :: 5 - Production/Stable',
  90         'Environment :: Console',
  91         'Environment :: Web Environment',
  92         'Intended Audience :: Developers',
  93         'License :: OSI Approved :: BSD License',
  94         'Operating System :: OS Independent',
  95         'Programming Language :: Python',
  96         'Programming Language :: Python :: 2',
  97         'Programming Language :: Python :: 2.6',
  98         'Programming Language :: Python :: 2.7',
  99         'Programming Language :: Python :: 3',
  100         'Programming Language :: Python :: 3.3',
  101         'Programming Language :: Python :: 3.4',
  102         'Topic :: Documentation',
  103         'Topic :: Text Processing',
  104     ]
  105 )
  106
  ```
  --- 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
  @@ -16,11 +16,11 @@
   author_email = 'tom@tomchristie.com'
   license = 'BSD'
   install_requires = [
  -    'Jinja2==2.7.1',
  -    'Markdown==2.3.1',
  -    'PyYAML==3.10',
  -    'watchdog==0.7.0',
  -    'ghp-import==0.4.1'
  +    'Jinja2>=2.7.1',
  +    'Markdown>=2.3.1,<2.5',
  +    'PyYAML>=3.10',
  +    'watchdog>=0.7.0',
  +    'ghp-import>=0.4.1'
   ]
   
   long_description = """Work in progress."""
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -16,11 +16,11 @@\n author_email = 'tom@tomchristie.com'\n license = 'BSD'\n install_requires = [\n-    'Jinja2==2.7.1',\n-    'Markdown==2.3.1',\n-    'PyYAML==3.10',\n-    'watchdog==0.7.0',\n-    'ghp-import==0.4.1'\n+    'Jinja2>=2.7.1',\n+    'Markdown>=2.3.1,<2.5',\n+    'PyYAML>=3.10',\n+    'watchdog>=0.7.0',\n+    'ghp-import>=0.4.1'\n ]\n \n long_description = \"\"\"Work in progress.\"\"\"\n", "issue": "Update requirements\nWhile working with Markdown extensions (c.f. #74), I noticed that mkdocs' setup.py has its dependencies [pinned to specific patch versions](https://github.com/tomchristie/mkdocs/blob/master/setup.py#L18):\n\n```\ninstall_requires = [\n    'Jinja2==2.7.1',\n    'Markdown==2.3.1',\n    'PyYAML==3.10',\n    'watchdog==0.7.0',\n    'ghp-import==0.4.1'\n]\n```\n\nSince these dependencies are slightly out of date (e.g., [Jinja2 is at 2.7.3](https://pypi.python.org/pypi/Jinja2) and [Markdown is at 2.4.1](https://pypi.python.org/pypi/Markdown)), it's hard to use mkdocs on a system with other software. Perhaps it's a shame that Python doesn't have npm-like dependency management, but that's the way it is\u2014you'll get a setuptools when trying to run mkdocs error if any other package upgrades Jinja to a bugfix release.\n\nHow would the developers feel about loosening these version requirements? An idiomatic approach is to [just use `>=`](https://github.com/mitsuhiko/flask/blob/master/setup.py#L99).\n\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nfrom __future__ import print_function\nfrom setuptools import setup\nimport re\nimport os\nimport sys\n\n\nname = 'mkdocs'\npackage = 'mkdocs'\ndescription = 'In progress.'\nurl = 'http://www.mkdocs.org'\nauthor = 'Tom Christie'\nauthor_email = 'tom@tomchristie.com'\nlicense = 'BSD'\ninstall_requires = [\n    'Jinja2==2.7.1',\n    'Markdown==2.3.1',\n    'PyYAML==3.10',\n    'watchdog==0.7.0',\n    'ghp-import==0.4.1'\n]\n\nlong_description = \"\"\"Work in progress.\"\"\"\n\n\ndef get_version(package):\n    \"\"\"\n    Return package version as listed in `__version__` in `init.py`.\n    \"\"\"\n    init_py = open(os.path.join(package, '__init__.py')).read()\n    return re.search(\"^__version__ = ['\\\"]([^'\\\"]+)['\\\"]\", init_py, re.MULTILINE).group(1)\n\n\ndef get_packages(package):\n    \"\"\"\n    Return root package and all sub-packages.\n    \"\"\"\n    return [dirpath\n            for dirpath, dirnames, filenames in os.walk(package)\n            if os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n\ndef get_package_data(package):\n    \"\"\"\n    Return all files under the root package, that are not in a\n    package themselves.\n    \"\"\"\n    walk = [(dirpath.replace(package + os.sep, '', 1), filenames)\n            for dirpath, dirnames, filenames in os.walk(package)\n            if not os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n    filepaths = []\n    for base, filenames in walk:\n        filepaths.extend([os.path.join(base, filename)\n                          for filename in filenames])\n    return {package: filepaths}\n\n\nif sys.argv[-1] == 'publish':\n    os.system(\"python setup.py sdist upload\")\n    args = {'version': get_version(package)}\n    print(\"You probably want to also tag the version now:\")\n    print(\"  git tag -a %(version)s -m 'version %(version)s'\" % args)\n    print(\"  git push --tags\")\n    sys.exit()\n\n\nsetup(\n    name=name,\n    version=get_version(package),\n    url=url,\n    license=license,\n    description=description,\n    long_description=long_description,\n    author=author,\n    author_email=author_email,\n    packages=get_packages(package),\n    package_data=get_package_data(package),\n    install_requires=install_requires,\n    entry_points={\n        'console_scripts': [\n            'mkdocs = mkdocs.main:run_main',\n            ],\n        },\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n        'Programming Language :: Python :: 3.4',\n        'Topic :: Documentation',\n        'Topic :: Text Processing',\n    ]\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nfrom __future__ import print_function\nfrom setuptools import setup\nimport re\nimport os\nimport sys\n\n\nname = 'mkdocs'\npackage = 'mkdocs'\ndescription = 'In progress.'\nurl = 'http://www.mkdocs.org'\nauthor = 'Tom Christie'\nauthor_email = 'tom@tomchristie.com'\nlicense = 'BSD'\ninstall_requires = [\n    'Jinja2>=2.7.1',\n    'Markdown>=2.3.1,<2.5',\n    'PyYAML>=3.10',\n    'watchdog>=0.7.0',\n    'ghp-import>=0.4.1'\n]\n\nlong_description = \"\"\"Work in progress.\"\"\"\n\n\ndef get_version(package):\n    \"\"\"\n    Return package version as listed in `__version__` in `init.py`.\n    \"\"\"\n    init_py = open(os.path.join(package, '__init__.py')).read()\n    return re.search(\"^__version__ = ['\\\"]([^'\\\"]+)['\\\"]\", init_py, re.MULTILINE).group(1)\n\n\ndef get_packages(package):\n    \"\"\"\n    Return root package and all sub-packages.\n    \"\"\"\n    return [dirpath\n            for dirpath, dirnames, filenames in os.walk(package)\n            if os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n\ndef get_package_data(package):\n    \"\"\"\n    Return all files under the root package, that are not in a\n    package themselves.\n    \"\"\"\n    walk = [(dirpath.replace(package + os.sep, '', 1), filenames)\n            for dirpath, dirnames, filenames in os.walk(package)\n            if not os.path.exists(os.path.join(dirpath, '__init__.py'))]\n\n    filepaths = []\n    for base, filenames in walk:\n        filepaths.extend([os.path.join(base, filename)\n                          for filename in filenames])\n    return {package: filepaths}\n\n\nif sys.argv[-1] == 'publish':\n    os.system(\"python setup.py sdist upload\")\n    args = {'version': get_version(package)}\n    print(\"You probably want to also tag the version now:\")\n    print(\"  git tag -a %(version)s -m 'version %(version)s'\" % args)\n    print(\"  git push --tags\")\n    sys.exit()\n\n\nsetup(\n    name=name,\n    version=get_version(package),\n    url=url,\n    license=license,\n    description=description,\n    long_description=long_description,\n    author=author,\n    author_email=author_email,\n    packages=get_packages(package),\n    package_data=get_package_data(package),\n    install_requires=install_requires,\n    entry_points={\n        'console_scripts': [\n            'mkdocs = mkdocs.main:run_main',\n            ],\n        },\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python',\n        'Programming Language :: Python :: 2',\n        'Programming Language :: Python :: 2.6',\n        'Programming Language :: Python :: 2.7',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.3',\n        'Programming Language :: Python :: 3.4',\n        'Topic :: Documentation',\n        'Topic :: Text Processing',\n    ]\n)\n", "path": "setup.py"}]}