prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Fix serving.kubeflow.org annotations in docs/samples
  I've noticed that some `docs/samples` still use in `metadata.annotations` the `serving.kubeflow.org` instead of `serving.kserve.org`. See this [example](https://github.com/kserve/kserve/blob/master/docs/samples/kafka/s3_secret.yaml).
  To save debugging time for others migrating from KFserving, I could create PR that fixes that.
  
  </issue>
  <code>
  [start of docs/samples/kafka/setup.py]
  1 #
  2 # Licensed under the Apache License, Version 2.0 (the "License");
  3 # you may not use this file except in compliance with the License.
  4 # You may obtain a copy of the License at
  5 #
  6 #    http://www.apache.org/licenses/LICENSE-2.0
  7 #
  8 # Unless required by applicable law or agreed to in writing, software
  9 # distributed under the License is distributed on an "AS IS" BASIS,
  10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11 # See the License for the specific language governing permissions and
  12 # limitations under the License.
  13 
  14 from setuptools import setup, find_packages
  15 
  16 tests_require = [
  17     'pytest',
  18     'pytest-tornasync',
  19     'mypy'
  20 ]
  21 
  22 setup(
  23     name='transformer',
  24     version='0.1.0',
  25     author_email='dsun20@bloomberg.net',
  26     license='../../LICENSE.txt',
  27     url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',
  28     description='Transformer',
  29     long_description=open('README.md').read(),
  30     python_requires='>=3.6',
  31     packages=find_packages("transformer"),
  32     install_requires=[
  33         "kfserving>=0.2.1",
  34         "argparse>=1.4.0",
  35         "requests>=2.22.0",
  36         "joblib>=0.13.2",
  37         "pandas>=0.24.2",
  38         "numpy>=1.16.3",
  39         "kubernetes >= 9.0.0",
  40         "opencv-python-headless==4.0.0.21",
  41         "boto3==1.7.2"
  42     ],
  43     tests_require=tests_require,
  44     extras_require={'test': tests_require}
  45 )
  46
  [end of docs/samples/kafka/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/docs/samples/kafka/setup.py b/docs/samples/kafka/setup.py
  --- a/docs/samples/kafka/setup.py
  +++ b/docs/samples/kafka/setup.py
  @@ -24,21 +24,15 @@
       version='0.1.0',
       author_email='dsun20@bloomberg.net',
       license='../../LICENSE.txt',
  -    url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',
  +    url='https://github.com/kserve/kserve/tree/master/docs/samples/kafka',
       description='Transformer',
       long_description=open('README.md').read(),
  -    python_requires='>=3.6',
  +    python_requires='>=3.7',
       packages=find_packages("transformer"),
       install_requires=[
  -        "kfserving>=0.2.1",
  -        "argparse>=1.4.0",
  -        "requests>=2.22.0",
  -        "joblib>=0.13.2",
  +        "kserve>=0.7.0",
           "pandas>=0.24.2",
  -        "numpy>=1.16.3",
  -        "kubernetes >= 9.0.0",
           "opencv-python-headless==4.0.0.21",
  -        "boto3==1.7.2"
       ],
       tests_require=tests_require,
       extras_require={'test': tests_require}
  
verification_info: {"golden_diff": "diff --git a/docs/samples/kafka/setup.py b/docs/samples/kafka/setup.py\n--- a/docs/samples/kafka/setup.py\n+++ b/docs/samples/kafka/setup.py\n@@ -24,21 +24,15 @@\n     version='0.1.0',\n     author_email='dsun20@bloomberg.net',\n     license='../../LICENSE.txt',\n-    url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',\n+    url='https://github.com/kserve/kserve/tree/master/docs/samples/kafka',\n     description='Transformer',\n     long_description=open('README.md').read(),\n-    python_requires='>=3.6',\n+    python_requires='>=3.7',\n     packages=find_packages(\"transformer\"),\n     install_requires=[\n-        \"kfserving>=0.2.1\",\n-        \"argparse>=1.4.0\",\n-        \"requests>=2.22.0\",\n-        \"joblib>=0.13.2\",\n+        \"kserve>=0.7.0\",\n         \"pandas>=0.24.2\",\n-        \"numpy>=1.16.3\",\n-        \"kubernetes >= 9.0.0\",\n         \"opencv-python-headless==4.0.0.21\",\n-        \"boto3==1.7.2\"\n     ],\n     tests_require=tests_require,\n     extras_require={'test': tests_require}\n", "issue": "Fix serving.kubeflow.org annotations in docs/samples\nI've noticed that some `docs/samples` still use in `metadata.annotations` the `serving.kubeflow.org` instead of `serving.kserve.org`. See this [example](https://github.com/kserve/kserve/blob/master/docs/samples/kafka/s3_secret.yaml).\r\nTo save debugging time for others migrating from KFserving, I could create PR that fixes that.\n", "before_files": [{"content": "#\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\nfrom setuptools import setup, find_packages\n\ntests_require = [\n    'pytest',\n    'pytest-tornasync',\n    'mypy'\n]\n\nsetup(\n    name='transformer',\n    version='0.1.0',\n    author_email='dsun20@bloomberg.net',\n    license='../../LICENSE.txt',\n    url='https://github.com/kserve/kserve/tree/master/docs/samples#deploy-inferenceservice-with-transformer',\n    description='Transformer',\n    long_description=open('README.md').read(),\n    python_requires='>=3.6',\n    packages=find_packages(\"transformer\"),\n    install_requires=[\n        \"kfserving>=0.2.1\",\n        \"argparse>=1.4.0\",\n        \"requests>=2.22.0\",\n        \"joblib>=0.13.2\",\n        \"pandas>=0.24.2\",\n        \"numpy>=1.16.3\",\n        \"kubernetes >= 9.0.0\",\n        \"opencv-python-headless==4.0.0.21\",\n        \"boto3==1.7.2\"\n    ],\n    tests_require=tests_require,\n    extras_require={'test': tests_require}\n)\n", "path": "docs/samples/kafka/setup.py"}]}