diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-16 11:23:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-16 11:23:31 +0000 |
commit | f422244bc8f6616ffc4bff9ae259196de92c444b (patch) | |
tree | 5a919525e9959826b98af16fa057dd63cb67e6cf | |
parent | 3ad64c4b32af1849139aa03d19173ba3b9d7a1b5 (diff) |
automatic import of python-gradio
-rw-r--r-- | 0001-remove-illegal-characters.patch | 31 | ||||
-rw-r--r-- | python-gradio.spec | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/0001-remove-illegal-characters.patch b/0001-remove-illegal-characters.patch new file mode 100644 index 0000000..39e7651 --- /dev/null +++ b/0001-remove-illegal-characters.patch @@ -0,0 +1,31 @@ +diff --git a/requirements.txt b/requirements.txt +index 8428d32..6e2356d 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -7,10 +7,10 @@ httpx + huggingface_hub>=0.19.3 + importlib_resources>=1.3,<7.0 + Jinja2<4.0 +-markupsafe~=2.0 +-matplotlib~=3.0 +-numpy~=1.0 +-orjson~=3.0 ++markupsafe>=2.0 ++matplotlib>=3.0 ++numpy>=1.0 ++orjson>=3.0 + packaging + pandas>=1.0,<3.0 + pillow>=8.0,<11.0 +@@ -18,8 +18,8 @@ pydantic>=2.0 + python-multipart # required for fastapi forms + pydub + pyyaml>=5.0,<7.0 +-semantic_version~=2.0 +-typing_extensions~=4.0 ++semantic_version>=2.0 ++typing_extensions>=4.0 + uvicorn>=0.14.0 + typer[all]>=0.9,<1.0 + tomlkit==0.12.0 +\ No newline at end of file diff --git a/python-gradio.spec b/python-gradio.spec index 3193024..7dd590b 100644 --- a/python-gradio.spec +++ b/python-gradio.spec @@ -14,6 +14,8 @@ License: Apache-2.0 URL: https://github.com/gradio-app/gradio Source0: https://files.pythonhosted.org/packages/31/b2/cbedb52fe8b90934a7fbd0b811e9c29276c87f1ce4acfb0228db240430fc/gradio-4.12.0.tar.gz +Patch0: 0001-remove-illegal-characters.patch + BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm |