prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [CI] `mypy` fails for optuna sweeper on main
  Turns out it was caused by a newly released version of `alembic` and it has been fixed in optuna https://github.com/optuna/optuna/pull/2887
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `plugins/hydra_optuna_sweeper/setup.py`
  Content:
  ```
  1 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
  2 # type: ignore
  3 from pathlib import Path
  4 
  5 from read_version import read_version
  6 from setuptools import find_namespace_packages, setup
  7 
  8 setup(
  9     name="hydra-optuna-sweeper",
  10     version=read_version("hydra_plugins/hydra_optuna_sweeper", "__init__.py"),
  11     author="Toshihiko Yanase, Hiroyuki Vincent Yamazaki",
  12     author_email="toshihiko.yanase@gmail.com, hiroyuki.vincent.yamazaki@gmail.com",
  13     description="Hydra Optuna Sweeper plugin",
  14     long_description=(Path(__file__).parent / "README.md").read_text(),
  15     long_description_content_type="text/markdown",
  16     url="https://github.com/facebookresearch/hydra/",
  17     packages=find_namespace_packages(include=["hydra_plugins.*"]),
  18     classifiers=[
  19         "License :: OSI Approved :: MIT License",
  20         "Programming Language :: Python :: 3.6",
  21         "Programming Language :: Python :: 3.7",
  22         "Programming Language :: Python :: 3.8",
  23         "Programming Language :: Python :: 3.9",
  24         "Operating System :: POSIX :: Linux",
  25         "Operating System :: MacOS",
  26         "Development Status :: 4 - Beta",
  27     ],
  28     install_requires=[
  29         "hydra-core>=1.1.0.dev7",
  30         "optuna>=2.5.0",
  31         "alembic<1.7.0",  # https://github.com/facebookresearch/hydra/issues/1806
  32     ],
  33     include_package_data=True,
  34 )
  35
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/plugins/hydra_optuna_sweeper/setup.py b/plugins/hydra_optuna_sweeper/setup.py
  --- a/plugins/hydra_optuna_sweeper/setup.py
  +++ b/plugins/hydra_optuna_sweeper/setup.py
  @@ -27,8 +27,7 @@
       ],
       install_requires=[
           "hydra-core>=1.1.0.dev7",
  -        "optuna>=2.5.0",
  -        "alembic<1.7.0",  # https://github.com/facebookresearch/hydra/issues/1806
  +        "optuna>=2.10.0",
       ],
       include_package_data=True,
   )
  
verification_info: {"golden_diff": "diff --git a/plugins/hydra_optuna_sweeper/setup.py b/plugins/hydra_optuna_sweeper/setup.py\n--- a/plugins/hydra_optuna_sweeper/setup.py\n+++ b/plugins/hydra_optuna_sweeper/setup.py\n@@ -27,8 +27,7 @@\n     ],\n     install_requires=[\n         \"hydra-core>=1.1.0.dev7\",\n-        \"optuna>=2.5.0\",\n-        \"alembic<1.7.0\",  # https://github.com/facebookresearch/hydra/issues/1806\n+        \"optuna>=2.10.0\",\n     ],\n     include_package_data=True,\n )\n", "issue": "[CI] `mypy` fails for optuna sweeper on main\nTurns out it was caused by a newly released version of `alembic` and it has been fixed in optuna https://github.com/optuna/optuna/pull/2887\r\n\n", "before_files": [{"content": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n# type: ignore\nfrom pathlib import Path\n\nfrom read_version import read_version\nfrom setuptools import find_namespace_packages, setup\n\nsetup(\n    name=\"hydra-optuna-sweeper\",\n    version=read_version(\"hydra_plugins/hydra_optuna_sweeper\", \"__init__.py\"),\n    author=\"Toshihiko Yanase, Hiroyuki Vincent Yamazaki\",\n    author_email=\"toshihiko.yanase@gmail.com, hiroyuki.vincent.yamazaki@gmail.com\",\n    description=\"Hydra Optuna Sweeper plugin\",\n    long_description=(Path(__file__).parent / \"README.md\").read_text(),\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/facebookresearch/hydra/\",\n    packages=find_namespace_packages(include=[\"hydra_plugins.*\"]),\n    classifiers=[\n        \"License :: OSI Approved :: MIT License\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Operating System :: POSIX :: Linux\",\n        \"Operating System :: MacOS\",\n        \"Development Status :: 4 - Beta\",\n    ],\n    install_requires=[\n        \"hydra-core>=1.1.0.dev7\",\n        \"optuna>=2.5.0\",\n        \"alembic<1.7.0\",  # https://github.com/facebookresearch/hydra/issues/1806\n    ],\n    include_package_data=True,\n)\n", "path": "plugins/hydra_optuna_sweeper/setup.py"}], "after_files": [{"content": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n# type: ignore\nfrom pathlib import Path\n\nfrom read_version import read_version\nfrom setuptools import find_namespace_packages, setup\n\nsetup(\n    name=\"hydra-optuna-sweeper\",\n    version=read_version(\"hydra_plugins/hydra_optuna_sweeper\", \"__init__.py\"),\n    author=\"Toshihiko Yanase, Hiroyuki Vincent Yamazaki\",\n    author_email=\"toshihiko.yanase@gmail.com, hiroyuki.vincent.yamazaki@gmail.com\",\n    description=\"Hydra Optuna Sweeper plugin\",\n    long_description=(Path(__file__).parent / \"README.md\").read_text(),\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/facebookresearch/hydra/\",\n    packages=find_namespace_packages(include=[\"hydra_plugins.*\"]),\n    classifiers=[\n        \"License :: OSI Approved :: MIT License\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Operating System :: POSIX :: Linux\",\n        \"Operating System :: MacOS\",\n        \"Development Status :: 4 - Beta\",\n    ],\n    install_requires=[\n        \"hydra-core>=1.1.0.dev7\",\n        \"optuna>=2.10.0\",\n    ],\n    include_package_data=True,\n)\n", "path": "plugins/hydra_optuna_sweeper/setup.py"}]}