We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
CI fails with UserWarning raised from importing nevergrad
example failure here https://app.circleci.com/pipelines/github/facebookresearch/hydra/10584/workflows/d4c57363-bb31-42f4-a7ee-29c28a577f67/jobs/95695

this can be reproduced by simply importing nevergrad
```
>>> import nevergrad as ng
/Users/jieru/opt/anaconda3/envs/testnv/lib/python3.8/site-packages/cma/s.py:13: UserWarning: Could not import matplotlib.pyplot, therefore ``cma.plot()`` etc. is not available
  _warnings.warn('Could not import matplotlib.pyplot, therefore'
```

the warnings comes from one of nevergrad's dependency `cma` which just had a new release https://github.com/CMA-ES/pycma/releases

--- 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_nevergrad_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-nevergrad-sweeper",
10     version=read_version("hydra_plugins/hydra_nevergrad_sweeper", "__init__.py"),
11     author="Jeremy Rapin, Omry Yadan, Jieru Hu",
12     author_email="jrapin@fb.com, omry@fb.com, jieru@fb.com",
13     description="Hydra Nevergrad 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 :: OS Independent",
25         "Development Status :: 4 - Beta",
26     ],
27     install_requires=[
28         "hydra-core>=1.1.0.dev7",
29         "nevergrad>=0.4.3.post2",
30         "numpy<1.20.0",  # remove once nevergrad is upgraded to support numpy 1.20
31     ],
32     include_package_data=True,
33 )
34
```
--- 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()

```

diff --git a/plugins/hydra_nevergrad_sweeper/setup.py b/plugins/hydra_nevergrad_sweeper/setup.py
--- a/plugins/hydra_nevergrad_sweeper/setup.py
+++ b/plugins/hydra_nevergrad_sweeper/setup.py
@@ -27,6 +27,7 @@
     install_requires=[
         "hydra-core>=1.1.0.dev7",
         "nevergrad>=0.4.3.post2",
+        "cma==3.0.3",  # https://github.com/facebookresearch/hydra/issues/1684
         "numpy<1.20.0",  # remove once nevergrad is upgraded to support numpy 1.20
     ],
     include_package_data=True,

{"golden_diff": "diff --git a/plugins/hydra_nevergrad_sweeper/setup.py b/plugins/hydra_nevergrad_sweeper/setup.py\n--- a/plugins/hydra_nevergrad_sweeper/setup.py\n+++ b/plugins/hydra_nevergrad_sweeper/setup.py\n@@ -27,6 +27,7 @@\n     install_requires=[\n         \"hydra-core>=1.1.0.dev7\",\n         \"nevergrad>=0.4.3.post2\",\n+        \"cma==3.0.3\",  # https://github.com/facebookresearch/hydra/issues/1684\n         \"numpy<1.20.0\",  # remove once nevergrad is upgraded to support numpy 1.20\n     ],\n     include_package_data=True,\n", "issue": "CI fails with UserWarning raised from importing nevergrad\nexample failure here https://app.circleci.com/pipelines/github/facebookresearch/hydra/10584/workflows/d4c57363-bb31-42f4-a7ee-29c28a577f67/jobs/95695\r\n\r\nthis can be reproduced by simply importing nevergrad\r\n```\r\n>>> import nevergrad as ng\r\n/Users/jieru/opt/anaconda3/envs/testnv/lib/python3.8/site-packages/cma/s.py:13: UserWarning: Could not import matplotlib.pyplot, therefore ``cma.plot()`` etc. is not available\r\n  _warnings.warn('Could not import matplotlib.pyplot, therefore'\r\n```\r\n\r\nthe warnings comes from one of nevergrad's dependency `cma` which just had a new release https://github.com/CMA-ES/pycma/releases\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-nevergrad-sweeper\",\n    version=read_version(\"hydra_plugins/hydra_nevergrad_sweeper\", \"__init__.py\"),\n    author=\"Jeremy Rapin, Omry Yadan, Jieru Hu\",\n    author_email=\"jrapin@fb.com, omry@fb.com, jieru@fb.com\",\n    description=\"Hydra Nevergrad 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 :: OS Independent\",\n        \"Development Status :: 4 - Beta\",\n    ],\n    install_requires=[\n        \"hydra-core>=1.1.0.dev7\",\n        \"nevergrad>=0.4.3.post2\",\n        \"numpy<1.20.0\",  # remove once nevergrad is upgraded to support numpy 1.20\n    ],\n    include_package_data=True,\n)\n", "path": "plugins/hydra_nevergrad_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-nevergrad-sweeper\",\n    version=read_version(\"hydra_plugins/hydra_nevergrad_sweeper\", \"__init__.py\"),\n    author=\"Jeremy Rapin, Omry Yadan, Jieru Hu\",\n    author_email=\"jrapin@fb.com, omry@fb.com, jieru@fb.com\",\n    description=\"Hydra Nevergrad 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 :: OS Independent\",\n        \"Development Status :: 4 - Beta\",\n    ],\n    install_requires=[\n        \"hydra-core>=1.1.0.dev7\",\n        \"nevergrad>=0.4.3.post2\",\n        \"cma==3.0.3\",  # https://github.com/facebookresearch/hydra/issues/1684\n        \"numpy<1.20.0\",  # remove once nevergrad is upgraded to support numpy 1.20\n    ],\n    include_package_data=True,\n)\n", "path": "plugins/hydra_nevergrad_sweeper/setup.py"}]}