We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[Ray-Plugin] Add support for Python 3.9
Python 3.9 support depends on https://github.com/ray-project/ray/issues/12788

Related to #1062 

--- 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_ray_launcher/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-ray-launcher",
10     version=read_version("hydra_plugins/hydra_ray_launcher", "__init__.py"),
11     author="Jieru Hu",
12     author_email="jieru@fb.com",
13     description="Hydra Ray launcher 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.7",
21         "Programming Language :: Python :: 3.8",
22         # "Programming Language :: Python :: 3.9",
23         "Operating System :: MacOS",
24         "Operating System :: POSIX :: Linux",
25     ],
26     install_requires=[
27         "boto3==1.17.17",
28         "hydra-core>=1.1.0.dev7",
29         "ray[default]==1.6.0",
30         # https://github.com/aio-libs/aiohttp/issues/6203
31         "aiohttp!=3.8.0",
32         "cloudpickle==1.6.0",
33         "pickle5==0.0.11",
34     ],
35     include_package_data=True,
36 )
37
```
--- 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_ray_launcher/setup.py b/plugins/hydra_ray_launcher/setup.py
--- a/plugins/hydra_ray_launcher/setup.py
+++ b/plugins/hydra_ray_launcher/setup.py
@@ -19,7 +19,7 @@
         "License :: OSI Approved :: MIT License",
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
-        # "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.9",
         "Operating System :: MacOS",
         "Operating System :: POSIX :: Linux",
     ],

{"golden_diff": "diff --git a/plugins/hydra_ray_launcher/setup.py b/plugins/hydra_ray_launcher/setup.py\n--- a/plugins/hydra_ray_launcher/setup.py\n+++ b/plugins/hydra_ray_launcher/setup.py\n@@ -19,7 +19,7 @@\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+        \"Programming Language :: Python :: 3.9\",\n         \"Operating System :: MacOS\",\n         \"Operating System :: POSIX :: Linux\",\n     ],\n", "issue": "[Ray-Plugin] Add support for Python 3.9\nPython 3.9 support depends on https://github.com/ray-project/ray/issues/12788\r\n\r\nRelated to #1062 \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-ray-launcher\",\n    version=read_version(\"hydra_plugins/hydra_ray_launcher\", \"__init__.py\"),\n    author=\"Jieru Hu\",\n    author_email=\"jieru@fb.com\",\n    description=\"Hydra Ray launcher 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.7\",\n        \"Programming Language :: Python :: 3.8\",\n        # \"Programming Language :: Python :: 3.9\",\n        \"Operating System :: MacOS\",\n        \"Operating System :: POSIX :: Linux\",\n    ],\n    install_requires=[\n        \"boto3==1.17.17\",\n        \"hydra-core>=1.1.0.dev7\",\n        \"ray[default]==1.6.0\",\n        # https://github.com/aio-libs/aiohttp/issues/6203\n        \"aiohttp!=3.8.0\",\n        \"cloudpickle==1.6.0\",\n        \"pickle5==0.0.11\",\n    ],\n    include_package_data=True,\n)\n", "path": "plugins/hydra_ray_launcher/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-ray-launcher\",\n    version=read_version(\"hydra_plugins/hydra_ray_launcher\", \"__init__.py\"),\n    author=\"Jieru Hu\",\n    author_email=\"jieru@fb.com\",\n    description=\"Hydra Ray launcher 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.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Operating System :: MacOS\",\n        \"Operating System :: POSIX :: Linux\",\n    ],\n    install_requires=[\n        \"boto3==1.17.17\",\n        \"hydra-core>=1.1.0.dev7\",\n        \"ray[default]==1.6.0\",\n        # https://github.com/aio-libs/aiohttp/issues/6203\n        \"aiohttp!=3.8.0\",\n        \"cloudpickle==1.6.0\",\n        \"pickle5==0.0.11\",\n    ],\n    include_package_data=True,\n)\n", "path": "plugins/hydra_ray_launcher/setup.py"}]}