prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Removing astropy_helpers section in CONTRIBUTING.rst
  <!-- This comments are hidden when you submit the issue so you do not need to remove them!
  Please be sure to check out our contributing guidelines: https://github.com/sunpy/sunpy/blob/master/CONTRIBUTING.rst
  Please be sure to check out our code of conduct:
  https://github.com/sunpy/sunpy/blob/master/CODE_OF_CONDUCT.rst -->
  
  <!-- Please have a search on our GitHub repository to see if a similar issue has already been posted.
  If a similar issue is closed, have a quick look to see if you are satisfied by the resolution.
  If not please go ahead and open an issue! -->
  
  ### Description
  <!-- Provide a general description of the bug. -->
  As of PR https://github.com/sunpy/sunpy/pull/3598, sunpy no longer needs `astropy_helpers`, and even it is removed from the package.
  I think there should not be a section of Astropy Helpers in contribution guidelines as well.
  
  </issue>
  <code>
  [start of sunpy/version.py]
  1 # This file is for compatibility with astropy_helpers
  2 version = 'unknown.dev'
  3 try:
  4     from importlib_metadata import version as _version, PackageNotFoundError
  5     version = _version('sunpy')
  6 except ImportError:
  7     from pkg_resources import get_distribution, DistributionNotFound
  8     try:
  9         version = get_distribution("sunpy").version
  10     except DistributionNotFound:
  11         pass
  12 except PackageNotFoundError:
  13     pass
  14
  [end of sunpy/version.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/sunpy/version.py b/sunpy/version.py
  deleted file mode 100644
  --- a/sunpy/version.py
  +++ /dev/null
  @@ -1,13 +0,0 @@
  -# This file is for compatibility with astropy_helpers
  -version = 'unknown.dev'
  -try:
  -    from importlib_metadata import version as _version, PackageNotFoundError
  -    version = _version('sunpy')
  -except ImportError:
  -    from pkg_resources import get_distribution, DistributionNotFound
  -    try:
  -        version = get_distribution("sunpy").version
  -    except DistributionNotFound:
  -        pass
  -except PackageNotFoundError:
  -    pass
  
verification_info: {"golden_diff": "diff --git a/sunpy/version.py b/sunpy/version.py\ndeleted file mode 100644\n--- a/sunpy/version.py\n+++ /dev/null\n@@ -1,13 +0,0 @@\n-# This file is for compatibility with astropy_helpers\n-version = 'unknown.dev'\n-try:\n-    from importlib_metadata import version as _version, PackageNotFoundError\n-    version = _version('sunpy')\n-except ImportError:\n-    from pkg_resources import get_distribution, DistributionNotFound\n-    try:\n-        version = get_distribution(\"sunpy\").version\n-    except DistributionNotFound:\n-        pass\n-except PackageNotFoundError:\n-    pass\n", "issue": "Removing astropy_helpers section in CONTRIBUTING.rst\n<!-- This comments are hidden when you submit the issue so you do not need to remove them!\r\nPlease be sure to check out our contributing guidelines: https://github.com/sunpy/sunpy/blob/master/CONTRIBUTING.rst\r\nPlease be sure to check out our code of conduct:\r\nhttps://github.com/sunpy/sunpy/blob/master/CODE_OF_CONDUCT.rst -->\r\n\r\n<!-- Please have a search on our GitHub repository to see if a similar issue has already been posted.\r\nIf a similar issue is closed, have a quick look to see if you are satisfied by the resolution.\r\nIf not please go ahead and open an issue! -->\r\n\r\n### Description\r\n<!-- Provide a general description of the bug. -->\r\nAs of PR https://github.com/sunpy/sunpy/pull/3598, sunpy no longer needs `astropy_helpers`, and even it is removed from the package.\r\nI think there should not be a section of Astropy Helpers in contribution guidelines as well.\n", "before_files": [{"content": "# This file is for compatibility with astropy_helpers\nversion = 'unknown.dev'\ntry:\n    from importlib_metadata import version as _version, PackageNotFoundError\n    version = _version('sunpy')\nexcept ImportError:\n    from pkg_resources import get_distribution, DistributionNotFound\n    try:\n        version = get_distribution(\"sunpy\").version\n    except DistributionNotFound:\n        pass\nexcept PackageNotFoundError:\n    pass\n", "path": "sunpy/version.py"}]}