prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Upgrade to OmegaConf 2.1
  OmegaConf 2.1 is adding many important new features.
  For example:
  * Powerful interpolation grammar supporting nested interpolations
  * Relative interpolations
  * And many many bug fixes
  
  Release notes: [omegaconf==2.1.0.rc1](https://github.com/omry/omegaconf/releases/tag/v2.1.0.rc1).
  
  --- 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_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py`
  Content:
  ```
  1 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
  2 from dataclasses import dataclass
  3 from typing import Optional
  4 
  5 from hydra.core.config_store import ConfigStore
  6 from omegaconf import II
  7 
  8 
  9 @dataclass
  10 class RedisConf:
  11     # host address via REDIS_HOST environment variable, default: localhost
  12     host: str = II("env:REDIS_HOST,localhost")
  13     # port via REDIS_PORT environment variable, default: 6379
  14     port: int = II("env:REDIS_PORT,6379")
  15     # database via REDIS_DB environment variable, default: 0
  16     db: Optional[str] = II("env:REDIS_DB,0")
  17     # password via REDIS_PASSWORD environment variable, default: no password
  18     password: str = II("env:REDIS_PASSWORD,")
  19     # switch to run without redis server in single thread, for testing purposes only
  20     mock: bool = II("env:REDIS_MOCK,False")
  21 
  22 
  23 @dataclass
  24 class EnqueueConf:
  25     # maximum runtime of the job before it's killed (e.g. "1d" for 1 day, units: d/h/m/s), default: no limit
  26     job_timeout: Optional[str] = None
  27     # maximum queued time before the job before is discarded (e.g. "1d" for 1 day, units: d/h/m/s), default: no limit
  28     ttl: Optional[str] = None
  29     # how long successful jobs and their results are kept (e.g. "1d" for 1 day, units: d/h/m/s), default: no limit
  30     result_ttl: Optional[str] = None
  31     # specifies how long failed jobs are kept (e.g. "1d" for 1 day, units: d/h/m/s), default: no limit
  32     failure_ttl: Optional[str] = None
  33     # place job at the front of the queue, instead of the back
  34     at_front: bool = False
  35     # job id, will be overidden automatically by a uuid unless specified explicitly
  36     job_id: Optional[str] = None
  37     # description, will be overidden automatically unless specified explicitly
  38     description: Optional[str] = None
  39 
  40 
  41 @dataclass
  42 class RQLauncherConf:
  43     _target_: str = "hydra_plugins.hydra_rq_launcher.rq_launcher.RQLauncher"
  44     # enqueue configuration
  45     enqueue: EnqueueConf = EnqueueConf()
  46     # queue name
  47     queue: str = "default"
  48     # redis configuration
  49     redis: RedisConf = RedisConf()
  50     # stop after enqueueing by raising custom exception
  51     stop_after_enqueue: bool = False
  52     # wait time in seconds when polling results
  53     wait_polling: float = 1.0
  54 
  55 
  56 ConfigStore.instance().store(
  57     group="hydra/launcher", name="rq", node=RQLauncherConf, provider="rq_launcher"
  58 )
  59
  ```
  
  Path: `plugins/hydra_ax_sweeper/setup.py`
  Content:
  ```
  1 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
  2 # type: ignore
  3 from setuptools import find_namespace_packages, setup
  4 
  5 with open("README.md", "r") as fh:
  6     LONG_DESC = fh.read()
  7     setup(
  8         name="hydra-ax-sweeper",
  9         version="1.1.0rc1",
  10         author="Omry Yadan, Shagun Sodhani",
  11         author_email="omry@fb.com, sshagunsodhani@gmail.com",
  12         description="Hydra Ax Sweeper plugin",
  13         long_description=LONG_DESC,
  14         long_description_content_type="text/markdown",
  15         url="https://github.com/facebookresearch/hydra/",
  16         packages=find_namespace_packages(include=["hydra_plugins.*"]),
  17         classifiers=[
  18             "License :: OSI Approved :: MIT License",
  19             "Programming Language :: Python :: 3.7",
  20             "Programming Language :: Python :: 3.8",
  21             "Programming Language :: Python :: 3.9",
  22             "Operating System :: POSIX :: Linux",
  23             "Operating System :: MacOS",
  24             "Development Status :: 4 - Beta",
  25         ],
  26         install_requires=[
  27             "hydra-core>=1.0.0",
  28             "ax-platform>=0.1.13",
  29             "numpy<1.20.0",  # remove once ax is upgraded to support numpy 1.20
  30         ],
  31         include_package_data=True,
  32     )
  33
  ```
  --- 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_ax_sweeper/setup.py b/plugins/hydra_ax_sweeper/setup.py
  --- a/plugins/hydra_ax_sweeper/setup.py
  +++ b/plugins/hydra_ax_sweeper/setup.py
  @@ -25,8 +25,7 @@
           ],
           install_requires=[
               "hydra-core>=1.0.0",
  -            "ax-platform>=0.1.13",
  -            "numpy<1.20.0",  # remove once ax is upgraded to support numpy 1.20
  +            "ax-platform>=0.1.20",
           ],
           include_package_data=True,
       )
  diff --git a/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py b/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py
  --- a/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py
  +++ b/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py
  @@ -15,7 +15,7 @@
       # database via REDIS_DB environment variable, default: 0
       db: Optional[str] = II("env:REDIS_DB,0")
       # password via REDIS_PASSWORD environment variable, default: no password
  -    password: str = II("env:REDIS_PASSWORD,")
  +    password: str = II("env:REDIS_PASSWORD")
       # switch to run without redis server in single thread, for testing purposes only
       mock: bool = II("env:REDIS_MOCK,False")
  
verification_info: {"golden_diff": "diff --git a/plugins/hydra_ax_sweeper/setup.py b/plugins/hydra_ax_sweeper/setup.py\n--- a/plugins/hydra_ax_sweeper/setup.py\n+++ b/plugins/hydra_ax_sweeper/setup.py\n@@ -25,8 +25,7 @@\n         ],\n         install_requires=[\n             \"hydra-core>=1.0.0\",\n-            \"ax-platform>=0.1.13\",\n-            \"numpy<1.20.0\",  # remove once ax is upgraded to support numpy 1.20\n+            \"ax-platform>=0.1.20\",\n         ],\n         include_package_data=True,\n     )\ndiff --git a/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py b/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py\n--- a/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py\n+++ b/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py\n@@ -15,7 +15,7 @@\n     # database via REDIS_DB environment variable, default: 0\n     db: Optional[str] = II(\"env:REDIS_DB,0\")\n     # password via REDIS_PASSWORD environment variable, default: no password\n-    password: str = II(\"env:REDIS_PASSWORD,\")\n+    password: str = II(\"env:REDIS_PASSWORD\")\n     # switch to run without redis server in single thread, for testing purposes only\n     mock: bool = II(\"env:REDIS_MOCK,False\")\n", "issue": "Upgrade to OmegaConf 2.1\nOmegaConf 2.1 is adding many important new features.\r\nFor example:\r\n* Powerful interpolation grammar supporting nested interpolations\r\n* Relative interpolations\r\n* And many many bug fixes\r\n\r\nRelease notes: [omegaconf==2.1.0.rc1](https://github.com/omry/omegaconf/releases/tag/v2.1.0.rc1).\n", "before_files": [{"content": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom dataclasses import dataclass\nfrom typing import Optional\n\nfrom hydra.core.config_store import ConfigStore\nfrom omegaconf import II\n\n\n@dataclass\nclass RedisConf:\n    # host address via REDIS_HOST environment variable, default: localhost\n    host: str = II(\"env:REDIS_HOST,localhost\")\n    # port via REDIS_PORT environment variable, default: 6379\n    port: int = II(\"env:REDIS_PORT,6379\")\n    # database via REDIS_DB environment variable, default: 0\n    db: Optional[str] = II(\"env:REDIS_DB,0\")\n    # password via REDIS_PASSWORD environment variable, default: no password\n    password: str = II(\"env:REDIS_PASSWORD,\")\n    # switch to run without redis server in single thread, for testing purposes only\n    mock: bool = II(\"env:REDIS_MOCK,False\")\n\n\n@dataclass\nclass EnqueueConf:\n    # maximum runtime of the job before it's killed (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    job_timeout: Optional[str] = None\n    # maximum queued time before the job before is discarded (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    ttl: Optional[str] = None\n    # how long successful jobs and their results are kept (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    result_ttl: Optional[str] = None\n    # specifies how long failed jobs are kept (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    failure_ttl: Optional[str] = None\n    # place job at the front of the queue, instead of the back\n    at_front: bool = False\n    # job id, will be overidden automatically by a uuid unless specified explicitly\n    job_id: Optional[str] = None\n    # description, will be overidden automatically unless specified explicitly\n    description: Optional[str] = None\n\n\n@dataclass\nclass RQLauncherConf:\n    _target_: str = \"hydra_plugins.hydra_rq_launcher.rq_launcher.RQLauncher\"\n    # enqueue configuration\n    enqueue: EnqueueConf = EnqueueConf()\n    # queue name\n    queue: str = \"default\"\n    # redis configuration\n    redis: RedisConf = RedisConf()\n    # stop after enqueueing by raising custom exception\n    stop_after_enqueue: bool = False\n    # wait time in seconds when polling results\n    wait_polling: float = 1.0\n\n\nConfigStore.instance().store(\n    group=\"hydra/launcher\", name=\"rq\", node=RQLauncherConf, provider=\"rq_launcher\"\n)\n", "path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py"}, {"content": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n# type: ignore\nfrom setuptools import find_namespace_packages, setup\n\nwith open(\"README.md\", \"r\") as fh:\n    LONG_DESC = fh.read()\n    setup(\n        name=\"hydra-ax-sweeper\",\n        version=\"1.1.0rc1\",\n        author=\"Omry Yadan, Shagun Sodhani\",\n        author_email=\"omry@fb.com, sshagunsodhani@gmail.com\",\n        description=\"Hydra Ax Sweeper plugin\",\n        long_description=LONG_DESC,\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.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.0.0\",\n            \"ax-platform>=0.1.13\",\n            \"numpy<1.20.0\",  # remove once ax is upgraded to support numpy 1.20\n        ],\n        include_package_data=True,\n    )\n", "path": "plugins/hydra_ax_sweeper/setup.py"}], "after_files": [{"content": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom dataclasses import dataclass\nfrom typing import Optional\n\nfrom hydra.core.config_store import ConfigStore\nfrom omegaconf import II\n\n\n@dataclass\nclass RedisConf:\n    # host address via REDIS_HOST environment variable, default: localhost\n    host: str = II(\"env:REDIS_HOST,localhost\")\n    # port via REDIS_PORT environment variable, default: 6379\n    port: int = II(\"env:REDIS_PORT,6379\")\n    # database via REDIS_DB environment variable, default: 0\n    db: Optional[str] = II(\"env:REDIS_DB,0\")\n    # password via REDIS_PASSWORD environment variable, default: no password\n    password: str = II(\"env:REDIS_PASSWORD\")\n    # switch to run without redis server in single thread, for testing purposes only\n    mock: bool = II(\"env:REDIS_MOCK,False\")\n\n\n@dataclass\nclass EnqueueConf:\n    # maximum runtime of the job before it's killed (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    job_timeout: Optional[str] = None\n    # maximum queued time before the job before is discarded (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    ttl: Optional[str] = None\n    # how long successful jobs and their results are kept (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    result_ttl: Optional[str] = None\n    # specifies how long failed jobs are kept (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n    failure_ttl: Optional[str] = None\n    # place job at the front of the queue, instead of the back\n    at_front: bool = False\n    # job id, will be overidden automatically by a uuid unless specified explicitly\n    job_id: Optional[str] = None\n    # description, will be overidden automatically unless specified explicitly\n    description: Optional[str] = None\n\n\n@dataclass\nclass RQLauncherConf:\n    _target_: str = \"hydra_plugins.hydra_rq_launcher.rq_launcher.RQLauncher\"\n    # enqueue configuration\n    enqueue: EnqueueConf = EnqueueConf()\n    # queue name\n    queue: str = \"default\"\n    # redis configuration\n    redis: RedisConf = RedisConf()\n    # stop after enqueueing by raising custom exception\n    stop_after_enqueue: bool = False\n    # wait time in seconds when polling results\n    wait_polling: float = 1.0\n\n\nConfigStore.instance().store(\n    group=\"hydra/launcher\", name=\"rq\", node=RQLauncherConf, provider=\"rq_launcher\"\n)\n", "path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py"}, {"content": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n# type: ignore\nfrom setuptools import find_namespace_packages, setup\n\nwith open(\"README.md\", \"r\") as fh:\n    LONG_DESC = fh.read()\n    setup(\n        name=\"hydra-ax-sweeper\",\n        version=\"1.1.0rc1\",\n        author=\"Omry Yadan, Shagun Sodhani\",\n        author_email=\"omry@fb.com, sshagunsodhani@gmail.com\",\n        description=\"Hydra Ax Sweeper plugin\",\n        long_description=LONG_DESC,\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.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.0.0\",\n            \"ax-platform>=0.1.20\",\n        ],\n        include_package_data=True,\n    )\n", "path": "plugins/hydra_ax_sweeper/setup.py"}]}