prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Remove Django 2.0
  Django 2.0 is not supported and marked as insecure. Refer to https://docs.djangoproject.com/en/2.0/
  
  --- 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 # -*- coding: utf-8 -*-
  2 
  3 from setuptools import setup, find_packages
  4 
  5 
  6 with open('VERSION.txt', 'r') as f:
  7     pkg_version = f.read().strip()
  8 
  9 
  10 def get_long_description():
  11     with open('README.rst', 'r') as f:
  12         return f.read()
  13 
  14 
  15 install_requires = [
  16     'beautifulsoup4 >= 4.1.1',
  17     'django >= 2.0,<3.0',
  18     'django-contrib-comments == 1.9.1',
  19     'django-tinymce == 2.7.0',
  20     'django-uuslug == 1.1.8',
  21     'html2text',
  22     'odfpy >= 0.9.6',
  23     'python-bugzilla',
  24     'xmltodict',
  25     'kobo == 0.9.0'
  26 ]
  27 
  28 extras_require = {
  29     'mysql': ['mysqlclient >= 1.2.3'],
  30     'pgsql': ['psycopg2 == 2.7.5'],
  31 
  32     # Required for tcms.auth.backends.KerberosBackend
  33     'krbauth': [
  34         'kerberos == 1.2.5'
  35     ],
  36 
  37     # Packages for building documentation
  38     'docs': [
  39         'Sphinx >= 1.1.2',
  40         'sphinx_rtd_theme',
  41     ],
  42 
  43     # Necessary packages for running tests
  44     'tests': [
  45         'beautifulsoup4',
  46         'coverage',
  47         'factory_boy',
  48         'flake8',
  49         'pytest',
  50         'pytest-cov',
  51         'pytest-django',
  52     ],
  53 
  54     # Contain tools that assists the development
  55     'devtools': [
  56         'django-debug-toolbar',
  57         'tox',
  58         'django-extensions',
  59         'pygraphviz',
  60     ],
  61 
  62     # Required packages required to run async tasks
  63     'async': [
  64         'celery == 4.2.0',
  65     ],
  66 
  67     'multiauth': [
  68         'social-auth-app-django == 3.1.0',
  69     ]
  70 }
  71 
  72 setup(
  73     name='nitrate-tcms',
  74     version=pkg_version,
  75     description='A full-featured Test Case Management System',
  76     long_description=get_long_description(),
  77     author='Nitrate Team',
  78     maintainer='Chenxiong Qi',
  79     maintainer_email='qcxhome@gmail.com',
  80     url='https://github.com/Nitrate/Nitrate/',
  81     license='GPLv2+',
  82     keywords='test case',
  83     install_requires=install_requires,
  84     extras_require=extras_require,
  85     python_requires='>=3.6',
  86     package_dir={'': 'src'},
  87     packages=find_packages('src', exclude=['test*']),
  88     include_package_data=True,
  89     zip_safe=False,
  90     classifiers=[
  91         'Framework :: Django',
  92         'Framework :: Django :: 2.0',
  93         'Framework :: Django :: 2.1',
  94         'Framework :: Django :: 2.2',
  95         'Intended Audience :: Developers',
  96         'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
  97         'Programming Language :: Python :: 3',
  98         'Programming Language :: Python :: 3.6',
  99         'Programming Language :: Python :: 3.7',
  100         'Programming Language :: Python :: 3 :: Only',
  101         'Topic :: Software Development :: Quality Assurance',
  102         'Topic :: Software Development :: Testing',
  103     ],
  104     project_urls={
  105         'Issue Tracker': 'https://github.com/Nitrate/Nitrate/issues',
  106         'Source Code': 'https://github.com/Nitrate/Nitrate',
  107         'Documentation': 'https://nitrate.readthedocs.io/',
  108     },
  109 )
  110
  ```
  --- 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
  @@ -14,7 +14,7 @@
   
   install_requires = [
       'beautifulsoup4 >= 4.1.1',
  -    'django >= 2.0,<3.0',
  +    'django >= 2.1,<3.0',
       'django-contrib-comments == 1.9.1',
       'django-tinymce == 2.7.0',
       'django-uuslug == 1.1.8',
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -14,7 +14,7 @@\n \n install_requires = [\n     'beautifulsoup4 >= 4.1.1',\n-    'django >= 2.0,<3.0',\n+    'django >= 2.1,<3.0',\n     'django-contrib-comments == 1.9.1',\n     'django-tinymce == 2.7.0',\n     'django-uuslug == 1.1.8',\n", "issue": "Remove Django 2.0\nDjango 2.0 is not supported and marked as insecure. Refer to https://docs.djangoproject.com/en/2.0/\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom setuptools import setup, find_packages\n\n\nwith open('VERSION.txt', 'r') as f:\n    pkg_version = f.read().strip()\n\n\ndef get_long_description():\n    with open('README.rst', 'r') as f:\n        return f.read()\n\n\ninstall_requires = [\n    'beautifulsoup4 >= 4.1.1',\n    'django >= 2.0,<3.0',\n    'django-contrib-comments == 1.9.1',\n    'django-tinymce == 2.7.0',\n    'django-uuslug == 1.1.8',\n    'html2text',\n    'odfpy >= 0.9.6',\n    'python-bugzilla',\n    'xmltodict',\n    'kobo == 0.9.0'\n]\n\nextras_require = {\n    'mysql': ['mysqlclient >= 1.2.3'],\n    'pgsql': ['psycopg2 == 2.7.5'],\n\n    # Required for tcms.auth.backends.KerberosBackend\n    'krbauth': [\n        'kerberos == 1.2.5'\n    ],\n\n    # Packages for building documentation\n    'docs': [\n        'Sphinx >= 1.1.2',\n        'sphinx_rtd_theme',\n    ],\n\n    # Necessary packages for running tests\n    'tests': [\n        'beautifulsoup4',\n        'coverage',\n        'factory_boy',\n        'flake8',\n        'pytest',\n        'pytest-cov',\n        'pytest-django',\n    ],\n\n    # Contain tools that assists the development\n    'devtools': [\n        'django-debug-toolbar',\n        'tox',\n        'django-extensions',\n        'pygraphviz',\n    ],\n\n    # Required packages required to run async tasks\n    'async': [\n        'celery == 4.2.0',\n    ],\n\n    'multiauth': [\n        'social-auth-app-django == 3.1.0',\n    ]\n}\n\nsetup(\n    name='nitrate-tcms',\n    version=pkg_version,\n    description='A full-featured Test Case Management System',\n    long_description=get_long_description(),\n    author='Nitrate Team',\n    maintainer='Chenxiong Qi',\n    maintainer_email='qcxhome@gmail.com',\n    url='https://github.com/Nitrate/Nitrate/',\n    license='GPLv2+',\n    keywords='test case',\n    install_requires=install_requires,\n    extras_require=extras_require,\n    python_requires='>=3.6',\n    package_dir={'': 'src'},\n    packages=find_packages('src', exclude=['test*']),\n    include_package_data=True,\n    zip_safe=False,\n    classifiers=[\n        'Framework :: Django',\n        'Framework :: Django :: 2.0',\n        'Framework :: Django :: 2.1',\n        'Framework :: Django :: 2.2',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3 :: Only',\n        'Topic :: Software Development :: Quality Assurance',\n        'Topic :: Software Development :: Testing',\n    ],\n    project_urls={\n        'Issue Tracker': 'https://github.com/Nitrate/Nitrate/issues',\n        'Source Code': 'https://github.com/Nitrate/Nitrate',\n        'Documentation': 'https://nitrate.readthedocs.io/',\n    },\n)\n", "path": "setup.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom setuptools import setup, find_packages\n\n\nwith open('VERSION.txt', 'r') as f:\n    pkg_version = f.read().strip()\n\n\ndef get_long_description():\n    with open('README.rst', 'r') as f:\n        return f.read()\n\n\ninstall_requires = [\n    'beautifulsoup4 >= 4.1.1',\n    'django >= 2.1,<3.0',\n    'django-contrib-comments == 1.9.1',\n    'django-tinymce == 2.7.0',\n    'django-uuslug == 1.1.8',\n    'html2text',\n    'odfpy >= 0.9.6',\n    'python-bugzilla',\n    'xmltodict',\n    'kobo == 0.9.0'\n]\n\nextras_require = {\n    'mysql': ['mysqlclient >= 1.2.3'],\n    'pgsql': ['psycopg2 == 2.7.5'],\n\n    # Required for tcms.auth.backends.KerberosBackend\n    'krbauth': [\n        'kerberos == 1.2.5'\n    ],\n\n    # Packages for building documentation\n    'docs': [\n        'Sphinx >= 1.1.2',\n        'sphinx_rtd_theme',\n    ],\n\n    # Necessary packages for running tests\n    'tests': [\n        'beautifulsoup4',\n        'coverage',\n        'factory_boy',\n        'flake8',\n        'pytest',\n        'pytest-cov',\n        'pytest-django',\n    ],\n\n    # Contain tools that assists the development\n    'devtools': [\n        'django-debug-toolbar',\n        'tox',\n        'django-extensions',\n        'pygraphviz',\n    ],\n\n    # Required packages required to run async tasks\n    'async': [\n        'celery == 4.2.0',\n    ],\n\n    'multiauth': [\n        'social-auth-app-django == 3.1.0',\n    ]\n}\n\nsetup(\n    name='nitrate-tcms',\n    version=pkg_version,\n    description='A full-featured Test Case Management System',\n    long_description=get_long_description(),\n    author='Nitrate Team',\n    maintainer='Chenxiong Qi',\n    maintainer_email='qcxhome@gmail.com',\n    url='https://github.com/Nitrate/Nitrate/',\n    license='GPLv2+',\n    keywords='test case',\n    install_requires=install_requires,\n    extras_require=extras_require,\n    python_requires='>=3.6',\n    package_dir={'': 'src'},\n    packages=find_packages('src', exclude=['test*']),\n    include_package_data=True,\n    zip_safe=False,\n    classifiers=[\n        'Framework :: Django',\n        'Framework :: Django :: 2.0',\n        'Framework :: Django :: 2.1',\n        'Framework :: Django :: 2.2',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3 :: Only',\n        'Topic :: Software Development :: Quality Assurance',\n        'Topic :: Software Development :: Testing',\n    ],\n    project_urls={\n        'Issue Tracker': 'https://github.com/Nitrate/Nitrate/issues',\n        'Source Code': 'https://github.com/Nitrate/Nitrate',\n        'Documentation': 'https://nitrate.readthedocs.io/',\n    },\n)\n", "path": "setup.py"}]}