prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  PubSub: declaratively drop Python 3.4 support
  The README and the language classifiers in `setup.py`  both only claim support for Python 3.5+ (and 2.7), but not Python 3.4. However, the `python_requires` in `setup.py` does not reflect that, and does not prevent installing the library in Python 3.4.
  
  </issue>
  <code>
  [start of pubsub/setup.py]
  1 # Copyright 2018 Google LLC
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 import io
  16 import os
  17 
  18 import setuptools
  19 
  20 
  21 # Package metadata.
  22 
  23 name = "google-cloud-pubsub"
  24 description = "Google Cloud Pub/Sub API client library"
  25 version = "1.1.0"
  26 # Should be one of:
  27 # 'Development Status :: 3 - Alpha'
  28 # 'Development Status :: 4 - Beta'
  29 # 'Development Status :: 5 - Production/Stable'
  30 release_status = "Development Status :: 5 - Production/Stable"
  31 dependencies = [
  32     "google-api-core[grpc] >= 1.14.0, < 2.0.0dev",
  33     "grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
  34     'enum34; python_version < "3.4"',
  35 ]
  36 extras = {}
  37 
  38 
  39 # Setup boilerplate below this line.
  40 
  41 package_root = os.path.abspath(os.path.dirname(__file__))
  42 
  43 readme_filename = os.path.join(package_root, "README.rst")
  44 with io.open(readme_filename, encoding="utf-8") as readme_file:
  45     readme = readme_file.read()
  46 
  47 # Only include packages under the 'google' namespace. Do not include tests,
  48 # benchmarks, etc.
  49 packages = [
  50     package for package in setuptools.find_packages() if package.startswith("google")
  51 ]
  52 
  53 # Determine which namespaces are needed.
  54 namespaces = ["google"]
  55 if "google.cloud" in packages:
  56     namespaces.append("google.cloud")
  57 
  58 
  59 setuptools.setup(
  60     name=name,
  61     version=version,
  62     description=description,
  63     long_description=readme,
  64     author="Google LLC",
  65     author_email="googleapis-packages@google.com",
  66     license="Apache 2.0",
  67     url="https://github.com/GoogleCloudPlatform/google-cloud-python",
  68     classifiers=[
  69         release_status,
  70         "Intended Audience :: Developers",
  71         "License :: OSI Approved :: Apache Software License",
  72         "Programming Language :: Python",
  73         "Programming Language :: Python :: 2",
  74         "Programming Language :: Python :: 2.7",
  75         "Programming Language :: Python :: 3",
  76         "Programming Language :: Python :: 3.5",
  77         "Programming Language :: Python :: 3.6",
  78         "Programming Language :: Python :: 3.7",
  79         "Operating System :: OS Independent",
  80         "Topic :: Internet",
  81     ],
  82     platforms="Posix; MacOS X; Windows",
  83     packages=packages,
  84     namespace_packages=namespaces,
  85     install_requires=dependencies,
  86     extras_require=extras,
  87     python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
  88     include_package_data=True,
  89     zip_safe=False,
  90 )
  91
  [end of pubsub/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/pubsub/setup.py b/pubsub/setup.py
  --- a/pubsub/setup.py
  +++ b/pubsub/setup.py
  @@ -84,7 +84,7 @@
       namespace_packages=namespaces,
       install_requires=dependencies,
       extras_require=extras,
  -    python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
  +    python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
       include_package_data=True,
       zip_safe=False,
   )
  
verification_info: {"golden_diff": "diff --git a/pubsub/setup.py b/pubsub/setup.py\n--- a/pubsub/setup.py\n+++ b/pubsub/setup.py\n@@ -84,7 +84,7 @@\n     namespace_packages=namespaces,\n     install_requires=dependencies,\n     extras_require=extras,\n-    python_requires=\">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*\",\n+    python_requires=\">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*\",\n     include_package_data=True,\n     zip_safe=False,\n )\n", "issue": "PubSub: declaratively drop Python 3.4 support\nThe README and the language classifiers in `setup.py`  both only claim support for Python 3.5+ (and 2.7), but not Python 3.4. However, the `python_requires` in `setup.py` does not reflect that, and does not prevent installing the library in Python 3.4.\n", "before_files": [{"content": "# Copyright 2018 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nimport io\nimport os\n\nimport setuptools\n\n\n# Package metadata.\n\nname = \"google-cloud-pubsub\"\ndescription = \"Google Cloud Pub/Sub API client library\"\nversion = \"1.1.0\"\n# Should be one of:\n# 'Development Status :: 3 - Alpha'\n# 'Development Status :: 4 - Beta'\n# 'Development Status :: 5 - Production/Stable'\nrelease_status = \"Development Status :: 5 - Production/Stable\"\ndependencies = [\n    \"google-api-core[grpc] >= 1.14.0, < 2.0.0dev\",\n    \"grpc-google-iam-v1 >= 0.12.3, < 0.13dev\",\n    'enum34; python_version < \"3.4\"',\n]\nextras = {}\n\n\n# Setup boilerplate below this line.\n\npackage_root = os.path.abspath(os.path.dirname(__file__))\n\nreadme_filename = os.path.join(package_root, \"README.rst\")\nwith io.open(readme_filename, encoding=\"utf-8\") as readme_file:\n    readme = readme_file.read()\n\n# Only include packages under the 'google' namespace. Do not include tests,\n# benchmarks, etc.\npackages = [\n    package for package in setuptools.find_packages() if package.startswith(\"google\")\n]\n\n# Determine which namespaces are needed.\nnamespaces = [\"google\"]\nif \"google.cloud\" in packages:\n    namespaces.append(\"google.cloud\")\n\n\nsetuptools.setup(\n    name=name,\n    version=version,\n    description=description,\n    long_description=readme,\n    author=\"Google LLC\",\n    author_email=\"googleapis-packages@google.com\",\n    license=\"Apache 2.0\",\n    url=\"https://github.com/GoogleCloudPlatform/google-cloud-python\",\n    classifiers=[\n        release_status,\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: Apache Software License\",\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.5\",\n        \"Programming Language :: Python :: 3.6\",\n        \"Programming Language :: Python :: 3.7\",\n        \"Operating System :: OS Independent\",\n        \"Topic :: Internet\",\n    ],\n    platforms=\"Posix; MacOS X; Windows\",\n    packages=packages,\n    namespace_packages=namespaces,\n    install_requires=dependencies,\n    extras_require=extras,\n    python_requires=\">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*\",\n    include_package_data=True,\n    zip_safe=False,\n)\n", "path": "pubsub/setup.py"}]}