prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Add py3.8 to the test matrix
  Adds py3.8 to the test matrix
  
  </issue>
  <code>
  [start of setup.py]
  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 of setup.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: 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',
       ],
  
verification_info: {"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"}]}