From 160b27c0d1f92f487cb91b311edfa3aa9e8af561 Mon Sep 17 00:00:00 2001 From: bob-jones-cs <23340069+bob-jones-cs@users.noreply.github.com> Date: Wed, 23 Oct 2024 07:58:26 -0700 Subject: [PATCH] Update requirements.txt to allow pillow 11.x (#9819) * Update requirements.txt to allow pillow 11.x * add changeset --------- Co-authored-by: gradio-pr-bot --- .changeset/small-houses-shake.md | 5 +++++ requirements.txt | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/small-houses-shake.md diff --git a/.changeset/small-houses-shake.md b/.changeset/small-houses-shake.md new file mode 100644 index 0000000000..8a5775e247 --- /dev/null +++ b/.changeset/small-houses-shake.md @@ -0,0 +1,5 @@ +--- +"gradio": minor +--- + +feat:Update requirements.txt to allow pillow 11.x diff --git a/requirements.txt b/requirements.txt index 35c0a2fea6..675a0d605b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ numpy>=1.0,<3.0 orjson~=3.0 packaging pandas>=1.0,<3.0 -pillow>=8.0,<11.0 +pillow>=8.0,<12.0 pydantic>=2.0 python-multipart>=0.0.9,!=0.0.13 # required for fastapi forms. 0.0.13 was yanked from PyPI but micropip now ignores the yanked flag so we explicitly exclude it. pydub @@ -24,4 +24,4 @@ tomlkit==0.12.0 typer>=0.12,<1.0; sys.platform != 'emscripten' typing_extensions~=4.0 urllib3~=2.0; sys.platform == 'emscripten' # urllib3 is used for Lite support. Version spec can be omitted because urllib3==2.1.0 is prebuilt for Pyodide and urllib>=2.2.0 supports Pyodide as well. -uvicorn>=0.14.0; sys.platform != 'emscripten' \ No newline at end of file +uvicorn>=0.14.0; sys.platform != 'emscripten'