diff --git a/dev-requirements.txt b/dev-requirements.txt index db2cad4fa..0ed6d9b05 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,9 +1,9 @@ -build~=1.2.1 -grpcio-tools~=1.65.4 +build~=1.2.2 +grpcio-tools~=1.68.1 pip-tools~=7.4.1 -pyright~=1.1.376 -pytest~=8.3.2 -ruff~=0.6.7 -setuptools~=72.2.0 +pyright~=1.1.390 +pytest~=8.3.4 +ruff~=0.8.3 +setuptools~=75.6.0 setuptools_scm~=8.1.0 -python-dotenv~=1.0.1 \ No newline at end of file +python-dotenv~=1.0.1 diff --git a/pyproject.toml b/pyproject.toml index 9ee258ff6..1a43b1b89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,12 +21,14 @@ classifiers = [ ] dependencies = [ "aiohttp~=3.11.10", - "loguru~=0.7.2", + "audioop-lts~=0.2.1; python_version>='3.13'", + "loguru~=0.7.3", "Markdown~=3.7", - "numpy~=1.26.4", - "Pillow~=10.4.0", + "numpy~=2.1.3", + "numba~=0.61.0rc1", + "Pillow~=11.0.0", "protobuf~=5.29.1", - "pydantic~=2.8.2", + "pydantic~=2.10.3", "pyloudnorm~=0.1.1", "resampy~=0.4.3", "tenacity~=9.0.0" @@ -46,7 +48,6 @@ cartesia = [ "cartesia~=1.0.13", "websockets~=13.1" ] daily = [ "daily-python~=0.13.0" ] deepgram = [ "deepgram-sdk~=3.7.7" ] elevenlabs = [ "websockets~=13.1" ] -examples = [ "python-dotenv~=1.0.1", "flask~=3.0.3", "flask_cors~=4.0.1" ] fal = [ "fal-client~=0.4.1" ] gladia = [ "websockets~=13.1" ] google = [ "google-generativeai~=0.8.3", "google-cloud-texttospeech~=2.21.1" ] @@ -63,8 +64,8 @@ moondream = [ "einops~=0.8.0", "timm~=1.0.8", "transformers~=4.44.0" ] nim = [ "openai~=1.57.2" ] noisereduce = [ "noisereduce~=3.0.3" ] openai = [ "openai~=1.57.2", "websockets~=13.1", "python-deepcompare~=1.0.1" ] -openpipe = [ "openpipe~=4.38.0" ] -playht = [ "pyht~=0.1.8", "websockets~=13.1" ] +openpipe = [ "openpipe~=4.40.0" ] +playht = [ "pyht~=0.1.9", "websockets~=13.1" ] riva = [ "nvidia-riva-client~=2.17.0" ] silero = [ "onnxruntime~=1.20.1" ] simli = [ "simli-ai~=0.1.7"] diff --git a/src/pipecat/processors/metrics/frame_processor_metrics.py b/src/pipecat/processors/metrics/frame_processor_metrics.py index a22639239..2c0099989 100644 --- a/src/pipecat/processors/metrics/frame_processor_metrics.py +++ b/src/pipecat/processors/metrics/frame_processor_metrics.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2024, Daily +# +# SPDX-License-Identifier: BSD 2-Clause License +# + import time from pipecat.frames.frames import MetricsFrame diff --git a/src/pipecat/processors/metrics/sentry.py b/src/pipecat/processors/metrics/sentry.py index e37dd9d44..5c53ff526 100644 --- a/src/pipecat/processors/metrics/sentry.py +++ b/src/pipecat/processors/metrics/sentry.py @@ -1,3 +1,9 @@ +# +# Copyright (c) 2024, Daily +# +# SPDX-License-Identifier: BSD 2-Clause License +# + import time from loguru import logger @@ -29,8 +35,10 @@ class SentryMetrics(FrameProcessorMetrics): description=f"TTFB for {self._processor_name()}", start_timestamp=self._start_ttfb_time, ) - logger.debug(f"Sentry Span ID: {self._ttfb_metrics_span.span_id} Description: { - self._ttfb_metrics_span.description} started.") + logger.debug( + f"Sentry Span ID: {self._ttfb_metrics_span.span_id} Description: { + self._ttfb_metrics_span.description} started." + ) self._should_report_ttfb = not report_only_initial_ttfb async def stop_ttfb_metrics(self): @@ -46,8 +54,10 @@ class SentryMetrics(FrameProcessorMetrics): description=f"Processing for {self._processor_name()}", start_timestamp=self._start_processing_time, ) - logger.debug(f"Sentry Span ID: {self._processing_metrics_span.span_id} Description: { - self._processing_metrics_span.description} started.") + logger.debug( + f"Sentry Span ID: {self._processing_metrics_span.span_id} Description: { + self._processing_metrics_span.description} started." + ) async def stop_processing_metrics(self): stop_time = time.time()