prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Bump boto3 to the latest version
  **Describe the bug**
  I am trying to installing checkov and the latest boto3 version within an environment. However, checkov depends on  version 1.17.* 
  
  Could you please bump boto3 to the latest version?
  
  </issue>
  <code>
  [start of setup.py]
  1 #!/usr/bin/env python
  2 import logging
  3 import os
  4 from importlib import util
  5 from os import path
  6 
  7 import setuptools
  8 from setuptools import setup
  9 
  10 # read the contents of your README file
  11 this_directory = path.abspath(path.dirname(__file__))
  12 with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
  13     long_description = f.read()
  14 
  15 logger = logging.getLogger(__name__)
  16 spec = util.spec_from_file_location(
  17     "checkov.version", os.path.join("checkov", "version.py")
  18 )
  19 # noinspection PyUnresolvedReferences
  20 mod = util.module_from_spec(spec)
  21 spec.loader.exec_module(mod)  # type: ignore
  22 version = mod.version  # type: ignore
  23 
  24 setup(
  25     extras_require={
  26         "dev": [
  27             "pytest==5.3.1",
  28             "coverage==5.5",
  29             "coverage-badge",
  30             "GitPython==3.1.7",
  31             "bandit",
  32             "jsonschema",
  33         ]
  34     },
  35     install_requires=[
  36         "bc-python-hcl2>=0.3.24",
  37         "cloudsplaining>=0.4.1",
  38         "deep_merge",
  39         "tabulate",
  40         "colorama",
  41         "termcolor",
  42         "junit-xml>=1.9",
  43         "dpath>=1.5.0,<2",
  44         "pyyaml>=5.4.1",
  45         "boto3==1.17.*",
  46         "GitPython",
  47         "jmespath",
  48         "tqdm",
  49         "update_checker",
  50         "semantic_version",
  51         "packaging",
  52         "networkx",
  53         "dockerfile-parse",
  54         "docker",
  55         "configargparse",
  56         "detect-secrets",
  57         "policyuniverse",
  58         "typing-extensions",
  59         "cachetools",
  60         "cyclonedx-python-lib==0.6.2"
  61     ],
  62     license="Apache License 2.0",
  63     name="checkov",
  64     version=version,
  65     python_requires=">=3.7",
  66     description="Infrastructure as code static analysis",
  67     author="bridgecrew",
  68     author_email="meet@bridgecrew.io",
  69     url="https://github.com/bridgecrewio/checkov",
  70     packages=setuptools.find_packages(exclude=["tests*", "integration_tests*"]),
  71     include_package_data=True,
  72     package_dir={
  73         "checkov.terraform.checks.graph_checks": "checkov/terraform/checks/graph_checks"
  74     },
  75     package_data={
  76         "checkov.terraform.checks.graph_checks": [
  77             "aws/*.yaml",
  78             "gcp/*.yaml",
  79             "azure/*.yaml",
  80         ]
  81     },
  82     scripts=["bin/checkov", "bin/checkov.cmd"],
  83     long_description=long_description,
  84     long_description_content_type="text/markdown",
  85     classifiers=[
  86         "Environment :: Console",
  87         "Intended Audience :: Developers",
  88         "Intended Audience :: System Administrators",
  89         "Programming Language :: Python :: 3.7",
  90         "Programming Language :: Python :: 3.8",
  91         "Programming Language :: Python :: 3.9",
  92         "Topic :: Security",
  93         "Topic :: Software Development :: Build Tools",
  94     ],
  95 )
  96
  [end of setup.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -42,7 +42,7 @@
           "junit-xml>=1.9",
           "dpath>=1.5.0,<2",
           "pyyaml>=5.4.1",
  -        "boto3==1.17.*",
  +        "boto3>=1.17",
           "GitPython",
           "jmespath",
           "tqdm",
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -42,7 +42,7 @@\n         \"junit-xml>=1.9\",\n         \"dpath>=1.5.0,<2\",\n         \"pyyaml>=5.4.1\",\n-        \"boto3==1.17.*\",\n+        \"boto3>=1.17\",\n         \"GitPython\",\n         \"jmespath\",\n         \"tqdm\",\n", "issue": "Bump boto3 to the latest version\n**Describe the bug**\r\nI am trying to installing checkov and the latest boto3 version within an environment. However, checkov depends on  version 1.17.* \r\n\r\nCould you please bump boto3 to the latest version?\n", "before_files": [{"content": "#!/usr/bin/env python\nimport logging\nimport os\nfrom importlib import util\nfrom os import path\n\nimport setuptools\nfrom setuptools import setup\n\n# read the contents of your README file\nthis_directory = path.abspath(path.dirname(__file__))\nwith open(path.join(this_directory, \"README.md\"), encoding=\"utf-8\") as f:\n    long_description = f.read()\n\nlogger = logging.getLogger(__name__)\nspec = util.spec_from_file_location(\n    \"checkov.version\", os.path.join(\"checkov\", \"version.py\")\n)\n# noinspection PyUnresolvedReferences\nmod = util.module_from_spec(spec)\nspec.loader.exec_module(mod)  # type: ignore\nversion = mod.version  # type: ignore\n\nsetup(\n    extras_require={\n        \"dev\": [\n            \"pytest==5.3.1\",\n            \"coverage==5.5\",\n            \"coverage-badge\",\n            \"GitPython==3.1.7\",\n            \"bandit\",\n            \"jsonschema\",\n        ]\n    },\n    install_requires=[\n        \"bc-python-hcl2>=0.3.24\",\n        \"cloudsplaining>=0.4.1\",\n        \"deep_merge\",\n        \"tabulate\",\n        \"colorama\",\n        \"termcolor\",\n        \"junit-xml>=1.9\",\n        \"dpath>=1.5.0,<2\",\n        \"pyyaml>=5.4.1\",\n        \"boto3==1.17.*\",\n        \"GitPython\",\n        \"jmespath\",\n        \"tqdm\",\n        \"update_checker\",\n        \"semantic_version\",\n        \"packaging\",\n        \"networkx\",\n        \"dockerfile-parse\",\n        \"docker\",\n        \"configargparse\",\n        \"detect-secrets\",\n        \"policyuniverse\",\n        \"typing-extensions\",\n        \"cachetools\",\n        \"cyclonedx-python-lib==0.6.2\"\n    ],\n    license=\"Apache License 2.0\",\n    name=\"checkov\",\n    version=version,\n    python_requires=\">=3.7\",\n    description=\"Infrastructure as code static analysis\",\n    author=\"bridgecrew\",\n    author_email=\"meet@bridgecrew.io\",\n    url=\"https://github.com/bridgecrewio/checkov\",\n    packages=setuptools.find_packages(exclude=[\"tests*\", \"integration_tests*\"]),\n    include_package_data=True,\n    package_dir={\n        \"checkov.terraform.checks.graph_checks\": \"checkov/terraform/checks/graph_checks\"\n    },\n    package_data={\n        \"checkov.terraform.checks.graph_checks\": [\n            \"aws/*.yaml\",\n            \"gcp/*.yaml\",\n            \"azure/*.yaml\",\n        ]\n    },\n    scripts=[\"bin/checkov\", \"bin/checkov.cmd\"],\n    long_description=long_description,\n    long_description_content_type=\"text/markdown\",\n    classifiers=[\n        \"Environment :: Console\",\n        \"Intended Audience :: Developers\",\n        \"Intended Audience :: System Administrators\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Topic :: Security\",\n        \"Topic :: Software Development :: Build Tools\",\n    ],\n)\n", "path": "setup.py"}]}