prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Errors when installing new dependencies
  ## Overview
  Adding a new dependency into requirements.txt causes errors to occur in the github actions workflow.
  
  For example, 
  When I added the `rich` dependency to the requirements.txt file I got this output for the test:
  https://github.com/facebookresearch/Mephisto/runs/7237323897?check_suite_focus=true
  
  The issue is not exclusive to `rich` as I also got this error when trying to add the `detoxify` dependency.
  
  --- 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 # This source code is licensed under the MIT license found in the
  5 # LICENSE file in the root directory of this source tree.
  6 
  7 from setuptools import setup, find_packages
  8 import os
  9 
  10 here = os.path.abspath(os.path.dirname(__file__))
  11 
  12 with open("README.md", encoding="utf8") as f:
  13     # strip the header and badges etc
  14     readme = f.read()
  15 
  16 with open("requirements.txt") as f:
  17     reqs = f.readlines()
  18     reqs = [r for r in reqs if "--hash" not in r]
  19     reqs = [r.split("\\")[0].split(";")[0].strip() for r in reqs]
  20 
  21 with open(os.path.join(here, "mephisto", "VERSION")) as version_file:
  22     version = version_file.read().strip()
  23 
  24 setup(
  25     name="mephisto",
  26     version=version,
  27     description="Crowdsourcing made simpler.",
  28     author="Jack Urbanek, Pratik Ringshia",
  29     author_email="jju@fb.com",
  30     long_description=readme,
  31     long_description_content_type="text/markdown",
  32     url="https://github.com/facebookresearch/Mephisto",
  33     python_requires=">=3.7",
  34     packages=find_packages(include=["mephisto.*", "hydra_plugins.*"]),
  35     license="MIT",
  36     install_requires=reqs,
  37     include_package_data=True,
  38     package_data={"mephisto": ["*.yaml", "abstractions/**/*"]},
  39     zip_safe=False,
  40     entry_points={"console_scripts": "mephisto=mephisto.client.cli:cli"},
  41     classifiers=[
  42         "Programming Language :: Python :: 3",
  43         "Programming Language :: Python :: 3.7",
  44         "Programming Language :: Python :: 3.8",
  45         "License :: OSI Approved :: MIT License",
  46         "Topic :: Scientific/Engineering :: Artificial Intelligence",
  47         "Natural Language :: English",
  48     ],
  49 )
  50
  ```
  --- 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
  deleted file mode 100644
  --- a/setup.py
  +++ /dev/null
  @@ -1,49 +0,0 @@
  -#!/usr/bin/env python3
  -
  -# Copyright (c) Facebook, Inc. and its affiliates.
  -# This source code is licensed under the MIT license found in the
  -# LICENSE file in the root directory of this source tree.
  -
  -from setuptools import setup, find_packages
  -import os
  -
  -here = os.path.abspath(os.path.dirname(__file__))
  -
  -with open("README.md", encoding="utf8") as f:
  -    # strip the header and badges etc
  -    readme = f.read()
  -
  -with open("requirements.txt") as f:
  -    reqs = f.readlines()
  -    reqs = [r for r in reqs if "--hash" not in r]
  -    reqs = [r.split("\\")[0].split(";")[0].strip() for r in reqs]
  -
  -with open(os.path.join(here, "mephisto", "VERSION")) as version_file:
  -    version = version_file.read().strip()
  -
  -setup(
  -    name="mephisto",
  -    version=version,
  -    description="Crowdsourcing made simpler.",
  -    author="Jack Urbanek, Pratik Ringshia",
  -    author_email="jju@fb.com",
  -    long_description=readme,
  -    long_description_content_type="text/markdown",
  -    url="https://github.com/facebookresearch/Mephisto",
  -    python_requires=">=3.7",
  -    packages=find_packages(include=["mephisto.*", "hydra_plugins.*"]),
  -    license="MIT",
  -    install_requires=reqs,
  -    include_package_data=True,
  -    package_data={"mephisto": ["*.yaml", "abstractions/**/*"]},
  -    zip_safe=False,
  -    entry_points={"console_scripts": "mephisto=mephisto.client.cli:cli"},
  -    classifiers=[
  -        "Programming Language :: Python :: 3",
  -        "Programming Language :: Python :: 3.7",
  -        "Programming Language :: Python :: 3.8",
  -        "License :: OSI Approved :: MIT License",
  -        "Topic :: Scientific/Engineering :: Artificial Intelligence",
  -        "Natural Language :: English",
  -    ],
  -)
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\ndeleted file mode 100644\n--- a/setup.py\n+++ /dev/null\n@@ -1,49 +0,0 @@\n-#!/usr/bin/env python3\n-\n-# Copyright (c) Facebook, Inc. and its affiliates.\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-\n-from setuptools import setup, find_packages\n-import os\n-\n-here = os.path.abspath(os.path.dirname(__file__))\n-\n-with open(\"README.md\", encoding=\"utf8\") as f:\n-    # strip the header and badges etc\n-    readme = f.read()\n-\n-with open(\"requirements.txt\") as f:\n-    reqs = f.readlines()\n-    reqs = [r for r in reqs if \"--hash\" not in r]\n-    reqs = [r.split(\"\\\\\")[0].split(\";\")[0].strip() for r in reqs]\n-\n-with open(os.path.join(here, \"mephisto\", \"VERSION\")) as version_file:\n-    version = version_file.read().strip()\n-\n-setup(\n-    name=\"mephisto\",\n-    version=version,\n-    description=\"Crowdsourcing made simpler.\",\n-    author=\"Jack Urbanek, Pratik Ringshia\",\n-    author_email=\"jju@fb.com\",\n-    long_description=readme,\n-    long_description_content_type=\"text/markdown\",\n-    url=\"https://github.com/facebookresearch/Mephisto\",\n-    python_requires=\">=3.7\",\n-    packages=find_packages(include=[\"mephisto.*\", \"hydra_plugins.*\"]),\n-    license=\"MIT\",\n-    install_requires=reqs,\n-    include_package_data=True,\n-    package_data={\"mephisto\": [\"*.yaml\", \"abstractions/**/*\"]},\n-    zip_safe=False,\n-    entry_points={\"console_scripts\": \"mephisto=mephisto.client.cli:cli\"},\n-    classifiers=[\n-        \"Programming Language :: Python :: 3\",\n-        \"Programming Language :: Python :: 3.7\",\n-        \"Programming Language :: Python :: 3.8\",\n-        \"License :: OSI Approved :: MIT License\",\n-        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n-        \"Natural Language :: English\",\n-    ],\n-)\n", "issue": "Errors when installing new dependencies\n## Overview\r\nAdding a new dependency into requirements.txt causes errors to occur in the github actions workflow.\r\n\r\nFor example, \r\nWhen I added the `rich` dependency to the requirements.txt file I got this output for the test:\r\nhttps://github.com/facebookresearch/Mephisto/runs/7237323897?check_suite_focus=true\r\n\r\nThe issue is not exclusive to `rich` as I also got this error when trying to add the `detoxify` dependency.\n", "before_files": [{"content": "#!/usr/bin/env python3\n\n# Copyright (c) Facebook, Inc. and its affiliates.\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\nfrom setuptools import setup, find_packages\nimport os\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith open(\"README.md\", encoding=\"utf8\") as f:\n    # strip the header and badges etc\n    readme = f.read()\n\nwith open(\"requirements.txt\") as f:\n    reqs = f.readlines()\n    reqs = [r for r in reqs if \"--hash\" not in r]\n    reqs = [r.split(\"\\\\\")[0].split(\";\")[0].strip() for r in reqs]\n\nwith open(os.path.join(here, \"mephisto\", \"VERSION\")) as version_file:\n    version = version_file.read().strip()\n\nsetup(\n    name=\"mephisto\",\n    version=version,\n    description=\"Crowdsourcing made simpler.\",\n    author=\"Jack Urbanek, Pratik Ringshia\",\n    author_email=\"jju@fb.com\",\n    long_description=readme,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/facebookresearch/Mephisto\",\n    python_requires=\">=3.7\",\n    packages=find_packages(include=[\"mephisto.*\", \"hydra_plugins.*\"]),\n    license=\"MIT\",\n    install_requires=reqs,\n    include_package_data=True,\n    package_data={\"mephisto\": [\"*.yaml\", \"abstractions/**/*\"]},\n    zip_safe=False,\n    entry_points={\"console_scripts\": \"mephisto=mephisto.client.cli:cli\"},\n    classifiers=[\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n        \"Natural Language :: English\",\n    ],\n)\n", "path": "setup.py"}], "after_files": [{"content": null, "path": "setup.py"}]}