We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Drop Python 3.5 support
Python 3.5 was a famous release (async/await syntax was introduced) but the version has reached end-of-life.
We can (and should) drop it.
Speaking as the maintainer of other libraries, I can say that it simplifies the code base a little

--- 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 import re
2 import os.path
3 import sys
4 import platform
5 from setuptools import setup, find_packages
6 
7 
8 install_requires = ['async-timeout']
9 if platform.python_implementation() == 'CPython':
10     install_requires.append('hiredis')
11 
12 PY_VER = sys.version_info
13 
14 if PY_VER < (3, 5):
15     raise RuntimeError("aioredis doesn't support Python version prior 3.5")
16 
17 
18 def read(*parts):
19     with open(os.path.join(*parts), 'rt') as f:
20         return f.read().strip()
21 
22 
23 def read_version():
24     regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'")
25     init_py = os.path.join(os.path.dirname(__file__),
26                            'aioredis', '__init__.py')
27     with open(init_py) as f:
28         for line in f:
29             match = regexp.match(line)
30             if match is not None:
31                 return match.group(1)
32         raise RuntimeError('Cannot find version in {}'.format(init_py))
33 
34 
35 classifiers = [
36     'License :: OSI Approved :: MIT License',
37     'Development Status :: 4 - Beta',
38     'Programming Language :: Python',
39     'Programming Language :: Python :: 3',
40     'Programming Language :: Python :: 3.5',
41     'Programming Language :: Python :: 3.6',
42     'Programming Language :: Python :: 3.7',
43     'Programming Language :: Python :: 3 :: Only',
44     'Operating System :: POSIX',
45     'Environment :: Web Environment',
46     'Intended Audience :: Developers',
47     'Topic :: Software Development',
48     'Topic :: Software Development :: Libraries',
49     'Framework :: AsyncIO',
50 ]
51 
52 setup(name='aioredis',
53       version=read_version(),
54       description=("asyncio (PEP 3156) Redis support"),
55       long_description="\n\n".join((read('README.rst'), read('CHANGES.txt'))),
56       classifiers=classifiers,
57       platforms=["POSIX"],
58       author="Alexey Popravka",
59       author_email="alexey.popravka@horsedevel.com",
60       url="https://github.com/aio-libs/aioredis",
61       license="MIT",
62       packages=find_packages(exclude=["tests"]),
63       install_requires=install_requires,
64       include_package_data=True,
65       )
66
```
--- 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
@@ -1,20 +1,8 @@
 import re
 import os.path
-import sys
-import platform
 from setuptools import setup, find_packages
 
 
-install_requires = ['async-timeout']
-if platform.python_implementation() == 'CPython':
-    install_requires.append('hiredis')
-
-PY_VER = sys.version_info
-
-if PY_VER < (3, 5):
-    raise RuntimeError("aioredis doesn't support Python version prior 3.5")
-
-
 def read(*parts):
     with open(os.path.join(*parts), 'rt') as f:
         return f.read().strip()
@@ -37,7 +25,6 @@
     'Development Status :: 4 - Beta',
     'Programming Language :: Python',
     'Programming Language :: Python :: 3',
-    'Programming Language :: Python :: 3.5',
     'Programming Language :: Python :: 3.6',
     'Programming Language :: Python :: 3.7',
     'Programming Language :: Python :: 3 :: Only',
@@ -60,6 +47,10 @@
       url="https://github.com/aio-libs/aioredis",
       license="MIT",
       packages=find_packages(exclude=["tests"]),
-      install_requires=install_requires,
+      install_requires=[
+          'async-timeout',
+          'hiredis; implementation_name=="cpython"'
+      ],
+      python_requires=">=3.6",
       include_package_data=True,
       )

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,20 +1,8 @@\n import re\n import os.path\n-import sys\n-import platform\n from setuptools import setup, find_packages\n \n \n-install_requires = ['async-timeout']\n-if platform.python_implementation() == 'CPython':\n-    install_requires.append('hiredis')\n-\n-PY_VER = sys.version_info\n-\n-if PY_VER < (3, 5):\n-    raise RuntimeError(\"aioredis doesn't support Python version prior 3.5\")\n-\n-\n def read(*parts):\n     with open(os.path.join(*parts), 'rt') as f:\n         return f.read().strip()\n@@ -37,7 +25,6 @@\n     'Development Status :: 4 - Beta',\n     'Programming Language :: Python',\n     'Programming Language :: Python :: 3',\n-    'Programming Language :: Python :: 3.5',\n     'Programming Language :: Python :: 3.6',\n     'Programming Language :: Python :: 3.7',\n     'Programming Language :: Python :: 3 :: Only',\n@@ -60,6 +47,10 @@\n       url=\"https://github.com/aio-libs/aioredis\",\n       license=\"MIT\",\n       packages=find_packages(exclude=[\"tests\"]),\n-      install_requires=install_requires,\n+      install_requires=[\n+          'async-timeout',\n+          'hiredis; implementation_name==\"cpython\"'\n+      ],\n+      python_requires=\">=3.6\",\n       include_package_data=True,\n       )\n", "issue": "Drop Python 3.5 support\nPython 3.5 was a famous release (async/await syntax was introduced) but the version has reached end-of-life.\r\nWe can (and should) drop it.\r\nSpeaking as the maintainer of other libraries, I can say that it simplifies the code base a little\n", "before_files": [{"content": "import re\nimport os.path\nimport sys\nimport platform\nfrom setuptools import setup, find_packages\n\n\ninstall_requires = ['async-timeout']\nif platform.python_implementation() == 'CPython':\n    install_requires.append('hiredis')\n\nPY_VER = sys.version_info\n\nif PY_VER < (3, 5):\n    raise RuntimeError(\"aioredis doesn't support Python version prior 3.5\")\n\n\ndef read(*parts):\n    with open(os.path.join(*parts), 'rt') as f:\n        return f.read().strip()\n\n\ndef read_version():\n    regexp = re.compile(r\"^__version__\\W*=\\W*'([\\d.abrc]+)'\")\n    init_py = os.path.join(os.path.dirname(__file__),\n                           'aioredis', '__init__.py')\n    with open(init_py) as f:\n        for line in f:\n            match = regexp.match(line)\n            if match is not None:\n                return match.group(1)\n        raise RuntimeError('Cannot find version in {}'.format(init_py))\n\n\nclassifiers = [\n    'License :: OSI Approved :: MIT License',\n    'Development Status :: 4 - Beta',\n    'Programming Language :: Python',\n    'Programming Language :: Python :: 3',\n    'Programming Language :: Python :: 3.5',\n    'Programming Language :: Python :: 3.6',\n    'Programming Language :: Python :: 3.7',\n    'Programming Language :: Python :: 3 :: Only',\n    'Operating System :: POSIX',\n    'Environment :: Web Environment',\n    'Intended Audience :: Developers',\n    'Topic :: Software Development',\n    'Topic :: Software Development :: Libraries',\n    'Framework :: AsyncIO',\n]\n\nsetup(name='aioredis',\n      version=read_version(),\n      description=(\"asyncio (PEP 3156) Redis support\"),\n      long_description=\"\\n\\n\".join((read('README.rst'), read('CHANGES.txt'))),\n      classifiers=classifiers,\n      platforms=[\"POSIX\"],\n      author=\"Alexey Popravka\",\n      author_email=\"alexey.popravka@horsedevel.com\",\n      url=\"https://github.com/aio-libs/aioredis\",\n      license=\"MIT\",\n      packages=find_packages(exclude=[\"tests\"]),\n      install_requires=install_requires,\n      include_package_data=True,\n      )\n", "path": "setup.py"}], "after_files": [{"content": "import re\nimport os.path\nfrom setuptools import setup, find_packages\n\n\ndef read(*parts):\n    with open(os.path.join(*parts), 'rt') as f:\n        return f.read().strip()\n\n\ndef read_version():\n    regexp = re.compile(r\"^__version__\\W*=\\W*'([\\d.abrc]+)'\")\n    init_py = os.path.join(os.path.dirname(__file__),\n                           'aioredis', '__init__.py')\n    with open(init_py) as f:\n        for line in f:\n            match = regexp.match(line)\n            if match is not None:\n                return match.group(1)\n        raise RuntimeError('Cannot find version in {}'.format(init_py))\n\n\nclassifiers = [\n    'License :: OSI Approved :: MIT License',\n    'Development Status :: 4 - Beta',\n    'Programming Language :: Python',\n    'Programming Language :: Python :: 3',\n    'Programming Language :: Python :: 3.6',\n    'Programming Language :: Python :: 3.7',\n    'Programming Language :: Python :: 3 :: Only',\n    'Operating System :: POSIX',\n    'Environment :: Web Environment',\n    'Intended Audience :: Developers',\n    'Topic :: Software Development',\n    'Topic :: Software Development :: Libraries',\n    'Framework :: AsyncIO',\n]\n\nsetup(name='aioredis',\n      version=read_version(),\n      description=(\"asyncio (PEP 3156) Redis support\"),\n      long_description=\"\\n\\n\".join((read('README.rst'), read('CHANGES.txt'))),\n      classifiers=classifiers,\n      platforms=[\"POSIX\"],\n      author=\"Alexey Popravka\",\n      author_email=\"alexey.popravka@horsedevel.com\",\n      url=\"https://github.com/aio-libs/aioredis\",\n      license=\"MIT\",\n      packages=find_packages(exclude=[\"tests\"]),\n      install_requires=[\n          'async-timeout',\n          'hiredis; implementation_name==\"cpython\"'\n      ],\n      python_requires=\">=3.6\",\n      include_package_data=True,\n      )\n", "path": "setup.py"}]}