prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Deprecation notice about urllib3[secure]
   ### Description
  
   pyOpenSSL and urllib3[secure] are deprecated in the upcoming release (1.26.12)
   https://github.com/urllib3/urllib3/issues/2680
   Removed 'urllib3[secure] < 1.25 ; python_version < "3.5"' and  'urllib3[secure] < 2 ; python_version >= "3.5"'
  
  Closes #746
  
  --- 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 from __future__ import absolute_import, division, print_function, unicode_literals
  3 
  4 import os
  5 import sys
  6 
  7 from setuptools import Extension, find_packages, setup
  8 
  9 with open("README.md", "r") as fp:
  10     long_description = fp.read()
  11 
  12 packages = find_packages("src")
  13 if sys.version_info < (3, 6):
  14     packages = [p for p in packages if not p.startswith("scout_apm.async_")]
  15 
  16 compile_extensions = (
  17     # Python 3+
  18     sys.version_info >= (3,)
  19     # Not Jython
  20     and not sys.platform.startswith("java")
  21     # Not PyPy
  22     and "__pypy__" not in sys.builtin_module_names
  23     # Not explicitly disabled
  24     and (os.environ.get("SCOUT_DISABLE_EXTENSIONS", "") == "")
  25 )
  26 if compile_extensions:
  27     ext_modules = [
  28         Extension(
  29             name=str("scout_apm.core._objtrace"),
  30             sources=[str("src/scout_apm/core/_objtrace.c")],
  31             optional=True,
  32         )
  33     ]
  34 else:
  35     ext_modules = []
  36 
  37 setup(
  38     name="scout_apm",
  39     version="2.26.1",
  40     description="Scout Application Performance Monitoring Agent",
  41     long_description=long_description,
  42     long_description_content_type="text/markdown",
  43     url="https://github.com/scoutapp/scout_apm_python",
  44     project_urls={
  45         "Documentation": "https://docs.scoutapm.com/#python-agent",
  46         "Changelog": (
  47             "https://github.com/scoutapp/scout_apm_python/blob/master/CHANGELOG.md"
  48         ),
  49     },
  50     author="Scout",
  51     author_email="support@scoutapm.com",
  52     license="MIT",
  53     zip_safe=False,
  54     python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4",
  55     packages=packages,
  56     package_dir={str(""): str("src")},
  57     ext_modules=ext_modules,
  58     entry_points={
  59         "console_scripts": [
  60             "core-agent-manager = scout_apm.core.cli.core_agent_manager:main"
  61         ]
  62     },
  63     install_requires=[
  64         'asgiref ; python_version >= "3.5"',
  65         'contextvars ; python_version >= "3.6" and python_version < "3.7"',
  66         'importlib-metadata ; python_version < "3.8"',
  67         "psutil>=5,<6",
  68         'urllib3[secure] < 1.25 ; python_version < "3.5"',
  69         'urllib3[secure] < 2 ; python_version >= "3.5"',
  70         "wrapt>=1.10,<2.0",
  71     ],
  72     keywords=["apm", "performance monitoring", "development"],
  73     classifiers=[
  74         "Development Status :: 5 - Production/Stable",
  75         "Framework :: Bottle",
  76         "Framework :: Django",
  77         "Framework :: Django :: 1.8",
  78         "Framework :: Django :: 1.9",
  79         "Framework :: Django :: 1.10",
  80         "Framework :: Django :: 1.11",
  81         "Framework :: Django :: 2.0",
  82         "Framework :: Django :: 2.1",
  83         "Framework :: Django :: 2.2",
  84         "Framework :: Django :: 3.0",
  85         "Framework :: Django :: 3.1",
  86         "Framework :: Django :: 3.2",
  87         "Framework :: Django :: 4.0",
  88         "Framework :: Flask",
  89         "Framework :: Pyramid",
  90         "Intended Audience :: Developers",
  91         "Topic :: System :: Monitoring",
  92         "License :: OSI Approved :: MIT License",
  93         "Operating System :: MacOS",
  94         "Operating System :: POSIX",
  95         "Operating System :: POSIX :: Linux",
  96         "Programming Language :: Python :: 2",
  97         "Programming Language :: Python :: 2.7",
  98         "Programming Language :: Python :: 3",
  99         "Programming Language :: Python :: 3.4",
  100         "Programming Language :: Python :: 3.5",
  101         "Programming Language :: Python :: 3.6",
  102         "Programming Language :: Python :: 3.7",
  103         "Programming Language :: Python :: 3.8",
  104         "Programming Language :: Python :: 3.9",
  105         "Programming Language :: Python :: 3.10",
  106     ],
  107 )
  108
  ```
  --- 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
  @@ -66,7 +66,7 @@
           'importlib-metadata ; python_version < "3.8"',
           "psutil>=5,<6",
           'urllib3[secure] < 1.25 ; python_version < "3.5"',
  -        'urllib3[secure] < 2 ; python_version >= "3.5"',
  +        'urllib3 < 2 ; python_version >= "3.5"',
           "wrapt>=1.10,<2.0",
       ],
       keywords=["apm", "performance monitoring", "development"],
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -66,7 +66,7 @@\n         'importlib-metadata ; python_version < \"3.8\"',\n         \"psutil>=5,<6\",\n         'urllib3[secure] < 1.25 ; python_version < \"3.5\"',\n-        'urllib3[secure] < 2 ; python_version >= \"3.5\"',\n+        'urllib3 < 2 ; python_version >= \"3.5\"',\n         \"wrapt>=1.10,<2.0\",\n     ],\n     keywords=[\"apm\", \"performance monitoring\", \"development\"],\n", "issue": "Deprecation notice about urllib3[secure]\n ### Description\r\n\r\n pyOpenSSL and urllib3[secure] are deprecated in the upcoming release (1.26.12)\r\n https://github.com/urllib3/urllib3/issues/2680\r\n Removed 'urllib3[secure] < 1.25 ; python_version < \"3.5\"' and  'urllib3[secure] < 2 ; python_version >= \"3.5\"'\r\n\r\nCloses #746\n", "before_files": [{"content": "# coding=utf-8\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport os\nimport sys\n\nfrom setuptools import Extension, find_packages, setup\n\nwith open(\"README.md\", \"r\") as fp:\n    long_description = fp.read()\n\npackages = find_packages(\"src\")\nif sys.version_info < (3, 6):\n    packages = [p for p in packages if not p.startswith(\"scout_apm.async_\")]\n\ncompile_extensions = (\n    # Python 3+\n    sys.version_info >= (3,)\n    # Not Jython\n    and not sys.platform.startswith(\"java\")\n    # Not PyPy\n    and \"__pypy__\" not in sys.builtin_module_names\n    # Not explicitly disabled\n    and (os.environ.get(\"SCOUT_DISABLE_EXTENSIONS\", \"\") == \"\")\n)\nif compile_extensions:\n    ext_modules = [\n        Extension(\n            name=str(\"scout_apm.core._objtrace\"),\n            sources=[str(\"src/scout_apm/core/_objtrace.c\")],\n            optional=True,\n        )\n    ]\nelse:\n    ext_modules = []\n\nsetup(\n    name=\"scout_apm\",\n    version=\"2.26.1\",\n    description=\"Scout Application Performance Monitoring Agent\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/scoutapp/scout_apm_python\",\n    project_urls={\n        \"Documentation\": \"https://docs.scoutapm.com/#python-agent\",\n        \"Changelog\": (\n            \"https://github.com/scoutapp/scout_apm_python/blob/master/CHANGELOG.md\"\n        ),\n    },\n    author=\"Scout\",\n    author_email=\"support@scoutapm.com\",\n    license=\"MIT\",\n    zip_safe=False,\n    python_requires=\">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4\",\n    packages=packages,\n    package_dir={str(\"\"): str(\"src\")},\n    ext_modules=ext_modules,\n    entry_points={\n        \"console_scripts\": [\n            \"core-agent-manager = scout_apm.core.cli.core_agent_manager:main\"\n        ]\n    },\n    install_requires=[\n        'asgiref ; python_version >= \"3.5\"',\n        'contextvars ; python_version >= \"3.6\" and python_version < \"3.7\"',\n        'importlib-metadata ; python_version < \"3.8\"',\n        \"psutil>=5,<6\",\n        'urllib3[secure] < 1.25 ; python_version < \"3.5\"',\n        'urllib3[secure] < 2 ; python_version >= \"3.5\"',\n        \"wrapt>=1.10,<2.0\",\n    ],\n    keywords=[\"apm\", \"performance monitoring\", \"development\"],\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Framework :: Bottle\",\n        \"Framework :: Django\",\n        \"Framework :: Django :: 1.8\",\n        \"Framework :: Django :: 1.9\",\n        \"Framework :: Django :: 1.10\",\n        \"Framework :: Django :: 1.11\",\n        \"Framework :: Django :: 2.0\",\n        \"Framework :: Django :: 2.1\",\n        \"Framework :: Django :: 2.2\",\n        \"Framework :: Django :: 3.0\",\n        \"Framework :: Django :: 3.1\",\n        \"Framework :: Django :: 3.2\",\n        \"Framework :: Django :: 4.0\",\n        \"Framework :: Flask\",\n        \"Framework :: Pyramid\",\n        \"Intended Audience :: Developers\",\n        \"Topic :: System :: Monitoring\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: MacOS\",\n        \"Operating System :: POSIX\",\n        \"Operating System :: POSIX :: Linux\",\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        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Programming Language :: Python :: 3.10\",\n    ],\n)\n", "path": "setup.py"}], "after_files": [{"content": "# coding=utf-8\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport os\nimport sys\n\nfrom setuptools import Extension, find_packages, setup\n\nwith open(\"README.md\", \"r\") as fp:\n    long_description = fp.read()\n\npackages = find_packages(\"src\")\nif sys.version_info < (3, 6):\n    packages = [p for p in packages if not p.startswith(\"scout_apm.async_\")]\n\ncompile_extensions = (\n    # Python 3+\n    sys.version_info >= (3,)\n    # Not Jython\n    and not sys.platform.startswith(\"java\")\n    # Not PyPy\n    and \"__pypy__\" not in sys.builtin_module_names\n    # Not explicitly disabled\n    and (os.environ.get(\"SCOUT_DISABLE_EXTENSIONS\", \"\") == \"\")\n)\nif compile_extensions:\n    ext_modules = [\n        Extension(\n            name=str(\"scout_apm.core._objtrace\"),\n            sources=[str(\"src/scout_apm/core/_objtrace.c\")],\n            optional=True,\n        )\n    ]\nelse:\n    ext_modules = []\n\nsetup(\n    name=\"scout_apm\",\n    version=\"2.26.1\",\n    description=\"Scout Application Performance Monitoring Agent\",\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    url=\"https://github.com/scoutapp/scout_apm_python\",\n    project_urls={\n        \"Documentation\": \"https://docs.scoutapm.com/#python-agent\",\n        \"Changelog\": (\n            \"https://github.com/scoutapp/scout_apm_python/blob/master/CHANGELOG.md\"\n        ),\n    },\n    author=\"Scout\",\n    author_email=\"support@scoutapm.com\",\n    license=\"MIT\",\n    zip_safe=False,\n    python_requires=\">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4\",\n    packages=packages,\n    package_dir={str(\"\"): str(\"src\")},\n    ext_modules=ext_modules,\n    entry_points={\n        \"console_scripts\": [\n            \"core-agent-manager = scout_apm.core.cli.core_agent_manager:main\"\n        ]\n    },\n    install_requires=[\n        'asgiref ; python_version >= \"3.5\"',\n        'contextvars ; python_version >= \"3.6\" and python_version < \"3.7\"',\n        'importlib-metadata ; python_version < \"3.8\"',\n        \"psutil>=5,<6\",\n        'urllib3[secure] < 1.25 ; python_version < \"3.5\"',\n        'urllib3 < 2 ; python_version >= \"3.5\"',\n        \"wrapt>=1.10,<2.0\",\n    ],\n    keywords=[\"apm\", \"performance monitoring\", \"development\"],\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Framework :: Bottle\",\n        \"Framework :: Django\",\n        \"Framework :: Django :: 1.8\",\n        \"Framework :: Django :: 1.9\",\n        \"Framework :: Django :: 1.10\",\n        \"Framework :: Django :: 1.11\",\n        \"Framework :: Django :: 2.0\",\n        \"Framework :: Django :: 2.1\",\n        \"Framework :: Django :: 2.2\",\n        \"Framework :: Django :: 3.0\",\n        \"Framework :: Django :: 3.1\",\n        \"Framework :: Django :: 3.2\",\n        \"Framework :: Django :: 4.0\",\n        \"Framework :: Flask\",\n        \"Framework :: Pyramid\",\n        \"Intended Audience :: Developers\",\n        \"Topic :: System :: Monitoring\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: MacOS\",\n        \"Operating System :: POSIX\",\n        \"Operating System :: POSIX :: Linux\",\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        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Programming Language :: Python :: 3.10\",\n    ],\n)\n", "path": "setup.py"}]}