prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Release new version to fix scipy tests
  https://github.com/librosa/librosa/commit/12dee8eabed7df14c5622b52c05393ddfeb11f4b fixed compatibility with scipy in tests but it's not included in any release.
  We rely as downstream packagers on tests to ensure all python dependencies play well together.
  
  </issue>
  <code>
  [start of librosa/version.py]
  1 #!/usr/bin/env python
  2 # -*- coding: utf-8 -*-
  3 """Version info"""
  4 
  5 import sys
  6 import importlib
  7 
  8 short_version = "0.10"
  9 version = "0.10.1dev"
  10 
  11 
  12 def __get_mod_version(modname):
  13     try:
  14         if modname in sys.modules:
  15             mod = sys.modules[modname]
  16         else:
  17             mod = importlib.import_module(modname)
  18         try:
  19             return mod.__version__
  20         except AttributeError:
  21             return "installed, no version number available"
  22 
  23     except ImportError:
  24         return None
  25 
  26 
  27 def show_versions() -> None:
  28     """Return the version information for all librosa dependencies."""
  29     core_deps = [
  30         "audioread",
  31         "numpy",
  32         "scipy",
  33         "sklearn",
  34         "joblib",
  35         "decorator",
  36         "numba",
  37         "soundfile",
  38         "pooch",
  39         "soxr",
  40         "typing_extensions",
  41         "lazy_loader",
  42         "msgpack",
  43     ]
  44 
  45     extra_deps = [
  46         "numpydoc",
  47         "sphinx",
  48         "sphinx_rtd_theme",
  49         "matplotlib",
  50         "sphinx_multiversion",
  51         "sphinx_gallery",
  52         "mir_eval",
  53         "ipython",
  54         "sphinxcontrib.rsvgconverter",
  55         "pytest",
  56         "pytest_mpl",
  57         "pytest_cov",
  58         "samplerate",
  59         "resampy",
  60         "presets",
  61         "packaging",
  62     ]
  63 
  64     print("INSTALLED VERSIONS")
  65     print("------------------")
  66     print(f"python: {sys.version}\n")
  67     print(f"librosa: {version}\n")
  68     for dep in core_deps:
  69         print("{}: {}".format(dep, __get_mod_version(dep)))
  70     print("")
  71     for dep in extra_deps:
  72         print("{}: {}".format(dep, __get_mod_version(dep)))
  73
  [end of librosa/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/librosa/version.py b/librosa/version.py
  --- a/librosa/version.py
  +++ b/librosa/version.py
  @@ -6,7 +6,7 @@
   import importlib
   
   short_version = "0.10"
  -version = "0.10.1dev"
  +version = "0.10.1"
   
   
   def __get_mod_version(modname):
  
verification_info: {"golden_diff": "diff --git a/librosa/version.py b/librosa/version.py\n--- a/librosa/version.py\n+++ b/librosa/version.py\n@@ -6,7 +6,7 @@\n import importlib\n \n short_version = \"0.10\"\n-version = \"0.10.1dev\"\n+version = \"0.10.1\"\n \n \n def __get_mod_version(modname):\n", "issue": "Release new version to fix scipy tests\nhttps://github.com/librosa/librosa/commit/12dee8eabed7df14c5622b52c05393ddfeb11f4b fixed compatibility with scipy in tests but it's not included in any release.\r\nWe rely as downstream packagers on tests to ensure all python dependencies play well together.\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\"\"\"Version info\"\"\"\n\nimport sys\nimport importlib\n\nshort_version = \"0.10\"\nversion = \"0.10.1dev\"\n\n\ndef __get_mod_version(modname):\n    try:\n        if modname in sys.modules:\n            mod = sys.modules[modname]\n        else:\n            mod = importlib.import_module(modname)\n        try:\n            return mod.__version__\n        except AttributeError:\n            return \"installed, no version number available\"\n\n    except ImportError:\n        return None\n\n\ndef show_versions() -> None:\n    \"\"\"Return the version information for all librosa dependencies.\"\"\"\n    core_deps = [\n        \"audioread\",\n        \"numpy\",\n        \"scipy\",\n        \"sklearn\",\n        \"joblib\",\n        \"decorator\",\n        \"numba\",\n        \"soundfile\",\n        \"pooch\",\n        \"soxr\",\n        \"typing_extensions\",\n        \"lazy_loader\",\n        \"msgpack\",\n    ]\n\n    extra_deps = [\n        \"numpydoc\",\n        \"sphinx\",\n        \"sphinx_rtd_theme\",\n        \"matplotlib\",\n        \"sphinx_multiversion\",\n        \"sphinx_gallery\",\n        \"mir_eval\",\n        \"ipython\",\n        \"sphinxcontrib.rsvgconverter\",\n        \"pytest\",\n        \"pytest_mpl\",\n        \"pytest_cov\",\n        \"samplerate\",\n        \"resampy\",\n        \"presets\",\n        \"packaging\",\n    ]\n\n    print(\"INSTALLED VERSIONS\")\n    print(\"------------------\")\n    print(f\"python: {sys.version}\\n\")\n    print(f\"librosa: {version}\\n\")\n    for dep in core_deps:\n        print(\"{}: {}\".format(dep, __get_mod_version(dep)))\n    print(\"\")\n    for dep in extra_deps:\n        print(\"{}: {}\".format(dep, __get_mod_version(dep)))\n", "path": "librosa/version.py"}]}