prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Backport 1094 to v4 branch
  ### What was wrong?
  
  https://github.com/ethereum/web3.py/issues/1094#issuecomment-428259232 needs to be backported to the v4 branch.
  
  --- 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 python
  2 # -*- coding: utf-8 -*-
  3 from setuptools import (
  4     find_packages,
  5     setup,
  6 )
  7 
  8 extras_require = {
  9     'tester': [
  10         "eth-tester[py-evm]==0.1.0-beta.33",
  11         "py-geth>=2.0.1,<3.0.0",
  12     ],
  13     'testrpc': ["eth-testrpc>=1.3.3,<2.0.0"],
  14     'linter': [
  15         "flake8==3.4.1",
  16         "isort>=4.2.15,<5",
  17     ],
  18     'docs': [
  19         "mock",
  20         "sphinx-better-theme>=0.1.4",
  21         "click>=5.1",
  22         "configparser==3.5.0",
  23         "contextlib2>=0.5.4",
  24         #"eth-testrpc>=0.8.0",
  25         #"ethereum-tester-client>=1.1.0",
  26         "ethtoken",
  27         "py-geth>=1.4.0",
  28         "py-solc>=0.4.0",
  29         "pytest>=2.7.2",
  30         "sphinx",
  31         "sphinx_rtd_theme>=0.1.9",
  32         "toposort>=1.4",
  33         "urllib3",
  34         "web3>=2.1.0",
  35         "wheel"
  36     ],
  37     'dev': [
  38         "bumpversion",
  39         "flaky>=3.3.0",
  40         "hypothesis>=3.31.2",
  41         "pytest>=3.5.0,<4",
  42         "pytest-mock==1.*",
  43         "pytest-pythonpath>=0.3",
  44         "pytest-watch==4.*",
  45         "pytest-xdist==1.*",
  46         "tox>=1.8.0",
  47         "tqdm",
  48         "when-changed"
  49     ]
  50 }
  51 
  52 extras_require['dev'] = (
  53     extras_require['tester'] +
  54     extras_require['linter'] +
  55     extras_require['docs'] +
  56     extras_require['dev']
  57 )
  58 
  59 setup(
  60     name='web3',
  61     # *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.
  62     version='4.7.2',
  63     description="""Web3.py""",
  64     long_description_markdown_filename='README.md',
  65     author='Piper Merriam',
  66     author_email='pipermerriam@gmail.com',
  67     url='https://github.com/ethereum/web3.py',
  68     include_package_data=True,
  69     install_requires=[
  70         "toolz>=0.9.0,<1.0.0;implementation_name=='pypy'",
  71         "cytoolz>=0.9.0,<1.0.0;implementation_name=='cpython'",
  72         "eth-abi>=1.2.0,<2.0.0",
  73         "eth-account>=0.2.1,<0.4.0",
  74         "eth-utils>=1.2.0,<2.0.0",
  75         "hexbytes>=0.1.0,<1.0.0",
  76         "lru-dict>=1.1.6,<2.0.0",
  77         "eth-hash[pycryptodome]>=0.2.0,<1.0.0",
  78         "requests>=2.16.0,<3.0.0",
  79         "websockets>=6.0.0,<7.0.0",
  80         "pypiwin32>=223;platform_system=='Windows'",
  81     ],
  82     setup_requires=['setuptools-markdown'],
  83     python_requires='>=3.5, <4',
  84     extras_require=extras_require,
  85     py_modules=['web3', 'ens'],
  86     license="MIT",
  87     zip_safe=False,
  88     keywords='ethereum',
  89     packages=find_packages(exclude=["tests", "tests.*"]),
  90     classifiers=[
  91         'Development Status :: 5 - Production/Stable',
  92         'Intended Audience :: Developers',
  93         'License :: OSI Approved :: MIT License',
  94         'Natural Language :: English',
  95         'Programming Language :: Python :: 3',
  96         'Programming Language :: Python :: 3.5',
  97         'Programming Language :: Python :: 3.6',
  98     ],
  99 )
  100
  ```
  --- 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
  @@ -80,7 +80,7 @@
           "pypiwin32>=223;platform_system=='Windows'",
       ],
       setup_requires=['setuptools-markdown'],
  -    python_requires='>=3.5, <4',
  +    python_requires='>=3.5.3,<4',
       extras_require=extras_require,
       py_modules=['web3', 'ens'],
       license="MIT",
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -80,7 +80,7 @@\n         \"pypiwin32>=223;platform_system=='Windows'\",\n     ],\n     setup_requires=['setuptools-markdown'],\n-    python_requires='>=3.5, <4',\n+    python_requires='>=3.5.3,<4',\n     extras_require=extras_require,\n     py_modules=['web3', 'ens'],\n     license=\"MIT\",\n", "issue": "Backport 1094 to v4 branch\n### What was wrong?\r\n\r\nhttps://github.com/ethereum/web3.py/issues/1094#issuecomment-428259232 needs to be backported to the v4 branch.\n", "before_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nfrom setuptools import (\n    find_packages,\n    setup,\n)\n\nextras_require = {\n    'tester': [\n        \"eth-tester[py-evm]==0.1.0-beta.33\",\n        \"py-geth>=2.0.1,<3.0.0\",\n    ],\n    'testrpc': [\"eth-testrpc>=1.3.3,<2.0.0\"],\n    'linter': [\n        \"flake8==3.4.1\",\n        \"isort>=4.2.15,<5\",\n    ],\n    'docs': [\n        \"mock\",\n        \"sphinx-better-theme>=0.1.4\",\n        \"click>=5.1\",\n        \"configparser==3.5.0\",\n        \"contextlib2>=0.5.4\",\n        #\"eth-testrpc>=0.8.0\",\n        #\"ethereum-tester-client>=1.1.0\",\n        \"ethtoken\",\n        \"py-geth>=1.4.0\",\n        \"py-solc>=0.4.0\",\n        \"pytest>=2.7.2\",\n        \"sphinx\",\n        \"sphinx_rtd_theme>=0.1.9\",\n        \"toposort>=1.4\",\n        \"urllib3\",\n        \"web3>=2.1.0\",\n        \"wheel\"\n    ],\n    'dev': [\n        \"bumpversion\",\n        \"flaky>=3.3.0\",\n        \"hypothesis>=3.31.2\",\n        \"pytest>=3.5.0,<4\",\n        \"pytest-mock==1.*\",\n        \"pytest-pythonpath>=0.3\",\n        \"pytest-watch==4.*\",\n        \"pytest-xdist==1.*\",\n        \"tox>=1.8.0\",\n        \"tqdm\",\n        \"when-changed\"\n    ]\n}\n\nextras_require['dev'] = (\n    extras_require['tester'] +\n    extras_require['linter'] +\n    extras_require['docs'] +\n    extras_require['dev']\n)\n\nsetup(\n    name='web3',\n    # *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.\n    version='4.7.2',\n    description=\"\"\"Web3.py\"\"\",\n    long_description_markdown_filename='README.md',\n    author='Piper Merriam',\n    author_email='pipermerriam@gmail.com',\n    url='https://github.com/ethereum/web3.py',\n    include_package_data=True,\n    install_requires=[\n        \"toolz>=0.9.0,<1.0.0;implementation_name=='pypy'\",\n        \"cytoolz>=0.9.0,<1.0.0;implementation_name=='cpython'\",\n        \"eth-abi>=1.2.0,<2.0.0\",\n        \"eth-account>=0.2.1,<0.4.0\",\n        \"eth-utils>=1.2.0,<2.0.0\",\n        \"hexbytes>=0.1.0,<1.0.0\",\n        \"lru-dict>=1.1.6,<2.0.0\",\n        \"eth-hash[pycryptodome]>=0.2.0,<1.0.0\",\n        \"requests>=2.16.0,<3.0.0\",\n        \"websockets>=6.0.0,<7.0.0\",\n        \"pypiwin32>=223;platform_system=='Windows'\",\n    ],\n    setup_requires=['setuptools-markdown'],\n    python_requires='>=3.5, <4',\n    extras_require=extras_require,\n    py_modules=['web3', 'ens'],\n    license=\"MIT\",\n    zip_safe=False,\n    keywords='ethereum',\n    packages=find_packages(exclude=[\"tests\", \"tests.*\"]),\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: MIT License',\n        'Natural Language :: English',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n    ],\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nfrom setuptools import (\n    find_packages,\n    setup,\n)\n\nextras_require = {\n    'tester': [\n        \"eth-tester[py-evm]==0.1.0-beta.33\",\n        \"py-geth>=2.0.1,<3.0.0\",\n    ],\n    'testrpc': [\"eth-testrpc>=1.3.3,<2.0.0\"],\n    'linter': [\n        \"flake8==3.4.1\",\n        \"isort>=4.2.15,<5\",\n    ],\n    'docs': [\n        \"mock\",\n        \"sphinx-better-theme>=0.1.4\",\n        \"click>=5.1\",\n        \"configparser==3.5.0\",\n        \"contextlib2>=0.5.4\",\n        #\"eth-testrpc>=0.8.0\",\n        #\"ethereum-tester-client>=1.1.0\",\n        \"ethtoken\",\n        \"py-geth>=1.4.0\",\n        \"py-solc>=0.4.0\",\n        \"pytest>=2.7.2\",\n        \"sphinx\",\n        \"sphinx_rtd_theme>=0.1.9\",\n        \"toposort>=1.4\",\n        \"urllib3\",\n        \"web3>=2.1.0\",\n        \"wheel\"\n    ],\n    'dev': [\n        \"bumpversion\",\n        \"flaky>=3.3.0\",\n        \"hypothesis>=3.31.2\",\n        \"pytest>=3.5.0,<4\",\n        \"pytest-mock==1.*\",\n        \"pytest-pythonpath>=0.3\",\n        \"pytest-watch==4.*\",\n        \"pytest-xdist==1.*\",\n        \"tox>=1.8.0\",\n        \"tqdm\",\n        \"when-changed\"\n    ]\n}\n\nextras_require['dev'] = (\n    extras_require['tester'] +\n    extras_require['linter'] +\n    extras_require['docs'] +\n    extras_require['dev']\n)\n\nsetup(\n    name='web3',\n    # *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility.\n    version='4.7.2',\n    description=\"\"\"Web3.py\"\"\",\n    long_description_markdown_filename='README.md',\n    author='Piper Merriam',\n    author_email='pipermerriam@gmail.com',\n    url='https://github.com/ethereum/web3.py',\n    include_package_data=True,\n    install_requires=[\n        \"toolz>=0.9.0,<1.0.0;implementation_name=='pypy'\",\n        \"cytoolz>=0.9.0,<1.0.0;implementation_name=='cpython'\",\n        \"eth-abi>=1.2.0,<2.0.0\",\n        \"eth-account>=0.2.1,<0.4.0\",\n        \"eth-utils>=1.2.0,<2.0.0\",\n        \"hexbytes>=0.1.0,<1.0.0\",\n        \"lru-dict>=1.1.6,<2.0.0\",\n        \"eth-hash[pycryptodome]>=0.2.0,<1.0.0\",\n        \"requests>=2.16.0,<3.0.0\",\n        \"websockets>=6.0.0,<7.0.0\",\n        \"pypiwin32>=223;platform_system=='Windows'\",\n    ],\n    setup_requires=['setuptools-markdown'],\n    python_requires='>=3.5.3,<4',\n    extras_require=extras_require,\n    py_modules=['web3', 'ens'],\n    license=\"MIT\",\n    zip_safe=False,\n    keywords='ethereum',\n    packages=find_packages(exclude=[\"tests\", \"tests.*\"]),\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Intended Audience :: Developers',\n        'License :: OSI Approved :: MIT License',\n        'Natural Language :: English',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\n    ],\n)\n", "path": "setup.py"}]}