prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add support for Python 3.9
  ## 🚀 Feature
  
  Add support for python 3.9. This shouldn't require any code changes, but the dependencies may not updating.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 #!/usr/bin/env python3
  2 #
  3 # Copyright (c) Facebook, Inc. and its affiliates.
  4 #
  5 # This source code is licensed under the MIT license found in the
  6 # LICENSE file in the root directory of this source tree.
  7 
  8 import distutils.util
  9 import io
  10 
  11 import setuptools
  12 
  13 with open("VERSION") as f:
  14     version = f.read().strip()
  15 with open("README.md") as f:
  16     # Force UTF-8 file encoding to support non-ascii characters in the readme.
  17     with io.open("README.md", encoding="utf-8") as f:
  18         long_description = f.read()
  19 with open("compiler_gym/requirements.txt") as f:
  20     requirements = [ln.split("#")[0].rstrip() for ln in f.readlines()]
  21 
  22 # When building a bdist_wheel we need to set the appropriate tags: this package
  23 # includes compiled binaries, and does not include compiled python extensions.
  24 try:
  25     from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
  26 
  27     class bdist_wheel(_bdist_wheel):
  28         def finalize_options(self):
  29             _bdist_wheel.finalize_options(self)
  30             self.root_is_pure = False
  31 
  32         def get_tag(self):
  33             python, abi, plat = _bdist_wheel.get_tag(self)
  34             python, abi = "py3", "none"
  35             return python, abi, plat
  36 
  37 
  38 except ImportError:
  39     bdist_wheel = None
  40 
  41 setuptools.setup(
  42     name="compiler_gym",
  43     version=version,
  44     description="Reinforcement learning environments for compiler research",
  45     author="Facebook AI Research",
  46     long_description=long_description,
  47     long_description_content_type="text/markdown",
  48     url="https://github.com/facebookresearch/CompilerGym",
  49     license="MIT",
  50     packages=[
  51         "compiler_gym",
  52         "compiler_gym.bin",
  53         "compiler_gym.datasets",
  54         "compiler_gym.envs",
  55         "compiler_gym.envs.llvm",
  56         "compiler_gym.envs.llvm.service",
  57         "compiler_gym.envs.llvm.service.passes",
  58         "compiler_gym.service",
  59         "compiler_gym.service.proto",
  60         "compiler_gym.spaces",
  61         "compiler_gym.third_party",
  62         "compiler_gym.third_party.autophase",
  63         "compiler_gym.third_party.llvm",
  64         "compiler_gym.third_party.inst2vec",
  65         "compiler_gym.util",
  66         "compiler_gym.util.flags",
  67         "compiler_gym.views",
  68     ],
  69     package_dir={
  70         "": "bazel-bin/package.runfiles/CompilerGym",
  71     },
  72     package_data={
  73         "compiler_gym": [
  74             "envs/llvm/service/passes/*.txt",
  75             "envs/llvm/service/compiler_gym-llvm-service",
  76             "envs/llvm/service/libLLVMPolly.so",
  77             "third_party/inst2vec/*.pickle",
  78             "third_party/cBench/benchmarks.txt",
  79             "third_party/cBench/cBench-v*/*",
  80             "third_party/cBench/runtime_data/**/*",
  81         ]
  82     },
  83     install_requires=requirements,
  84     include_package_data=True,
  85     python_requires=">=3.6",
  86     classifiers=[
  87         "Development Status :: 2 - Pre-Alpha",
  88         "Environment :: Console",
  89         "Intended Audience :: Developers",
  90         "Intended Audience :: Science/Research",
  91         "License :: OSI Approved :: MIT License",
  92         "Topic :: Scientific/Engineering :: Artificial Intelligence",
  93         "Topic :: Software Development :: Compilers",
  94     ],
  95     cmdclass={"bdist_wheel": bdist_wheel},
  96     platforms=[distutils.util.get_platform()],
  97     zip_safe=False,
  98 )
  99
  ```
  --- 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/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -84,11 +84,16 @@
       include_package_data=True,
       python_requires=">=3.6",
       classifiers=[
  -        "Development Status :: 2 - Pre-Alpha",
  +        "Development Status :: 3 - Alpha",
           "Environment :: Console",
           "Intended Audience :: Developers",
           "Intended Audience :: Science/Research",
           "License :: OSI Approved :: MIT License",
  +        "Programming Language :: Python :: 3.6",
  +        "Programming Language :: Python :: 3.7",
  +        "Programming Language :: Python :: 3.8",
  +        "Programming Language :: Python :: 3.9",
  +        "Programming Language :: Python :: 3",
           "Topic :: Scientific/Engineering :: Artificial Intelligence",
           "Topic :: Software Development :: Compilers",
       ],
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -84,11 +84,16 @@\n     include_package_data=True,\n     python_requires=\">=3.6\",\n     classifiers=[\n-        \"Development Status :: 2 - Pre-Alpha\",\n+        \"Development Status :: 3 - Alpha\",\n         \"Environment :: Console\",\n         \"Intended Audience :: Developers\",\n         \"Intended Audience :: Science/Research\",\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+        \"Programming Language :: Python :: 3\",\n         \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n         \"Topic :: Software Development :: Compilers\",\n     ],\n", "issue": "Add support for Python 3.9\n## \ud83d\ude80 Feature\r\n\r\nAdd support for python 3.9. This shouldn't require any code changes, but the dependencies may not updating.\n", "before_files": [{"content": "#!/usr/bin/env python3\n#\n# Copyright (c) Facebook, Inc. and its affiliates.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\nimport distutils.util\nimport io\n\nimport setuptools\n\nwith open(\"VERSION\") as f:\n    version = f.read().strip()\nwith open(\"README.md\") as f:\n    # Force UTF-8 file encoding to support non-ascii characters in the readme.\n    with io.open(\"README.md\", encoding=\"utf-8\") as f:\n        long_description = f.read()\nwith open(\"compiler_gym/requirements.txt\") as f:\n    requirements = [ln.split(\"#\")[0].rstrip() for ln in f.readlines()]\n\n# When building a bdist_wheel we need to set the appropriate tags: this package\n# includes compiled binaries, and does not include compiled python extensions.\ntry:\n    from wheel.bdist_wheel import bdist_wheel as _bdist_wheel\n\n    class bdist_wheel(_bdist_wheel):\n        def finalize_options(self):\n            _bdist_wheel.finalize_options(self)\n            self.root_is_pure = False\n\n        def get_tag(self):\n            python, abi, plat = _bdist_wheel.get_tag(self)\n            python, abi = \"py3\", \"none\"\n            return python, abi, plat\n\n\nexcept ImportError:\n    bdist_wheel = None\n\nsetuptools.setup(\n    name=\"compiler_gym\",\n    version=version,\n    description=\"Reinforcement learning environments for compiler research\",\n    author=\"Facebook AI Research\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/facebookresearch/CompilerGym\",\n    license=\"MIT\",\n    packages=[\n        \"compiler_gym\",\n        \"compiler_gym.bin\",\n        \"compiler_gym.datasets\",\n        \"compiler_gym.envs\",\n        \"compiler_gym.envs.llvm\",\n        \"compiler_gym.envs.llvm.service\",\n        \"compiler_gym.envs.llvm.service.passes\",\n        \"compiler_gym.service\",\n        \"compiler_gym.service.proto\",\n        \"compiler_gym.spaces\",\n        \"compiler_gym.third_party\",\n        \"compiler_gym.third_party.autophase\",\n        \"compiler_gym.third_party.llvm\",\n        \"compiler_gym.third_party.inst2vec\",\n        \"compiler_gym.util\",\n        \"compiler_gym.util.flags\",\n        \"compiler_gym.views\",\n    ],\n    package_dir={\n        \"\": \"bazel-bin/package.runfiles/CompilerGym\",\n    },\n    package_data={\n        \"compiler_gym\": [\n            \"envs/llvm/service/passes/*.txt\",\n            \"envs/llvm/service/compiler_gym-llvm-service\",\n            \"envs/llvm/service/libLLVMPolly.so\",\n            \"third_party/inst2vec/*.pickle\",\n            \"third_party/cBench/benchmarks.txt\",\n            \"third_party/cBench/cBench-v*/*\",\n            \"third_party/cBench/runtime_data/**/*\",\n        ]\n    },\n    install_requires=requirements,\n    include_package_data=True,\n    python_requires=\">=3.6\",\n    classifiers=[\n        \"Development Status :: 2 - Pre-Alpha\",\n        \"Environment :: Console\",\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: Science/Research\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n        \"Topic :: Software Development :: Compilers\",\n    ],\n    cmdclass={\"bdist_wheel\": bdist_wheel},\n    platforms=[distutils.util.get_platform()],\n    zip_safe=False,\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python3\n#\n# Copyright (c) Facebook, Inc. and its affiliates.\n#\n# This source code is licensed under the MIT license found in the\n# LICENSE file in the root directory of this source tree.\n\nimport distutils.util\nimport io\n\nimport setuptools\n\nwith open(\"VERSION\") as f:\n    version = f.read().strip()\nwith open(\"README.md\") as f:\n    # Force UTF-8 file encoding to support non-ascii characters in the readme.\n    with io.open(\"README.md\", encoding=\"utf-8\") as f:\n        long_description = f.read()\nwith open(\"compiler_gym/requirements.txt\") as f:\n    requirements = [ln.split(\"#\")[0].rstrip() for ln in f.readlines()]\n\n# When building a bdist_wheel we need to set the appropriate tags: this package\n# includes compiled binaries, and does not include compiled python extensions.\ntry:\n    from wheel.bdist_wheel import bdist_wheel as _bdist_wheel\n\n    class bdist_wheel(_bdist_wheel):\n        def finalize_options(self):\n            _bdist_wheel.finalize_options(self)\n            self.root_is_pure = False\n\n        def get_tag(self):\n            python, abi, plat = _bdist_wheel.get_tag(self)\n            python, abi = \"py3\", \"none\"\n            return python, abi, plat\n\n\nexcept ImportError:\n    bdist_wheel = None\n\nsetuptools.setup(\n    name=\"compiler_gym\",\n    version=version,\n    description=\"Reinforcement learning environments for compiler research\",\n    author=\"Facebook AI Research\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/facebookresearch/CompilerGym\",\n    license=\"MIT\",\n    packages=[\n        \"compiler_gym\",\n        \"compiler_gym.bin\",\n        \"compiler_gym.datasets\",\n        \"compiler_gym.envs\",\n        \"compiler_gym.envs.llvm\",\n        \"compiler_gym.envs.llvm.service\",\n        \"compiler_gym.envs.llvm.service.passes\",\n        \"compiler_gym.service\",\n        \"compiler_gym.service.proto\",\n        \"compiler_gym.spaces\",\n        \"compiler_gym.third_party\",\n        \"compiler_gym.third_party.autophase\",\n        \"compiler_gym.third_party.llvm\",\n        \"compiler_gym.third_party.inst2vec\",\n        \"compiler_gym.util\",\n        \"compiler_gym.util.flags\",\n        \"compiler_gym.views\",\n    ],\n    package_dir={\n        \"\": \"bazel-bin/package.runfiles/CompilerGym\",\n    },\n    package_data={\n        \"compiler_gym\": [\n            \"envs/llvm/service/passes/*.txt\",\n            \"envs/llvm/service/compiler_gym-llvm-service\",\n            \"envs/llvm/service/libLLVMPolly.so\",\n            \"third_party/inst2vec/*.pickle\",\n            \"third_party/cBench/benchmarks.txt\",\n            \"third_party/cBench/cBench-v*/*\",\n            \"third_party/cBench/runtime_data/**/*\",\n        ]\n    },\n    install_requires=requirements,\n    include_package_data=True,\n    python_requires=\">=3.6\",\n    classifiers=[\n        \"Development Status :: 3 - Alpha\",\n        \"Environment :: Console\",\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: Science/Research\",\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        \"Programming Language :: Python :: 3\",\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n        \"Topic :: Software Development :: Compilers\",\n    ],\n    cmdclass={\"bdist_wheel\": bdist_wheel},\n    platforms=[distutils.util.get_platform()],\n    zip_safe=False,\n)\n", "path": "setup.py"}]}