We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Don't rely on obsolete msgpack-python

msgpack-python looks obsolete -> https://pypi.org/project/msgpack-python/
"This package is deprecated. Install msgpack instead."

but msgpack doesn't provide pythonegg(msgpack-python).

Please consider switching to msgpack directly instead.

--- 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 # -*- coding: utf-8 -*-
2 import ast
3 import os
4 import re
5 
6 from setuptools import find_packages, setup
7 
8 # parse version from locust/__init__.py
9 _version_re = re.compile(r'__version__\s+=\s+(.*)')
10 _init_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), "locust", "__init__.py")
11 with open(_init_file, 'rb') as f:
12     version = str(ast.literal_eval(_version_re.search(
13         f.read().decode('utf-8')).group(1)))
14 
15 setup(
16     name='locustio',
17     version=version,
18     description="Website load testing framework",
19     long_description="""Locust is a python utility for doing easy, distributed load testing of a web site""",
20     classifiers=[
21         "Topic :: Software Development :: Testing :: Traffic Generation",
22         "Development Status :: 4 - Beta",
23         "License :: OSI Approved :: MIT License",
24         "Operating System :: OS Independent",
25         "Programming Language :: Python",
26         "Programming Language :: Python :: 2",
27         "Programming Language :: Python :: 2.7",
28         "Programming Language :: Python :: 3",
29         "Programming Language :: Python :: 3.4",
30         "Programming Language :: Python :: 3.5",
31         "Programming Language :: Python :: 3.6",
32         "Intended Audience :: Developers",
33         "Intended Audience :: System Administrators",
34     ],
35     keywords='',
36     author='Jonatan Heyman, Carl Bystrom, Joakim Hamrén, Hugo Heyman',
37     author_email='',
38     url='https://locust.io/',
39     license='MIT',
40     packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
41     include_package_data=True,
42     zip_safe=False,
43     install_requires=["gevent>=1.2.2", "flask>=0.10.1", "requests>=2.9.1", "msgpack-python>=0.4.2", "six>=1.10.0", "pyzmq>=16.0.2"],
44     test_suite="locust.test",
45     tests_require=['mock'],
46     entry_points={
47         'console_scripts': [
48             'locust = locust.main:main',
49         ]
50     },
51 )
52
```
--- 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/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@
     packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
     include_package_data=True,
     zip_safe=False,
-    install_requires=["gevent>=1.2.2", "flask>=0.10.1", "requests>=2.9.1", "msgpack-python>=0.4.2", "six>=1.10.0", "pyzmq>=16.0.2"],
+    install_requires=["gevent>=1.2.2", "flask>=0.10.1", "requests>=2.9.1", "msgpack>=0.4.2", "six>=1.10.0", "pyzmq>=16.0.2"],
     test_suite="locust.test",
     tests_require=['mock'],
     entry_points={

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -40,7 +40,7 @@\n     packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),\n     include_package_data=True,\n     zip_safe=False,\n-    install_requires=[\"gevent>=1.2.2\", \"flask>=0.10.1\", \"requests>=2.9.1\", \"msgpack-python>=0.4.2\", \"six>=1.10.0\", \"pyzmq>=16.0.2\"],\n+    install_requires=[\"gevent>=1.2.2\", \"flask>=0.10.1\", \"requests>=2.9.1\", \"msgpack>=0.4.2\", \"six>=1.10.0\", \"pyzmq>=16.0.2\"],\n     test_suite=\"locust.test\",\n     tests_require=['mock'],\n     entry_points={\n", "issue": "Don't rely on obsolete msgpack-python\n\r\nmsgpack-python looks obsolete -> https://pypi.org/project/msgpack-python/\r\n\"This package is deprecated. Install msgpack instead.\"\r\n\r\nbut msgpack doesn't provide pythonegg(msgpack-python).\r\n\r\nPlease consider switching to msgpack directly instead.\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\nimport ast\nimport os\nimport re\n\nfrom setuptools import find_packages, setup\n\n# parse version from locust/__init__.py\n_version_re = re.compile(r'__version__\\s+=\\s+(.*)')\n_init_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), \"locust\", \"__init__.py\")\nwith open(_init_file, 'rb') as f:\n    version = str(ast.literal_eval(_version_re.search(\n        f.read().decode('utf-8')).group(1)))\n\nsetup(\n    name='locustio',\n    version=version,\n    description=\"Website load testing framework\",\n    long_description=\"\"\"Locust is a python utility for doing easy, distributed load testing of a web site\"\"\",\n    classifiers=[\n        \"Topic :: Software Development :: Testing :: Traffic Generation\",\n        \"Development Status :: 4 - Beta\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.4\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: System Administrators\",\n    ],\n    keywords='',\n    author='Jonatan Heyman, Carl Bystrom, Joakim Hamr\u00e9n, Hugo Heyman',\n    author_email='',\n    url='https://locust.io/',\n    license='MIT',\n    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),\n    include_package_data=True,\n    zip_safe=False,\n    install_requires=[\"gevent>=1.2.2\", \"flask>=0.10.1\", \"requests>=2.9.1\", \"msgpack-python>=0.4.2\", \"six>=1.10.0\", \"pyzmq>=16.0.2\"],\n    test_suite=\"locust.test\",\n    tests_require=['mock'],\n    entry_points={\n        'console_scripts': [\n            'locust = locust.main:main',\n        ]\n    },\n)\n", "path": "setup.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\nimport ast\nimport os\nimport re\n\nfrom setuptools import find_packages, setup\n\n# parse version from locust/__init__.py\n_version_re = re.compile(r'__version__\\s+=\\s+(.*)')\n_init_file = os.path.join(os.path.abspath(os.path.dirname(__file__)), \"locust\", \"__init__.py\")\nwith open(_init_file, 'rb') as f:\n    version = str(ast.literal_eval(_version_re.search(\n        f.read().decode('utf-8')).group(1)))\n\nsetup(\n    name='locustio',\n    version=version,\n    description=\"Website load testing framework\",\n    long_description=\"\"\"Locust is a python utility for doing easy, distributed load testing of a web site\"\"\",\n    classifiers=[\n        \"Topic :: Software Development :: Testing :: Traffic Generation\",\n        \"Development Status :: 4 - Beta\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 2\",\n        \"Programming Language :: Python :: 2.7\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.4\",\n        \"Programming Language :: Python :: 3.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: System Administrators\",\n    ],\n    keywords='',\n    author='Jonatan Heyman, Carl Bystrom, Joakim Hamr\u00e9n, Hugo Heyman',\n    author_email='',\n    url='https://locust.io/',\n    license='MIT',\n    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),\n    include_package_data=True,\n    zip_safe=False,\n    install_requires=[\"gevent>=1.2.2\", \"flask>=0.10.1\", \"requests>=2.9.1\", \"msgpack>=0.4.2\", \"six>=1.10.0\", \"pyzmq>=16.0.2\"],\n    test_suite=\"locust.test\",\n    tests_require=['mock'],\n    entry_points={\n        'console_scripts': [\n            'locust = locust.main:main',\n        ]\n    },\n)\n", "path": "setup.py"}]}