prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  chore: Updated the pillow version specifier
  Hello there :wave: 
  
  Following up on #755, I believe the core build requirements were meant to be updated as well. This aligns the version specifier of Pillow between the core build and the "tests" extra build!
  
  Any feedback is welcome!
  
  cc @osanseviero @Narsil 
  
  </issue>
  <code>
  [start of api-inference-community/setup.py]
  1 from setuptools import setup
  2 
  3 
  4 setup(
  5     name="api_inference_community",
  6     version="0.0.21",
  7     description="A package with helper tools to build an API Inference docker app for Hugging Face API inference using huggingface_hub",
  8     url="http://github.com/huggingface/api-inference-community",
  9     author="Nicolas Patry",
  10     author_email="nicolas@huggingface.co",
  11     license="MIT",
  12     packages=["api_inference_community"],
  13     python_requires=">=3.6.0",
  14     zip_safe=False,
  15     install_requires=list(line for line in open("requirements.txt", "r")),
  16     extras_require={
  17         "test": [
  18             "httpx>=0.18",
  19             "Pillow>=8.2",
  20             "httpx>=0.18",
  21             "torch>=1.9.0",
  22             "pytest>=6.2",
  23         ]
  24     },
  25 )
  26
  [end of api-inference-community/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/api-inference-community/setup.py b/api-inference-community/setup.py
  --- a/api-inference-community/setup.py
  +++ b/api-inference-community/setup.py
  @@ -3,7 +3,7 @@
   
   setup(
       name="api_inference_community",
  -    version="0.0.21",
  +    version="0.0.23",
       description="A package with helper tools to build an API Inference docker app for Hugging Face API inference using huggingface_hub",
       url="http://github.com/huggingface/api-inference-community",
       author="Nicolas Patry",
  
verification_info: {"golden_diff": "diff --git a/api-inference-community/setup.py b/api-inference-community/setup.py\n--- a/api-inference-community/setup.py\n+++ b/api-inference-community/setup.py\n@@ -3,7 +3,7 @@\n \n setup(\n     name=\"api_inference_community\",\n-    version=\"0.0.21\",\n+    version=\"0.0.23\",\n     description=\"A package with helper tools to build an API Inference docker app for Hugging Face API inference using huggingface_hub\",\n     url=\"http://github.com/huggingface/api-inference-community\",\n     author=\"Nicolas Patry\",\n", "issue": "chore: Updated the pillow version specifier\nHello there :wave: \r\n\r\nFollowing up on #755, I believe the core build requirements were meant to be updated as well. This aligns the version specifier of Pillow between the core build and the \"tests\" extra build!\r\n\r\nAny feedback is welcome!\r\n\r\ncc @osanseviero @Narsil \n", "before_files": [{"content": "from setuptools import setup\n\n\nsetup(\n    name=\"api_inference_community\",\n    version=\"0.0.21\",\n    description=\"A package with helper tools to build an API Inference docker app for Hugging Face API inference using huggingface_hub\",\n    url=\"http://github.com/huggingface/api-inference-community\",\n    author=\"Nicolas Patry\",\n    author_email=\"nicolas@huggingface.co\",\n    license=\"MIT\",\n    packages=[\"api_inference_community\"],\n    python_requires=\">=3.6.0\",\n    zip_safe=False,\n    install_requires=list(line for line in open(\"requirements.txt\", \"r\")),\n    extras_require={\n        \"test\": [\n            \"httpx>=0.18\",\n            \"Pillow>=8.2\",\n            \"httpx>=0.18\",\n            \"torch>=1.9.0\",\n            \"pytest>=6.2\",\n        ]\n    },\n)\n", "path": "api-inference-community/setup.py"}]}