prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add Django 2.2.x
  Add a testenv in tox.ini for Django 2.2.
  Add "Framework :: Django :: 2.2" to ``setup.py``.
  Update README to add version `2.2`.
  
  
  --- 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.8.0',
  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         'mock',
  50         'pytest < 4.2.0',
  51         'pytest-cov',
  52         'pytest-django',
  53     ],
  54 
  55     # Contain tools that assists the development
  56     'devtools': [
  57         'django-debug-toolbar == 1.7',
  58         'tox',
  59         'django-extensions',
  60         'pygraphviz',
  61         'future-breakpoint',
  62     ],
  63 
  64     # Required packages required to run async tasks
  65     'async': [
  66         'celery == 4.2.0',
  67     ],
  68 
  69     'multiauth': [
  70         'social-auth-app-django == 3.1.0',
  71     ]
  72 }
  73 
  74 setup(
  75     name='Nitrate',
  76     version=pkg_version,
  77     description='Test Case Management System',
  78     long_description=get_long_description(),
  79     author='Nitrate Team',
  80     maintainer='Chenxiong Qi',
  81     maintainer_email='qcxhome@gmail.com',
  82     url='https://github.com/Nitrate/Nitrate/',
  83     license='GPLv2+',
  84     keywords='test case',
  85     install_requires=install_requires,
  86     extras_require=extras_require,
  87     python_requires='>=3.6',
  88     package_dir={'': 'src'},
  89     packages=find_packages('src', exclude=['test*']),
  90     include_package_data=True,
  91     zip_safe=False,
  92     classifiers=[
  93         'Framework :: Django',
  94         'Framework :: Django :: 2.0',
  95         'Framework :: Django :: 2.1',
  96         'Intended Audience :: Developers',
  97         'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
  98         'Programming Language :: Python :: 3',
  99         'Programming Language :: Python :: 3.6',
  100         'Programming Language :: Python :: 3.7',
  101         'Programming Language :: Python :: 3 :: Only',
  102         'Topic :: Software Development :: Quality Assurance',
  103         'Topic :: Software Development :: Testing',
  104     ],
  105     project_urls={
  106         'Issue Tracker': 'https://github.com/Nitrate/Nitrate/issues',
  107         'Source Code': 'https://github.com/Nitrate/Nitrate',
  108         'Documentation': 'https://nitrate.readthedocs.io/',
  109     },
  110 )
  111
  ```
  --- 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
  @@ -93,6 +93,7 @@
           'Framework :: Django',
           'Framework :: Django :: 2.0',
           'Framework :: Django :: 2.1',
  +        'Framework :: Django :: 2.2',
           'Intended Audience :: Developers',
           'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
           'Programming Language :: Python :: 3',
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -93,6 +93,7 @@\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", "issue": "Add Django 2.2.x\nAdd a testenv in tox.ini for Django 2.2.\r\nAdd \"Framework :: Django :: 2.2\" to ``setup.py``.\r\nUpdate README to add version `2.2`.\r\n\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.8.0',\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        'mock',\n        'pytest < 4.2.0',\n        'pytest-cov',\n        'pytest-django',\n    ],\n\n    # Contain tools that assists the development\n    'devtools': [\n        'django-debug-toolbar == 1.7',\n        'tox',\n        'django-extensions',\n        'pygraphviz',\n        'future-breakpoint',\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',\n    version=pkg_version,\n    description='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        '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.0,<3.0',\n    'django-contrib-comments == 1.8.0',\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        'mock',\n        'pytest < 4.2.0',\n        'pytest-cov',\n        'pytest-django',\n    ],\n\n    # Contain tools that assists the development\n    'devtools': [\n        'django-debug-toolbar == 1.7',\n        'tox',\n        'django-extensions',\n        'pygraphviz',\n        'future-breakpoint',\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',\n    version=pkg_version,\n    description='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"}]}