Fedir Zadniprovskyi 2024-07-03
fix: VAD error caused by new major numpy version
@812418dfaba8eaf445946df83667ddbf8eac17c2
pyproject.toml
--- pyproject.toml
+++ pyproject.toml
@@ -8,8 +8,8 @@
     "python-multipart",
     "soundfile",
     "pydantic-settings",
-    "numpy",
-    "faster-whisper",
+    "numpy<2.0.0",
+    "faster-whisper==1.0.3",
     "huggingface-hub",
     "httpx-sse",
     "httpx",
requirements-all.txt
--- requirements-all.txt
+++ requirements-all.txt
@@ -1,6 +1,6 @@
 # This file was autogenerated by uv via the following command:
 #    uv pip compile --all-extras --output-file requirements-all.txt pyproject.toml
-aider-chat==0.41.0
+aider-chat==0.39.0
     # via faster-whisper-server (pyproject.toml)
 aiofiles==23.2.1
     # via gradio
@@ -105,7 +105,7 @@
     # via faster-whisper-server (pyproject.toml)
 ffmpy==0.3.2
     # via gradio
-filelock==3.15.4
+filelock==3.15.1
     # via
     #   aider-chat
     #   huggingface-hub
@@ -120,7 +120,7 @@
     #   aider-chat
     #   aiohttp
     #   aiosignal
-fsspec==2024.6.1
+fsspec==2024.6.0
     # via
     #   aider-chat
     #   gradio-client
@@ -133,17 +133,17 @@
     # via
     #   aider-chat
     #   streamlit
-google-ai-generativelanguage==0.6.6
+google-ai-generativelanguage==0.6.4
     # via
     #   aider-chat
     #   google-generativeai
-google-api-core==2.19.1
+google-api-core==2.19.0
     # via
     #   aider-chat
     #   google-ai-generativelanguage
     #   google-api-python-client
     #   google-generativeai
-google-api-python-client==2.135.0
+google-api-python-client==2.133.0
     # via
     #   aider-chat
     #   google-generativeai
@@ -159,9 +159,9 @@
     # via
     #   aider-chat
     #   google-api-python-client
-google-generativeai==0.7.1
+google-generativeai==0.6.0
     # via aider-chat
-googleapis-common-protos==1.63.2
+googleapis-common-protos==1.63.1
     # via
     #   aider-chat
     #   google-api-core
@@ -229,11 +229,7 @@
     #   httpx
     #   requests
     #   yarl
-ijson==3.3.0
-    # via
-    #   aider-chat
-    #   litellm
-importlib-metadata==7.2.1
+importlib-metadata==7.1.0
     # via
     #   aider-chat
     #   litellm
@@ -259,7 +255,7 @@
     #   jsonschema
 kiwisolver==1.4.5
     # via matplotlib
-litellm==1.41.0
+litellm==1.40.15
     # via aider-chat
 markdown-it-py==3.0.0
     # via
@@ -289,7 +285,7 @@
     #   yarl
 networkx==3.2.1
     # via aider-chat
-numpy==2.0.0
+numpy==1.26.4
     # via
     #   faster-whisper-server (pyproject.toml)
     #   aider-chat
@@ -306,7 +302,7 @@
     #   streamlit
 onnxruntime==1.18.0
     # via faster-whisper
-openai==1.35.7
+openai==1.34.0
     # via
     #   faster-whisper-server (pyproject.toml)
     #   aider-chat
@@ -348,7 +344,7 @@
     # via pytest
 prompt-toolkit==3.0.47
     # via aider-chat
-proto-plus==1.24.0
+proto-plus==1.23.0
     # via
     #   aider-chat
     #   google-ai-generativelanguage
@@ -528,11 +524,11 @@
     #   beautifulsoup4
 starlette==0.37.2
     # via fastapi
-streamlit==1.36.0
+streamlit==1.35.0
     # via aider-chat
 sympy==1.12.1
     # via onnxruntime
-tenacity==8.4.2
+tenacity==8.3.0
     # via
     #   aider-chat
     #   streamlit
@@ -601,7 +597,7 @@
     # via
     #   aider-chat
     #   google-api-python-client
-urllib3==2.2.2
+urllib3==2.2.1
     # via
     #   aider-chat
     #   gradio
requirements-dev.txt
--- requirements-dev.txt
+++ requirements-dev.txt
@@ -130,7 +130,7 @@
     # via markdown-it-py
 mpmath==1.3.0
     # via sympy
-numpy==2.0.0
+numpy==1.26.4
     # via
     #   faster-whisper-server (pyproject.toml)
     #   altair
requirements.txt
--- requirements.txt
+++ requirements.txt
@@ -48,7 +48,7 @@
     #   gradio
 fastapi-cli==0.0.4
     # via fastapi
-faster-whisper==1.0.2
+faster-whisper==1.0.3
     # via faster-whisper-server (pyproject.toml)
 ffmpy==0.3.2
     # via gradio
Add a comment
List