prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Problem trying to install 
  Use this to open other questions or issues, and provide context here.
  Hi, I'm kinda new to this, when I was trying to install it, I got the following error: 
  
   File "setup.py", line 30
      version=f'0.1.{DATE}{BUILD}',
                                 ^
  SyntaxError: invalid syntax
  
  I used the command: 
  
  git clone https://github.com/facebookresearch/ParlAI.git
  cd ParlAI; python setup.py develop
  
  Any Idea why?
  
  Thank you. 
  
  --- 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 
  8 import datetime
  9 import sys
  10 
  11 from setuptools import setup, find_packages
  12 
  13 BUILD = ''  # if multiple in one day, use "dev0", "dev1", ...
  14 DATE = datetime.date.today().isoformat().replace('-', '')
  15 
  16 if sys.version_info < (3, 6):
  17     sys.exit('Sorry, Python >=3.6 is required for ParlAI.')
  18 
  19 with open('README.md', encoding="utf8") as f:
  20     # strip the header and badges etc
  21     readme = f.read().split('--------------------')[-1]
  22 
  23 with open('requirements.txt') as f:
  24     reqs = f.read()
  25 
  26 
  27 if __name__ == '__main__':
  28     setup(
  29         name='parlai',
  30         version=f'0.1.{DATE}{BUILD}',
  31         description='Unified platform for dialogue research.',
  32         long_description=readme,
  33         long_description_content_type='text/markdown',
  34         url='http://parl.ai/',
  35         python_requires='>=3.6',
  36         scripts=['bin/parlai'],
  37         packages=find_packages(
  38             exclude=('data', 'docs', 'examples', 'tests', 'parlai_internal',)
  39         ),
  40         install_requires=reqs.strip().split('\n'),
  41         include_package_data=True,
  42         entry_points={"flake8.extension": ["PAI = parlai.utils.flake8:ParlAIChecker"]},
  43         classifiers=[
  44             "Programming Language :: Python :: 3",
  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
  --- a/setup.py
  +++ b/setup.py
  @@ -10,7 +10,7 @@
   
   from setuptools import setup, find_packages
   
  -BUILD = ''  # if multiple in one day, use "dev0", "dev1", ...
  +BUILD = ''  # test by setting to ".dev0" if multiple in one day, use ".dev1", ...
   DATE = datetime.date.today().isoformat().replace('-', '')
   
   if sys.version_info < (3, 6):
  @@ -27,7 +27,7 @@
   if __name__ == '__main__':
       setup(
           name='parlai',
  -        version=f'0.1.{DATE}{BUILD}',
  +        version='0.1.{DATE}{BUILD}'.format(DATE=DATE, BUILD=BUILD),
           description='Unified platform for dialogue research.',
           long_description=readme,
           long_description_content_type='text/markdown',
  @@ -39,6 +39,7 @@
           ),
           install_requires=reqs.strip().split('\n'),
           include_package_data=True,
  +        package_data={'': ['*.txt', '*.md']},
           entry_points={"flake8.extension": ["PAI = parlai.utils.flake8:ParlAIChecker"]},
           classifiers=[
               "Programming Language :: Python :: 3",
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -10,7 +10,7 @@\n \n from setuptools import setup, find_packages\n \n-BUILD = ''  # if multiple in one day, use \"dev0\", \"dev1\", ...\n+BUILD = ''  # test by setting to \".dev0\" if multiple in one day, use \".dev1\", ...\n DATE = datetime.date.today().isoformat().replace('-', '')\n \n if sys.version_info < (3, 6):\n@@ -27,7 +27,7 @@\n if __name__ == '__main__':\n     setup(\n         name='parlai',\n-        version=f'0.1.{DATE}{BUILD}',\n+        version='0.1.{DATE}{BUILD}'.format(DATE=DATE, BUILD=BUILD),\n         description='Unified platform for dialogue research.',\n         long_description=readme,\n         long_description_content_type='text/markdown',\n@@ -39,6 +39,7 @@\n         ),\n         install_requires=reqs.strip().split('\\n'),\n         include_package_data=True,\n+        package_data={'': ['*.txt', '*.md']},\n         entry_points={\"flake8.extension\": [\"PAI = parlai.utils.flake8:ParlAIChecker\"]},\n         classifiers=[\n             \"Programming Language :: Python :: 3\",\n", "issue": "Problem trying to install \nUse this to open other questions or issues, and provide context here.\r\nHi, I'm kinda new to this, when I was trying to install it, I got the following error: \r\n\r\n File \"setup.py\", line 30\r\n    version=f'0.1.{DATE}{BUILD}',\r\n                               ^\r\nSyntaxError: invalid syntax\r\n\r\nI used the command: \r\n\r\ngit clone https://github.com/facebookresearch/ParlAI.git\r\ncd ParlAI; python setup.py develop\r\n\r\nAny Idea why?\r\n\r\nThank you. \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\n\nimport datetime\nimport sys\n\nfrom setuptools import setup, find_packages\n\nBUILD = ''  # if multiple in one day, use \"dev0\", \"dev1\", ...\nDATE = datetime.date.today().isoformat().replace('-', '')\n\nif sys.version_info < (3, 6):\n    sys.exit('Sorry, Python >=3.6 is required for ParlAI.')\n\nwith open('README.md', encoding=\"utf8\") as f:\n    # strip the header and badges etc\n    readme = f.read().split('--------------------')[-1]\n\nwith open('requirements.txt') as f:\n    reqs = f.read()\n\n\nif __name__ == '__main__':\n    setup(\n        name='parlai',\n        version=f'0.1.{DATE}{BUILD}',\n        description='Unified platform for dialogue research.',\n        long_description=readme,\n        long_description_content_type='text/markdown',\n        url='http://parl.ai/',\n        python_requires='>=3.6',\n        scripts=['bin/parlai'],\n        packages=find_packages(\n            exclude=('data', 'docs', 'examples', 'tests', 'parlai_internal',)\n        ),\n        install_requires=reqs.strip().split('\\n'),\n        include_package_data=True,\n        entry_points={\"flake8.extension\": [\"PAI = parlai.utils.flake8:ParlAIChecker\"]},\n        classifiers=[\n            \"Programming Language :: Python :: 3\",\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": "#!/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\nimport datetime\nimport sys\n\nfrom setuptools import setup, find_packages\n\nBUILD = ''  # test by setting to \".dev0\" if multiple in one day, use \".dev1\", ...\nDATE = datetime.date.today().isoformat().replace('-', '')\n\nif sys.version_info < (3, 6):\n    sys.exit('Sorry, Python >=3.6 is required for ParlAI.')\n\nwith open('README.md', encoding=\"utf8\") as f:\n    # strip the header and badges etc\n    readme = f.read().split('--------------------')[-1]\n\nwith open('requirements.txt') as f:\n    reqs = f.read()\n\n\nif __name__ == '__main__':\n    setup(\n        name='parlai',\n        version='0.1.{DATE}{BUILD}'.format(DATE=DATE, BUILD=BUILD),\n        description='Unified platform for dialogue research.',\n        long_description=readme,\n        long_description_content_type='text/markdown',\n        url='http://parl.ai/',\n        python_requires='>=3.6',\n        scripts=['bin/parlai'],\n        packages=find_packages(\n            exclude=('data', 'docs', 'examples', 'tests', 'parlai_internal',)\n        ),\n        install_requires=reqs.strip().split('\\n'),\n        include_package_data=True,\n        package_data={'': ['*.txt', '*.md']},\n        entry_points={\"flake8.extension\": [\"PAI = parlai.utils.flake8:ParlAIChecker\"]},\n        classifiers=[\n            \"Programming Language :: Python :: 3\",\n            \"License :: OSI Approved :: MIT License\",\n            \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n            \"Natural Language :: English\",\n        ],\n    )\n", "path": "setup.py"}]}