prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  deprecate python 3.5
  sklearn 0.23 and above don't support 3.5
  
  </issue>
  <code>
  [start of setup.py]
  1 import os
  2 import sys
  3 from setuptools import setup, find_packages
  4 from sys import platform
  5 
  6 PACKAGE_NAME = "graspy"
  7 DESCRIPTION = "A set of python modules for graph statistics"
  8 with open("README.md", "r") as f:
  9     LONG_DESCRIPTION = f.read()
  10 AUTHOR = ("Eric Bridgeford, Jaewon Chung, Benjamin Pedigo, Bijan Varjavand",)
  11 AUTHOR_EMAIL = "j1c@jhu.edu"
  12 URL = "https://github.com/neurodata/graspy"
  13 MINIMUM_PYTHON_VERSION = 3, 5  # Minimum of Python 3.5
  14 REQUIRED_PACKAGES = [
  15     "networkx>=2.1",
  16     "numpy>=1.8.1",
  17     "scikit-learn>=0.19.1",
  18     "scipy>=1.1.0",
  19     "seaborn>=0.9.0",
  20     "matplotlib>=3.0.0",
  21 ]
  22 
  23 # Find GraSPy version.
  24 PROJECT_PATH = os.path.dirname(os.path.abspath(__file__))
  25 for line in open(os.path.join(PROJECT_PATH, "graspy", "__init__.py")):
  26     if line.startswith("__version__ = "):
  27         VERSION = line.strip().split()[2][1:-1]
  28 
  29 
  30 def check_python_version():
  31     """Exit when the Python version is too low."""
  32     if sys.version_info < MINIMUM_PYTHON_VERSION:
  33         sys.exit("Python {}.{}+ is required.".format(*MINIMUM_PYTHON_VERSION))
  34 
  35 
  36 check_python_version()
  37 
  38 setup(
  39     name=PACKAGE_NAME,
  40     version=VERSION,
  41     description=DESCRIPTION,
  42     long_description=LONG_DESCRIPTION,
  43     long_description_content_type="text/markdown",
  44     author=AUTHOR,
  45     author_email=AUTHOR_EMAIL,
  46     install_requires=REQUIRED_PACKAGES,
  47     url=URL,
  48     license="Apache License 2.0",
  49     classifiers=[
  50         "Development Status :: 3 - Alpha",
  51         "Intended Audience :: Science/Research",
  52         "Topic :: Scientific/Engineering :: Mathematics",
  53         "License :: OSI Approved :: Apache Software License",
  54         "Programming Language :: Python :: 3",
  55         "Programming Language :: Python :: 3.5",
  56         "Programming Language :: Python :: 3.6",
  57         "Programming Language :: Python :: 3.7",
  58     ],
  59     packages=find_packages(),
  60     include_package_data=True,
  61 )
  62
  [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
  @@ -10,7 +10,7 @@
   AUTHOR = ("Eric Bridgeford, Jaewon Chung, Benjamin Pedigo, Bijan Varjavand",)
   AUTHOR_EMAIL = "j1c@jhu.edu"
   URL = "https://github.com/neurodata/graspy"
  -MINIMUM_PYTHON_VERSION = 3, 5  # Minimum of Python 3.5
  +MINIMUM_PYTHON_VERSION = 3, 6  # Minimum of Python 3.5
   REQUIRED_PACKAGES = [
       "networkx>=2.1",
       "numpy>=1.8.1",
  @@ -52,7 +52,6 @@
           "Topic :: Scientific/Engineering :: Mathematics",
           "License :: OSI Approved :: Apache Software License",
           "Programming Language :: Python :: 3",
  -        "Programming Language :: Python :: 3.5",
           "Programming Language :: Python :: 3.6",
           "Programming Language :: Python :: 3.7",
       ],
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -10,7 +10,7 @@\n AUTHOR = (\"Eric Bridgeford, Jaewon Chung, Benjamin Pedigo, Bijan Varjavand\",)\n AUTHOR_EMAIL = \"j1c@jhu.edu\"\n URL = \"https://github.com/neurodata/graspy\"\n-MINIMUM_PYTHON_VERSION = 3, 5  # Minimum of Python 3.5\n+MINIMUM_PYTHON_VERSION = 3, 6  # Minimum of Python 3.5\n REQUIRED_PACKAGES = [\n     \"networkx>=2.1\",\n     \"numpy>=1.8.1\",\n@@ -52,7 +52,6 @@\n         \"Topic :: Scientific/Engineering :: Mathematics\",\n         \"License :: OSI Approved :: Apache Software License\",\n         \"Programming Language :: Python :: 3\",\n-        \"Programming Language :: Python :: 3.5\",\n         \"Programming Language :: Python :: 3.6\",\n         \"Programming Language :: Python :: 3.7\",\n     ],\n", "issue": "deprecate python 3.5\nsklearn 0.23 and above don't support 3.5\n", "before_files": [{"content": "import os\nimport sys\nfrom setuptools import setup, find_packages\nfrom sys import platform\n\nPACKAGE_NAME = \"graspy\"\nDESCRIPTION = \"A set of python modules for graph statistics\"\nwith open(\"README.md\", \"r\") as f:\n    LONG_DESCRIPTION = f.read()\nAUTHOR = (\"Eric Bridgeford, Jaewon Chung, Benjamin Pedigo, Bijan Varjavand\",)\nAUTHOR_EMAIL = \"j1c@jhu.edu\"\nURL = \"https://github.com/neurodata/graspy\"\nMINIMUM_PYTHON_VERSION = 3, 5  # Minimum of Python 3.5\nREQUIRED_PACKAGES = [\n    \"networkx>=2.1\",\n    \"numpy>=1.8.1\",\n    \"scikit-learn>=0.19.1\",\n    \"scipy>=1.1.0\",\n    \"seaborn>=0.9.0\",\n    \"matplotlib>=3.0.0\",\n]\n\n# Find GraSPy version.\nPROJECT_PATH = os.path.dirname(os.path.abspath(__file__))\nfor line in open(os.path.join(PROJECT_PATH, \"graspy\", \"__init__.py\")):\n    if line.startswith(\"__version__ = \"):\n        VERSION = line.strip().split()[2][1:-1]\n\n\ndef check_python_version():\n    \"\"\"Exit when the Python version is too low.\"\"\"\n    if sys.version_info < MINIMUM_PYTHON_VERSION:\n        sys.exit(\"Python {}.{}+ is required.\".format(*MINIMUM_PYTHON_VERSION))\n\n\ncheck_python_version()\n\nsetup(\n    name=PACKAGE_NAME,\n    version=VERSION,\n    description=DESCRIPTION,\n    long_description=LONG_DESCRIPTION,\n    long_description_content_type=\"text/markdown\",\n    author=AUTHOR,\n    author_email=AUTHOR_EMAIL,\n    install_requires=REQUIRED_PACKAGES,\n    url=URL,\n    license=\"Apache License 2.0\",\n    classifiers=[\n        \"Development Status :: 3 - Alpha\",\n        \"Intended Audience :: Science/Research\",\n        \"Topic :: Scientific/Engineering :: Mathematics\",\n        \"License :: OSI Approved :: Apache Software License\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n    ],\n    packages=find_packages(),\n    include_package_data=True,\n)\n", "path": "setup.py"}]}