We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Add py3.8 to the test matrix
Adds py3.8 to the test matrix

--- 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 import os
5 import re
6 import sys
7 import platform
8 
9 from setuptools import setup
10 
11 
12 def get_version(package):
13     """
14     Return package version as listed in `__version__` in `init.py`.
15     """
16     path = os.path.join(package, '__init__.py')
17     init_py = open(path, 'r', encoding='utf8').read()
18     return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1)
19 
20 
21 def get_long_description():
22     """
23     Return the README.
24     """
25     return open('README.md', 'r', encoding='utf8').read()
26 
27 
28 def get_packages(package):
29     """
30     Return root package and all sub-packages.
31     """
32     return [dirpath
33             for dirpath, dirnames, filenames in os.walk(package)
34             if os.path.exists(os.path.join(dirpath, '__init__.py'))]
35 
36 
37 env_marker = (
38     "sys_platform != 'win32'"
39     " and sys_platform != 'cygwin'"
40     " and platform_python_implementation != 'pypy'"
41 )
42 
43 requirements = [
44     "click==7.*",
45     "h11==0.8.*",
46     "websockets==8.*",
47     "httptools==0.0.13 ;" + env_marker,
48     "uvloop==0.* ;" + env_marker,
49 ]
50 
51 
52 setup(
53     name='uvicorn',
54     version=get_version('uvicorn'),
55     url='https://github.com/encode/uvicorn',
56     license='BSD',
57     description='The lightning-fast ASGI server.',
58     long_description=get_long_description(),
59     long_description_content_type='text/markdown',
60     author='Tom Christie',
61     author_email='tom@tomchristie.com',
62     packages=get_packages('uvicorn'),
63     install_requires=requirements,
64     data_files = [("", ["LICENSE.md"])],
65     classifiers=[
66         'Development Status :: 3 - Alpha',
67         'Environment :: Web Environment',
68         'Intended Audience :: Developers',
69         'License :: OSI Approved :: BSD License',
70         'Operating System :: OS Independent',
71         'Topic :: Internet :: WWW/HTTP',
72         'Programming Language :: Python :: 3',
73         'Programming Language :: Python :: 3.6',
74         'Programming Language :: Python :: 3.7',
75         'Programming Language :: Python :: Implementation :: CPython',
76         'Programming Language :: Python :: Implementation :: PyPy',
77     ],
78     entry_points="""
79     [console_scripts]
80     uvicorn=uvicorn.main:main
81     """
82 )
83
```
--- 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
@@ -45,7 +45,7 @@
     "h11==0.8.*",
     "websockets==8.*",
     "httptools==0.0.13 ;" + env_marker,
-    "uvloop==0.* ;" + env_marker,
+    "uvloop==0.14.0rc2 ;" + env_marker,
 ]
 
 
@@ -63,7 +63,7 @@
     install_requires=requirements,
     data_files = [("", ["LICENSE.md"])],
     classifiers=[
-        'Development Status :: 3 - Alpha',
+        'Development Status :: 4 - Beta',
         'Environment :: Web Environment',
         'Intended Audience :: Developers',
         'License :: OSI Approved :: BSD License',
@@ -72,6 +72,7 @@
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
     ],

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -45,7 +45,7 @@\n     \"h11==0.8.*\",\n     \"websockets==8.*\",\n     \"httptools==0.0.13 ;\" + env_marker,\n-    \"uvloop==0.* ;\" + env_marker,\n+    \"uvloop==0.14.0rc2 ;\" + env_marker,\n ]\n \n \n@@ -63,7 +63,7 @@\n     install_requires=requirements,\n     data_files = [(\"\", [\"LICENSE.md\"])],\n     classifiers=[\n-        'Development Status :: 3 - Alpha',\n+        'Development Status :: 4 - Beta',\n         'Environment :: Web Environment',\n         'Intended Audience :: Developers',\n         'License :: OSI Approved :: BSD License',\n@@ -72,6 +72,7 @@\n         'Programming Language :: Python :: 3',\n         'Programming Language :: Python :: 3.6',\n         'Programming Language :: Python :: 3.7',\n+        'Programming Language :: Python :: 3.8',\n         'Programming Language :: Python :: Implementation :: CPython',\n         'Programming Language :: Python :: Implementation :: PyPy',\n     ],\n", "issue": "Add py3.8 to the test matrix\nAdds py3.8 to the test matrix\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nimport os\nimport re\nimport sys\nimport platform\n\nfrom setuptools import setup\n\n\ndef get_version(package):\n    \"\"\"\n    Return package version as listed in `__version__` in `init.py`.\n    \"\"\"\n    path = os.path.join(package, '__init__.py')\n    init_py = open(path, 'r', encoding='utf8').read()\n    return re.search(\"__version__ = ['\\\"]([^'\\\"]+)['\\\"]\", init_py).group(1)\n\n\ndef get_long_description():\n    \"\"\"\n    Return the README.\n    \"\"\"\n    return open('README.md', 'r', encoding='utf8').read()\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\nenv_marker = (\n    \"sys_platform != 'win32'\"\n    \" and sys_platform != 'cygwin'\"\n    \" and platform_python_implementation != 'pypy'\"\n)\n\nrequirements = [\n    \"click==7.*\",\n    \"h11==0.8.*\",\n    \"websockets==8.*\",\n    \"httptools==0.0.13 ;\" + env_marker,\n    \"uvloop==0.* ;\" + env_marker,\n]\n\n\nsetup(\n    name='uvicorn',\n    version=get_version('uvicorn'),\n    url='https://github.com/encode/uvicorn',\n    license='BSD',\n    description='The lightning-fast ASGI server.',\n    long_description=get_long_description(),\n    long_description_content_type='text/markdown',\n    author='Tom Christie',\n    author_email='tom@tomchristie.com',\n    packages=get_packages('uvicorn'),\n    install_requires=requirements,\n    data_files = [(\"\", [\"LICENSE.md\"])],\n    classifiers=[\n        'Development Status :: 3 - Alpha',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Topic :: Internet :: WWW/HTTP',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: Implementation :: CPython',\n        'Programming Language :: Python :: Implementation :: PyPy',\n    ],\n    entry_points=\"\"\"\n    [console_scripts]\n    uvicorn=uvicorn.main:main\n    \"\"\"\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\nimport os\nimport re\nimport sys\nimport platform\n\nfrom setuptools import setup\n\n\ndef get_version(package):\n    \"\"\"\n    Return package version as listed in `__version__` in `init.py`.\n    \"\"\"\n    path = os.path.join(package, '__init__.py')\n    init_py = open(path, 'r', encoding='utf8').read()\n    return re.search(\"__version__ = ['\\\"]([^'\\\"]+)['\\\"]\", init_py).group(1)\n\n\ndef get_long_description():\n    \"\"\"\n    Return the README.\n    \"\"\"\n    return open('README.md', 'r', encoding='utf8').read()\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\nenv_marker = (\n    \"sys_platform != 'win32'\"\n    \" and sys_platform != 'cygwin'\"\n    \" and platform_python_implementation != 'pypy'\"\n)\n\nrequirements = [\n    \"click==7.*\",\n    \"h11==0.8.*\",\n    \"websockets==8.*\",\n    \"httptools==0.0.13 ;\" + env_marker,\n    \"uvloop==0.14.0rc2 ;\" + env_marker,\n]\n\n\nsetup(\n    name='uvicorn',\n    version=get_version('uvicorn'),\n    url='https://github.com/encode/uvicorn',\n    license='BSD',\n    description='The lightning-fast ASGI server.',\n    long_description=get_long_description(),\n    long_description_content_type='text/markdown',\n    author='Tom Christie',\n    author_email='tom@tomchristie.com',\n    packages=get_packages('uvicorn'),\n    install_requires=requirements,\n    data_files = [(\"\", [\"LICENSE.md\"])],\n    classifiers=[\n        'Development Status :: 4 - Beta',\n        'Environment :: Web Environment',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: BSD License',\n        'Operating System :: OS Independent',\n        'Topic :: Internet :: WWW/HTTP',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n        'Programming Language :: Python :: Implementation :: CPython',\n        'Programming Language :: Python :: Implementation :: PyPy',\n    ],\n    entry_points=\"\"\"\n    [console_scripts]\n    uvicorn=uvicorn.main:main\n    \"\"\"\n)\n", "path": "setup.py"}]}