From 5ea3cb51a39ba01fda7f65ff31e59955e1d12cea Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Mon, 2 Dec 2024 15:02:52 -0500 Subject: [PATCH] Update `requirements.txt` for `gradio` and `gradio_client` (#10090) * update reqs * add changeset * add changeset * Update requirements.txt * Update requirements.txt --------- Co-authored-by: gradio-pr-bot --- .changeset/ten-poems-flow.md | 6 ++++++ client/python/requirements.txt | 2 +- requirements.txt | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changeset/ten-poems-flow.md diff --git a/.changeset/ten-poems-flow.md b/.changeset/ten-poems-flow.md new file mode 100644 index 0000000000..f83209c37a --- /dev/null +++ b/.changeset/ten-poems-flow.md @@ -0,0 +1,6 @@ +--- +"gradio": patch +"gradio_client": patch +--- + +fix:Update `requirements.txt` for `gradio` and `gradio_client` diff --git a/client/python/requirements.txt b/client/python/requirements.txt index 3a3f531f9b..117527ed13 100644 --- a/client/python/requirements.txt +++ b/client/python/requirements.txt @@ -3,4 +3,4 @@ httpx>=0.24.1 huggingface_hub>=0.19.3 packaging typing_extensions~=4.0 -websockets>=10.0,<13.0 +websockets>=10.0,<15.0 diff --git a/requirements.txt b/requirements.txt index 115b03e577..0c7556c1f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,10 +18,10 @@ python-multipart==0.0.12 # required for fastapi forms. pinning to avoid yanking pydub pyyaml>=5.0,<7.0 ruff>=0.2.2; sys.platform != 'emscripten' -safehttpx>=0.1.1,<1.0 +safehttpx>=0.1.6,<0.2.0 semantic_version~=2.0 starlette>=0.40.0,<1.0; sys.platform != 'emscripten' -tomlkit==0.12.0 +tomlkit>=0.12.0,<0.14.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.