prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  [DO NOT MERGE] Test
  
  
  </issue>
  <code>
  [start of setup.py]
  1 #!/usr/bin/env python
  2 
  3 #
  4 # Copyright (C) 2019 Databricks, Inc.
  5 #
  6 # Licensed under the Apache License, Version 2.0 (the "License");
  7 # you may not use this file except in compliance with the License.
  8 # You may obtain a copy of the License at
  9 #
  10 #     http://www.apache.org/licenses/LICENSE-2.0
  11 #
  12 # Unless required by applicable law or agreed to in writing, software
  13 # distributed under the License is distributed on an "AS IS" BASIS,
  14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15 # See the License for the specific language governing permissions and
  16 # limitations under the License.
  17 #
  18 
  19 import sys
  20 from setuptools import setup
  21 from os import path
  22 
  23 DESCRIPTION = "Koalas: pandas API on Apache Spark"
  24 
  25 this_directory = path.abspath(path.dirname(__file__))
  26 with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
  27     LONG_DESCRIPTION = f.read()
  28 
  29 try:
  30     exec(open('databricks/koalas/version.py').read())
  31 except IOError:
  32     print("Failed to load Koalas version file for packaging. You must be in Koalas root dir.",
  33           file=sys.stderr)
  34     sys.exit(-1)
  35 VERSION = __version__  # noqa
  36 
  37 setup(
  38     name='koalas',
  39     version=VERSION,
  40     packages=['databricks', 'databricks.koalas', 'databricks.koalas.missing',
  41               'databricks.koalas.usage_logging'],
  42     extras_require={
  43         'spark': ['pyspark>=2.4.0'],
  44         'mlflow': ['mlflow>=1.0'],
  45     },
  46     python_requires='>=3.5',
  47     install_requires=[
  48         'pandas>=0.23',
  49         'pyarrow>=0.10',
  50         'numpy>=1.14',
  51         'matplotlib>=3.0.0',
  52     ],
  53     maintainer="Databricks",
  54     maintainer_email="koalas@databricks.com",
  55     license='http://www.apache.org/licenses/LICENSE-2.0',
  56     url="https://github.com/databricks/koalas",
  57     project_urls={
  58         'Bug Tracker': 'https://github.com/databricks/koalas/issues',
  59         'Documentation': 'https://koalas.readthedocs.io/',
  60         'Source Code': 'https://github.com/databricks/koalas'
  61     },
  62     description=DESCRIPTION,
  63     long_description=LONG_DESCRIPTION,
  64     long_description_content_type='text/markdown',
  65     classifiers=[
  66         'Programming Language :: Python :: 3.5',
  67         'Programming Language :: Python :: 3.6',
  68         'Programming Language :: Python :: 3.7',
  69     ],
  70 )
  71
  [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 @@
       },
       python_requires='>=3.5',
       install_requires=[
  -        'pandas>=0.23',
  +        'pandas>=0.23.2',
           'pyarrow>=0.10',
           'numpy>=1.14',
           'matplotlib>=3.0.0',
  
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     },\n     python_requires='>=3.5',\n     install_requires=[\n-        'pandas>=0.23',\n+        'pandas>=0.23.2',\n         'pyarrow>=0.10',\n         'numpy>=1.14',\n         'matplotlib>=3.0.0',\n", "issue": "[DO NOT MERGE] Test\n\n", "before_files": [{"content": "#!/usr/bin/env python\n\n#\n# Copyright (C) 2019 Databricks, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n\nimport sys\nfrom setuptools import setup\nfrom os import path\n\nDESCRIPTION = \"Koalas: pandas API on Apache Spark\"\n\nthis_directory = path.abspath(path.dirname(__file__))\nwith open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:\n    LONG_DESCRIPTION = f.read()\n\ntry:\n    exec(open('databricks/koalas/version.py').read())\nexcept IOError:\n    print(\"Failed to load Koalas version file for packaging. You must be in Koalas root dir.\",\n          file=sys.stderr)\n    sys.exit(-1)\nVERSION = __version__  # noqa\n\nsetup(\n    name='koalas',\n    version=VERSION,\n    packages=['databricks', 'databricks.koalas', 'databricks.koalas.missing',\n              'databricks.koalas.usage_logging'],\n    extras_require={\n        'spark': ['pyspark>=2.4.0'],\n        'mlflow': ['mlflow>=1.0'],\n    },\n    python_requires='>=3.5',\n    install_requires=[\n        'pandas>=0.23',\n        'pyarrow>=0.10',\n        'numpy>=1.14',\n        'matplotlib>=3.0.0',\n    ],\n    maintainer=\"Databricks\",\n    maintainer_email=\"koalas@databricks.com\",\n    license='http://www.apache.org/licenses/LICENSE-2.0',\n    url=\"https://github.com/databricks/koalas\",\n    project_urls={\n        'Bug Tracker': 'https://github.com/databricks/koalas/issues',\n        'Documentation': 'https://koalas.readthedocs.io/',\n        'Source Code': 'https://github.com/databricks/koalas'\n    },\n    description=DESCRIPTION,\n    long_description=LONG_DESCRIPTION,\n    long_description_content_type='text/markdown',\n    classifiers=[\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n        'Programming Language :: Python :: 3.7',\n    ],\n)\n", "path": "setup.py"}]}