prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Please cut a release of Video Intelligence
  Need to unblock tests of samples
  
  </issue>
  <code>
  [start of videointelligence/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-videointelligence'
  24 description = 'Google Cloud Video Intelligence API client library'
  25 version = '1.3.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]<2.0.0dev,>=0.1.0',
  33 ]
  34 extras = {
  35 }
  36 
  37 
  38 # Setup boilerplate below this line.
  39 
  40 package_root = os.path.abspath(os.path.dirname(__file__))
  41 
  42 readme_filename = os.path.join(package_root, 'README.rst')
  43 with io.open(readme_filename, encoding='utf-8') as readme_file:
  44     readme = readme_file.read()
  45 
  46 # Only include packages under the 'google' namespace. Do not include tests,
  47 # benchmarks, etc.
  48 packages = [
  49     package for package in setuptools.find_packages()
  50     if package.startswith('google')]
  51 
  52 # Determine which namespaces are needed.
  53 namespaces = ['google']
  54 if 'google.cloud' in packages:
  55     namespaces.append('google.cloud')
  56 
  57 
  58 setuptools.setup(
  59     name=name,
  60     version=version,
  61     description=description,
  62     long_description=readme,
  63     author='Google LLC',
  64     author_email='googleapis-packages@google.com',
  65     license='Apache 2.0',
  66     url='https://github.com/GoogleCloudPlatform/google-cloud-python',
  67     classifiers=[
  68         release_status,
  69         'Intended Audience :: Developers',
  70         'License :: OSI Approved :: Apache Software License',
  71         'Programming Language :: Python',
  72         'Programming Language :: Python :: 2',
  73         'Programming Language :: Python :: 2.7',
  74         'Programming Language :: Python :: 3',
  75         'Programming Language :: Python :: 3.4',
  76         'Programming Language :: Python :: 3.5',
  77         'Programming Language :: Python :: 3.6',
  78         'Operating System :: OS Independent',
  79         'Topic :: Internet',
  80     ],
  81     platforms='Posix; MacOS X; Windows',
  82     packages=packages,
  83     namespace_packages=namespaces,
  84     install_requires=dependencies,
  85     extras_require=extras,
  86     include_package_data=True,
  87     zip_safe=False,
  88 )
  89
  [end of videointelligence/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/videointelligence/setup.py b/videointelligence/setup.py
  --- a/videointelligence/setup.py
  +++ b/videointelligence/setup.py
  @@ -22,7 +22,7 @@
   
   name = 'google-cloud-videointelligence'
   description = 'Google Cloud Video Intelligence API client library'
  -version = '1.3.0'
  +version = '1.4.0'
   # Should be one of:
   # 'Development Status :: 3 - Alpha'
   # 'Development Status :: 4 - Beta'
  
verification_info: {"golden_diff": "diff --git a/videointelligence/setup.py b/videointelligence/setup.py\n--- a/videointelligence/setup.py\n+++ b/videointelligence/setup.py\n@@ -22,7 +22,7 @@\n \n name = 'google-cloud-videointelligence'\n description = 'Google Cloud Video Intelligence API client library'\n-version = '1.3.0'\n+version = '1.4.0'\n # Should be one of:\n # 'Development Status :: 3 - Alpha'\n # 'Development Status :: 4 - Beta'\n", "issue": "Please cut a release of Video Intelligence\nNeed to unblock tests of samples\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-videointelligence'\ndescription = 'Google Cloud Video Intelligence API client library'\nversion = '1.3.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]<2.0.0dev,>=0.1.0',\n]\nextras = {\n}\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()\n    if package.startswith('google')]\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.4',\n        'Programming Language :: Python :: 3.5',\n        'Programming Language :: Python :: 3.6',\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    include_package_data=True,\n    zip_safe=False,\n)\n", "path": "videointelligence/setup.py"}]}