From bc4bbb1895a69167b7c27eedab59143043953381 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Tue, 31 Mar 2026 22:58:56 -0400 Subject: [PATCH] Remove deprecated PollyTTSService alias --- src/pipecat/services/aws/tts.py | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/pipecat/services/aws/tts.py b/src/pipecat/services/aws/tts.py index 32266886e..f46539b9b 100644 --- a/src/pipecat/services/aws/tts.py +++ b/src/pipecat/services/aws/tts.py @@ -369,31 +369,3 @@ class AWSPollyTTSService(TTSService): except (BotoCoreError, ClientError) as error: error_message = f"AWS Polly TTS error: {str(error)}" yield ErrorFrame(error=error_message) - - -class PollyTTSService(AWSPollyTTSService): - """Deprecated alias for AWSPollyTTSService. - - .. deprecated:: 0.0.67 - `PollyTTSService` is deprecated, use `AWSPollyTTSService` instead. - - """ - - Settings = AWSPollyTTSSettings - - def __init__(self, **kwargs): - """Initialize the deprecated PollyTTSService. - - Args: - **kwargs: All arguments passed to AWSPollyTTSService. - """ - super().__init__(**kwargs) - - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "'PollyTTSService' is deprecated, use 'AWSPollyTTSService' instead.", - DeprecationWarning, - )