diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 45cee151..17e70ade 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -70,26 +70,6 @@ jobs: - name: Build Agent STT SDK run: make build-agent-stt - test-flow: - name: Test Flow SDK - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: make install-dev-flow - - name: Lint Flow SDK - run: make lint-flow - - name: Test Flow SDK - run: make test-flow - - name: Build Flow SDK - run: make build-flow - test-voice: name: Test Voice Agent SDK runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index b6710e4e..61afe473 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Makefile for Speechmatics Python SDKs .PHONY: help -.PHONY: test-all test-rt test-batch test-agent-stt test-flow test-tts test-voice +.PHONY: test-all test-rt test-batch test-agent-stt test-tts test-voice .PHONY: format-all format-rt format-batch format-agent-stt format-flow format-tts format-voice .PHONY: lint-all lint-rt lint-batch lint-agent-stt lint-flow lint-tts lint-voice .PHONY: type-check-all type-check-rt type-check-batch type-check-agent-stt type-check-flow type-check-tts type-check-voice @@ -18,7 +18,6 @@ help: @echo " test-rt Run tests for RT SDK" @echo " test-batch Run tests for Batch SDK" @echo " test-agent-stt Run tests for Agent STT SDK" - @echo " test-flow Run tests for Flow SDK" @echo " test-tts Run tests for TTS SDK" @echo " test-voice Run tests for Voice Agent SDK" @echo "" @@ -69,7 +68,7 @@ help: @echo "" # Testing targets -test-all: test-rt test-batch test-agent-stt test-flow test-tts test-voice +test-all: test-rt test-batch test-agent-stt test-tts test-voice test-rt: pytest tests/rt/ -v -s @@ -79,9 +78,6 @@ test-batch: test-agent-stt: pytest tests/agent_stt/ -v -s -test-flow: - pytest tests/flow/ -v -s - test-tts: pytest tests/tts/ -v -s diff --git a/sdk/flow/MIGRATION.md b/sdk/flow/MIGRATION.md index 5813ec28..fcc04464 100644 --- a/sdk/flow/MIGRATION.md +++ b/sdk/flow/MIGRATION.md @@ -1,5 +1,7 @@ # Flow SDK Migration Guide +> **⚠️ DEPRECATED**: `speechmatics-flow` is deprecated and no longer maintained. The Flow API is no longer available and this SDK will not work regardless of version. + This guide helps users migrate from the legacy Speechmatics Flow Client (`speechmatics-flow`) to the new Speechmatics Flow SDK (`speechmatics-flow`). The new SDK provides a cleaner API, better error handling, and improved performance. ## Significant Changes diff --git a/sdk/flow/README.md b/sdk/flow/README.md index 39250508..829269d3 100644 --- a/sdk/flow/README.md +++ b/sdk/flow/README.md @@ -3,6 +3,8 @@ [![PyPI](https://img.shields.io/pypi/v/speechmatics-flow)](https://pypi.org/project/speechmatics-flow/) ![PythonSupport](https://img.shields.io/badge/Python-3.9%2B-green) +> **⚠️ DEPRECATED**: `speechmatics-flow` is deprecated and no longer maintained. The Flow API is no longer available and this SDK will not work regardless of version. + Async Python client for the Speechmatics Flow API - Real-time conversational AI. ## Features diff --git a/sdk/flow/pyproject.toml b/sdk/flow/pyproject.toml index 5c7e80ad..ea19115e 100644 --- a/sdk/flow/pyproject.toml +++ b/sdk/flow/pyproject.toml @@ -12,7 +12,7 @@ license = "MIT" requires-python = ">=3.9" dependencies = ["websockets>=10.0"] classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 7 - Inactive", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", diff --git a/sdk/flow/speechmatics/flow/__init__.py b/sdk/flow/speechmatics/flow/__init__.py index f136c714..9223e63c 100644 --- a/sdk/flow/speechmatics/flow/__init__.py +++ b/sdk/flow/speechmatics/flow/__init__.py @@ -1,3 +1,5 @@ +import warnings + __version__ = "0.0.0" from ._async_client import AsyncClient @@ -59,3 +61,10 @@ "ConversationEndedException", "ConversationError", ] + +warnings.warn( + "speechmatics-flow is deprecated and no longer maintained. " + "The Flow API is no longer available and this SDK will not work regardless of version.", + DeprecationWarning, + stacklevel=2, +) diff --git a/tests/flow/test_setup.py b/tests/flow/test_setup.py deleted file mode 100644 index 4fc590d2..00000000 --- a/tests/flow/test_setup.py +++ /dev/null @@ -1,2 +0,0 @@ -def test_setup(): - assert True