Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
fix: prevent numpy two abi mismatches
LauraGPT62fcf73964c2
diff --git a/setup.py b/setup.pyindex 63ebffb93..b90a09030 100644--- a/setup.py+++ b/setup.py@@ -14,7 +14,8 @@ requirements = {"scipy>=1.4.1","librosa","soundfile>=0.12.1",- "numpy",+ # Keep the scientific stack ABI-compatible with the supported SciPy wheels.+ "numpy<2","PyYAML>=5.1.2","tqdm","requests",@@ -199,4 +200,4 @@ setup("funasr-sensevoice2jsonl = funasr.datasets.audio_datasets.sensevoice2jsonl:main_hydra",]},-)\ No newline at end of file+)diff --git a/tests/test_pypi_metadata.py b/tests/test_pypi_metadata.pyindex 5ba81d465..f45c1e998 100644--- a/tests/test_pypi_metadata.py+++ b/tests/test_pypi_metadata.py@@ -32,3 +32,9 @@ def test_package_keywords_surface_deployment_discovery_terms():'"llama-cpp"',]:assert keyword in text+++def test_core_dependencies_prevent_numpy_two_abi_mismatches():+ text = _setup_text()++ assert '"numpy<2"' in text