Fedir Zadniprovskyi 2024-09-06
deps: remove `other`
@803231ffddbb69504856d64e790a89707e94d6c6
pyproject.toml
--- pyproject.toml
+++ pyproject.toml
@@ -1,5 +1,6 @@
 [project]
 name = "faster-whisper-server"
+version = "0.1.0"
 requires-python = ">=3.12,<3.13"
 dependencies = [
     "pydantic",
@@ -29,8 +30,6 @@
     "basedpyright==1.13.0",
     "pytest-xdist"
 ]
-
-other = ["youtube-dl @ git+https://github.com/ytdl-org/youtube-dl.git@37cea84f775129ad715b9bcd617251c831fcc980", "aider-chat==0.39.0"]
 
 # https://docs.astral.sh/ruff/configuration/
 [tool.ruff]
requirements-all.txt
--- requirements-all.txt
+++ requirements-all.txt
@@ -1,98 +1,45 @@
 # This file was autogenerated by uv via the following command:
 #    uv pip compile --override overrides.txt --all-extras pyproject.toml
-aider-chat==0.39.0
-    # via faster-whisper-server (pyproject.toml)
 aiofiles==23.2.1
     # via gradio
-aiohttp==3.9.5
-    # via
-    #   aider-chat
-    #   litellm
-aiosignal==1.3.1
-    # via
-    #   aider-chat
-    #   aiohttp
-altair==5.3.0
-    # via
-    #   aider-chat
-    #   streamlit
 annotated-types==0.7.0
-    # via
-    #   aider-chat
-    #   pydantic
+    # via pydantic
 anyio==4.4.0
     # via
-    #   aider-chat
     #   gradio
     #   httpx
     #   openai
     #   starlette
-attrs==23.2.0
-    # via
-    #   aider-chat
-    #   aiohttp
-    #   jsonschema
-    #   referencing
 av==12.3.0
     # via faster-whisper
-backoff==2.2.1
-    # via aider-chat
 basedpyright==1.13.0
     # via faster-whisper-server (pyproject.toml)
-beautifulsoup4==4.12.3
-    # via aider-chat
-blinker==1.8.2
+certifi==2024.8.30
     # via
-    #   aider-chat
-    #   streamlit
-cachetools==5.3.3
-    # via
-    #   aider-chat
-    #   google-auth
-    #   streamlit
-certifi==2024.6.2
-    # via
-    #   aider-chat
     #   httpcore
     #   httpx
     #   requests
-cffi==1.16.0
-    # via
-    #   aider-chat
-    #   sounddevice
-    #   soundfile
+cffi==1.17.1
+    # via soundfile
 charset-normalizer==3.3.2
-    # via
-    #   aider-chat
-    #   requests
+    # via requests
 click==8.1.7
     # via
-    #   aider-chat
-    #   litellm
-    #   streamlit
     #   typer
     #   uvicorn
 coloredlogs==15.0.1
     # via onnxruntime
-configargparse==1.7
-    # via aider-chat
-contourpy==1.2.1
+contourpy==1.3.0
     # via matplotlib
 ctranslate2==4.3.1
     # via faster-whisper
 cycler==0.12.1
     # via matplotlib
-diff-match-patch==20230430
-    # via aider-chat
-diskcache==5.6.3
-    # via aider-chat
 distro==1.9.0
-    # via
-    #   aider-chat
-    #   openai
+    # via openai
 execnet==2.1.1
     # via pytest-xdist
-fastapi==0.112.2
+fastapi==0.113.0
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
@@ -100,320 +47,126 @@
     # via faster-whisper-server (pyproject.toml)
 ffmpy==0.4.0
     # via gradio
-filelock==3.15.1
-    # via
-    #   aider-chat
-    #   huggingface-hub
-flake8==7.1.0
-    # via aider-chat
+filelock==3.15.4
+    # via huggingface-hub
 flatbuffers==24.3.25
     # via onnxruntime
 fonttools==4.53.1
     # via matplotlib
-frozenlist==1.4.1
+fsspec==2024.9.0
     # via
-    #   aider-chat
-    #   aiohttp
-    #   aiosignal
-fsspec==2024.6.0
-    # via
-    #   aider-chat
     #   gradio-client
     #   huggingface-hub
-gitdb==4.0.11
-    # via
-    #   aider-chat
-    #   gitpython
-gitpython==3.1.43
-    # via
-    #   aider-chat
-    #   streamlit
-google-ai-generativelanguage==0.6.4
-    # via
-    #   aider-chat
-    #   google-generativeai
-google-api-core==2.19.0
-    # via
-    #   aider-chat
-    #   google-ai-generativelanguage
-    #   google-api-python-client
-    #   google-generativeai
-google-api-python-client==2.133.0
-    # via
-    #   aider-chat
-    #   google-generativeai
-google-auth==2.30.0
-    # via
-    #   aider-chat
-    #   google-ai-generativelanguage
-    #   google-api-core
-    #   google-api-python-client
-    #   google-auth-httplib2
-    #   google-generativeai
-google-auth-httplib2==0.2.0
-    # via
-    #   aider-chat
-    #   google-api-python-client
-google-generativeai==0.6.0
-    # via aider-chat
-googleapis-common-protos==1.63.1
-    # via
-    #   aider-chat
-    #   google-api-core
-    #   grpcio-status
 gradio==4.42.0
     # via faster-whisper-server (pyproject.toml)
 gradio-client==1.3.0
     # via gradio
-greenlet==3.0.3
-    # via
-    #   aider-chat
-    #   playwright
-grep-ast==0.3.2
-    # via aider-chat
-grpcio==1.64.1
-    # via
-    #   aider-chat
-    #   google-api-core
-    #   grpcio-status
-grpcio-status==1.62.2
-    # via
-    #   aider-chat
-    #   google-api-core
 h11==0.14.0
     # via
-    #   aider-chat
     #   httpcore
     #   uvicorn
 httpcore==1.0.5
-    # via
-    #   aider-chat
-    #   httpx
-httplib2==0.22.0
-    # via
-    #   aider-chat
-    #   google-api-python-client
-    #   google-auth-httplib2
-httpx==0.27.0
+    # via httpx
+httpx==0.27.2
     # via
     #   faster-whisper-server (pyproject.toml)
-    #   aider-chat
     #   gradio
     #   gradio-client
     #   openai
 httpx-sse==0.4.0
     # via faster-whisper-server (pyproject.toml)
-huggingface-hub==0.23.4
+huggingface-hub==0.24.6
     # via
     #   faster-whisper-server (pyproject.toml)
-    #   aider-chat
     #   faster-whisper
     #   gradio
     #   gradio-client
     #   tokenizers
 humanfriendly==10.0
     # via coloredlogs
-idna==3.7
+idna==3.8
     # via
-    #   aider-chat
     #   anyio
     #   httpx
     #   requests
-    #   yarl
-importlib-metadata==7.1.0
-    # via
-    #   aider-chat
-    #   litellm
 importlib-resources==6.4.4
     # via gradio
 iniconfig==2.0.0
     # via pytest
 jinja2==3.1.4
-    # via
-    #   aider-chat
-    #   altair
-    #   gradio
-    #   litellm
-    #   pydeck
-jsonschema==4.22.0
-    # via
-    #   aider-chat
-    #   altair
-jsonschema-specifications==2023.12.1
-    # via
-    #   aider-chat
-    #   jsonschema
+    # via gradio
+jiter==0.5.0
+    # via openai
 keyboard==0.13.5
     # via faster-whisper-server (pyproject.toml)
-kiwisolver==1.4.5
+kiwisolver==1.4.7
     # via matplotlib
-litellm==1.40.15
-    # via aider-chat
 markdown-it-py==3.0.0
-    # via
-    #   aider-chat
-    #   rich
+    # via rich
 markupsafe==2.1.5
     # via
-    #   aider-chat
     #   gradio
     #   jinja2
 matplotlib==3.9.2
     # via gradio
-mccabe==0.7.0
-    # via
-    #   aider-chat
-    #   flake8
 mdurl==0.1.2
-    # via
-    #   aider-chat
-    #   markdown-it-py
+    # via markdown-it-py
 mpmath==1.3.0
     # via sympy
-multidict==6.0.5
-    # via
-    #   aider-chat
-    #   aiohttp
-    #   yarl
-networkx==3.2.1
-    # via aider-chat
 nodejs-wheel-binaries==20.17.0
     # via basedpyright
 numpy==1.26.4
     # via
     #   faster-whisper-server (pyproject.toml)
-    #   aider-chat
-    #   altair
     #   contourpy
     #   ctranslate2
     #   gradio
     #   matplotlib
     #   onnxruntime
     #   pandas
-    #   pyarrow
-    #   pydeck
-    #   scipy
-    #   streamlit
-onnxruntime==1.19.0
+onnxruntime==1.19.2
     # via faster-whisper
-openai==1.34.0
-    # via
-    #   faster-whisper-server (pyproject.toml)
-    #   aider-chat
-    #   litellm
+openai==1.43.1
+    # via faster-whisper-server (pyproject.toml)
 orjson==3.10.7
     # via gradio
 packaging==24.1
     # via
-    #   aider-chat
-    #   altair
     #   gradio
     #   gradio-client
     #   huggingface-hub
     #   matplotlib
     #   onnxruntime
     #   pytest
-    #   streamlit
 pandas==2.2.2
+    # via gradio
+pillow==10.4.0
     # via
-    #   aider-chat
-    #   altair
-    #   gradio
-    #   streamlit
-pathspec==0.12.1
-    # via
-    #   aider-chat
-    #   grep-ast
-pillow==10.3.0
-    # via
-    #   aider-chat
     #   gradio
     #   matplotlib
-    #   streamlit
-playwright==1.44.0
-    # via aider-chat
 pluggy==1.5.0
     # via pytest
-prompt-toolkit==3.0.47
-    # via aider-chat
-proto-plus==1.23.0
-    # via
-    #   aider-chat
-    #   google-ai-generativelanguage
-    #   google-api-core
-protobuf==4.25.3
-    # via
-    #   aider-chat
-    #   google-ai-generativelanguage
-    #   google-api-core
-    #   google-generativeai
-    #   googleapis-common-protos
-    #   grpcio-status
-    #   onnxruntime
-    #   proto-plus
-    #   streamlit
-pyarrow==16.1.0
-    # via
-    #   aider-chat
-    #   streamlit
-pyasn1==0.6.0
-    # via
-    #   aider-chat
-    #   pyasn1-modules
-    #   rsa
-pyasn1-modules==0.4.0
-    # via
-    #   aider-chat
-    #   google-auth
-pycodestyle==2.12.0
-    # via
-    #   aider-chat
-    #   flake8
+protobuf==5.28.0
+    # via onnxruntime
 pycparser==2.22
-    # via
-    #   aider-chat
-    #   cffi
-pydantic==2.7.4
+    # via cffi
+pydantic==2.9.0
     # via
     #   faster-whisper-server (pyproject.toml)
-    #   aider-chat
     #   fastapi
-    #   google-generativeai
     #   gradio
-    #   litellm
     #   openai
     #   pydantic-settings
-pydantic-core==2.18.4
-    # via
-    #   aider-chat
-    #   pydantic
+pydantic-core==2.23.2
+    # via pydantic
 pydantic-settings==2.4.0
     # via faster-whisper-server (pyproject.toml)
-pydeck==0.9.1
-    # via
-    #   aider-chat
-    #   streamlit
 pydub==0.25.1
     # via gradio
-pyee==11.1.0
-    # via
-    #   aider-chat
-    #   playwright
-pyflakes==3.2.0
-    # via
-    #   aider-chat
-    #   flake8
 pygments==2.18.0
-    # via
-    #   aider-chat
-    #   rich
-pypandoc==1.13
-    # via aider-chat
-pyparsing==3.1.2
-    # via
-    #   aider-chat
-    #   httplib2
-    #   matplotlib
+    # via rich
+pyparsing==3.1.4
+    # via matplotlib
 pytest==8.3.2
     # via
     #   faster-whisper-server (pyproject.toml)
@@ -422,196 +175,83 @@
     # via faster-whisper-server (pyproject.toml)
 python-dateutil==2.9.0.post0
     # via
-    #   aider-chat
     #   matplotlib
     #   pandas
 python-dotenv==1.0.1
-    # via
-    #   aider-chat
-    #   litellm
-    #   pydantic-settings
+    # via pydantic-settings
 python-multipart==0.0.9
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
 pytz==2024.1
+    # via pandas
+pyyaml==6.0.2
     # via
-    #   aider-chat
-    #   pandas
-pyyaml==6.0.1
-    # via
-    #   aider-chat
     #   ctranslate2
     #   gradio
     #   huggingface-hub
-referencing==0.35.1
-    # via
-    #   aider-chat
-    #   jsonschema
-    #   jsonschema-specifications
-regex==2024.5.15
-    # via
-    #   aider-chat
-    #   tiktoken
 requests==2.32.3
-    # via
-    #   aider-chat
-    #   google-api-core
-    #   huggingface-hub
-    #   litellm
-    #   streamlit
-    #   tiktoken
-rich==13.7.1
-    # via
-    #   aider-chat
-    #   streamlit
-    #   typer
-rpds-py==0.18.1
-    # via
-    #   aider-chat
-    #   jsonschema
-    #   referencing
-rsa==4.9
-    # via
-    #   aider-chat
-    #   google-auth
+    # via huggingface-hub
+rich==13.8.0
+    # via typer
 ruff==0.5.3
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
-scipy==1.13.1
-    # via aider-chat
 semantic-version==2.10.0
     # via gradio
-setuptools==73.0.1
+setuptools==74.1.2
     # via ctranslate2
 shellingham==1.5.4
     # via typer
 six==1.16.0
-    # via
-    #   aider-chat
-    #   python-dateutil
-smmap==5.0.1
-    # via
-    #   aider-chat
-    #   gitdb
+    # via python-dateutil
 sniffio==1.3.1
     # via
-    #   aider-chat
     #   anyio
     #   httpx
     #   openai
-sounddevice==0.4.7
-    # via aider-chat
 soundfile==0.12.1
-    # via
-    #   faster-whisper-server (pyproject.toml)
-    #   aider-chat
-soupsieve==2.5
-    # via
-    #   aider-chat
-    #   beautifulsoup4
+    # via faster-whisper-server (pyproject.toml)
 srt==3.5.3
     # via faster-whisper-server (pyproject.toml)
-starlette==0.38.2
+starlette==0.38.4
     # via fastapi
-streamlit==1.35.0
-    # via aider-chat
 sympy==1.13.2
     # via onnxruntime
-tenacity==8.3.0
-    # via
-    #   aider-chat
-    #   streamlit
-tiktoken==0.7.0
-    # via
-    #   aider-chat
-    #   litellm
-tokenizers==0.19.1
-    # via
-    #   aider-chat
-    #   faster-whisper
-    #   litellm
-toml==0.10.2
-    # via
-    #   aider-chat
-    #   streamlit
+tokenizers==0.20.0
+    # via faster-whisper
 tomlkit==0.12.0
     # via gradio
-toolz==0.12.1
+tqdm==4.66.5
     # via
-    #   aider-chat
-    #   altair
-tornado==6.4.1
-    # via
-    #   aider-chat
-    #   streamlit
-tqdm==4.66.4
-    # via
-    #   aider-chat
-    #   google-generativeai
     #   huggingface-hub
     #   openai
-tree-sitter==0.21.3
-    # via
-    #   aider-chat
-    #   tree-sitter-languages
-tree-sitter-languages==1.10.2
-    # via
-    #   aider-chat
-    #   grep-ast
 typer==0.12.5
     # via gradio
 typing-extensions==4.12.2
     # via
-    #   aider-chat
     #   fastapi
-    #   google-generativeai
     #   gradio
     #   gradio-client
     #   huggingface-hub
     #   openai
     #   pydantic
     #   pydantic-core
-    #   pyee
-    #   streamlit
     #   typer
 tzdata==2024.1
     # via
-    #   aider-chat
     #   pandas
-uritemplate==4.1.1
+    #   pydantic
+urllib3==2.2.2
     # via
-    #   aider-chat
-    #   google-api-python-client
-urllib3==2.2.1
-    # via
-    #   aider-chat
     #   gradio
     #   requests
 uvicorn==0.30.6
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
-watchdog==4.0.1
-    # via
-    #   aider-chat
-    #   streamlit
-wcwidth==0.2.13
-    # via
-    #   aider-chat
-    #   prompt-toolkit
 websockets==12.0
     # via gradio-client
 webvtt-py==0.5.1
     # via faster-whisper-server (pyproject.toml)
-yarl==1.9.4
-    # via
-    #   aider-chat
-    #   aiohttp
-youtube-dl @ git+https://github.com/ytdl-org/youtube-dl.git@37cea84f775129ad715b9bcd617251c831fcc980
-    # via faster-whisper-server (pyproject.toml)
-zipp==3.19.2
-    # via
-    #   aider-chat
-    #   importlib-metadata
requirements-dev.txt
--- requirements-dev.txt
+++ requirements-dev.txt
@@ -14,12 +14,12 @@
     # via faster-whisper
 basedpyright==1.13.0
     # via faster-whisper-server (pyproject.toml)
-certifi==2024.7.4
+certifi==2024.8.30
     # via
     #   httpcore
     #   httpx
     #   requests
-cffi==1.17.0
+cffi==1.17.1
     # via soundfile
 charset-normalizer==3.3.2
     # via requests
@@ -29,7 +29,7 @@
     #   uvicorn
 coloredlogs==15.0.1
     # via onnxruntime
-contourpy==1.2.1
+contourpy==1.3.0
     # via matplotlib
 ctranslate2==4.3.1
     # via faster-whisper
@@ -39,7 +39,7 @@
     # via openai
 execnet==2.1.1
     # via pytest-xdist
-fastapi==0.112.2
+fastapi==0.113.0
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
@@ -53,7 +53,7 @@
     # via onnxruntime
 fonttools==4.53.1
     # via matplotlib
-fsspec==2024.6.1
+fsspec==2024.9.0
     # via
     #   gradio-client
     #   huggingface-hub
@@ -67,7 +67,7 @@
     #   uvicorn
 httpcore==1.0.5
     # via httpx
-httpx==0.27.0
+httpx==0.27.2
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
@@ -97,7 +97,7 @@
     # via gradio
 jiter==0.5.0
     # via openai
-kiwisolver==1.4.5
+kiwisolver==1.4.7
     # via matplotlib
 markdown-it-py==3.0.0
     # via rich
@@ -122,9 +122,9 @@
     #   matplotlib
     #   onnxruntime
     #   pandas
-onnxruntime==1.19.0
+onnxruntime==1.19.2
     # via faster-whisper
-openai==1.42.0
+openai==1.43.1
     # via faster-whisper-server (pyproject.toml)
 orjson==3.10.7
     # via gradio
@@ -144,18 +144,18 @@
     #   matplotlib
 pluggy==1.5.0
     # via pytest
-protobuf==5.27.3
+protobuf==5.28.0
     # via onnxruntime
 pycparser==2.22
     # via cffi
-pydantic==2.8.2
+pydantic==2.9.0
     # via
     #   faster-whisper-server (pyproject.toml)
     #   fastapi
     #   gradio
     #   openai
     #   pydantic-settings
-pydantic-core==2.20.1
+pydantic-core==2.23.2
     # via pydantic
 pydantic-settings==2.4.0
     # via faster-whisper-server (pyproject.toml)
@@ -198,7 +198,7 @@
     #   gradio
 semantic-version==2.10.0
     # via gradio
-setuptools==73.0.1
+setuptools==74.1.2
     # via ctranslate2
 shellingham==1.5.4
     # via typer
@@ -213,7 +213,7 @@
     # via faster-whisper-server (pyproject.toml)
 srt==3.5.3
     # via faster-whisper-server (pyproject.toml)
-starlette==0.38.2
+starlette==0.38.4
     # via fastapi
 sympy==1.13.2
     # via onnxruntime
@@ -238,7 +238,9 @@
     #   pydantic-core
     #   typer
 tzdata==2024.1
-    # via pandas
+    # via
+    #   pandas
+    #   pydantic
 urllib3==2.2.2
     # via
     #   gradio
requirements.txt
--- requirements.txt
+++ requirements.txt
@@ -12,12 +12,12 @@
     #   starlette
 av==12.3.0
     # via faster-whisper
-certifi==2024.7.4
+certifi==2024.8.30
     # via
     #   httpcore
     #   httpx
     #   requests
-cffi==1.17.0
+cffi==1.17.1
     # via soundfile
 charset-normalizer==3.3.2
     # via requests
@@ -27,7 +27,7 @@
     #   uvicorn
 coloredlogs==15.0.1
     # via onnxruntime
-contourpy==1.2.1
+contourpy==1.3.0
     # via matplotlib
 ctranslate2==4.3.1
     # via faster-whisper
@@ -35,7 +35,7 @@
     # via matplotlib
 distro==1.9.0
     # via openai
-fastapi==0.112.2
+fastapi==0.113.0
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
@@ -49,7 +49,7 @@
     # via onnxruntime
 fonttools==4.53.1
     # via matplotlib
-fsspec==2024.6.1
+fsspec==2024.9.0
     # via
     #   gradio-client
     #   huggingface-hub
@@ -63,7 +63,7 @@
     #   uvicorn
 httpcore==1.0.5
     # via httpx
-httpx==0.27.0
+httpx==0.27.2
     # via
     #   faster-whisper-server (pyproject.toml)
     #   gradio
@@ -91,7 +91,7 @@
     # via gradio
 jiter==0.5.0
     # via openai
-kiwisolver==1.4.5
+kiwisolver==1.4.7
     # via matplotlib
 markdown-it-py==3.0.0
     # via rich
@@ -114,9 +114,9 @@
     #   matplotlib
     #   onnxruntime
     #   pandas
-onnxruntime==1.19.0
+onnxruntime==1.19.2
     # via faster-whisper
-openai==1.42.0
+openai==1.43.1
     # via faster-whisper-server (pyproject.toml)
 orjson==3.10.7
     # via gradio
@@ -133,18 +133,18 @@
     # via
     #   gradio
     #   matplotlib
-protobuf==5.27.3
+protobuf==5.28.0
     # via onnxruntime
 pycparser==2.22
     # via cffi
-pydantic==2.8.2
+pydantic==2.9.0
     # via
     #   faster-whisper-server (pyproject.toml)
     #   fastapi
     #   gradio
     #   openai
     #   pydantic-settings
-pydantic-core==2.20.1
+pydantic-core==2.23.2
     # via pydantic
 pydantic-settings==2.4.0
     # via faster-whisper-server (pyproject.toml)
@@ -175,11 +175,11 @@
     # via huggingface-hub
 rich==13.8.0
     # via typer
-ruff==0.6.2
+ruff==0.6.4
     # via gradio
 semantic-version==2.10.0
     # via gradio
-setuptools==73.0.1
+setuptools==74.1.2
     # via ctranslate2
 shellingham==1.5.4
     # via typer
@@ -192,7 +192,7 @@
     #   openai
 soundfile==0.12.1
     # via faster-whisper-server (pyproject.toml)
-starlette==0.38.2
+starlette==0.38.4
     # via fastapi
 sympy==1.13.2
     # via onnxruntime
@@ -217,7 +217,9 @@
     #   pydantic-core
     #   typer
 tzdata==2024.1
-    # via pandas
+    # via
+    #   pandas
+    #   pydantic
 urllib3==2.2.2
     # via
     #   gradio
Add a comment
List