From 9c937fb742a3ed2737b43015302f3b55af5d62ef Mon Sep 17 00:00:00 2001 From: Rehan Sanjay Date: Thu, 1 Oct 2026 11:29:43 +0530 Subject: [PATCH] chore: allow pipecat-ai 1.11 and 1.12, and test against the newest The ceiling pinned pipecat-ai below 1.11 while pipecat ships 1.12.0, so a project already on a current pipecat cannot add this package without downgrading the framework two minor versions. Nothing in the package needs the old ceiling. Checked against 1.12.0: - every pipecat symbol imported in src/pipecat_memcode/memory.py resolves (InterruptionFrame, LLMContextFrame, LLMContextAssistantTurnFrame, LLMSpecificMessage, acquires, releases) - every method the processor overrides has an unchanged signature: setup(self, setup), cleanup(self), process_frame(self, frame, direction), push_frame(self, frame, direction=DOWNSTREAM) - nothing in the 1.11 or 1.12 Removed and Deprecated entries is referenced here. The removals are NotifierGate, ClassifierGate and ConversationGate; the deprecations are UninterruptibleFrame, StartupTimingObserver fields, BaseUIWorker, ReplyToolMixin and the eval APIs The ceiling becomes <2, matching the convention memcode-sdk>=2.4.0,<3 uses one line above, and keeps the package clear of the 2.0.0 removals the changelog schedules. CI installs the package editable, so it honoured the old ceiling and never resolved pipecat above 1.10.x. A second job installs the newest pipecat-ai, prints the resolved version and runs the suite, so the wider range stays proven on every run rather than asserted once here. --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4da0d86..3280b38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,3 +41,28 @@ jobs: - name: Build distributions run: python -m build + + latest-pipecat: + name: Newest pipecat-ai + runs-on: ubuntu-latest + steps: + - name: Check out source + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 + + - name: Set up Python + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 + with: + python-version: "3.13" + + - name: Install package and development tools + run: | + python -m pip install --disable-pip-version-check \ + pytest==9.1.1 pytest-asyncio==1.4.0 + python -m pip install --disable-pip-version-check --editable ".[example]" + python -m pip install --disable-pip-version-check --upgrade pipecat-ai + + - name: Report resolved version + run: python -c "import pipecat; print(pipecat.__version__)" + + - name: Test + run: pytest diff --git a/pyproject.toml b/pyproject.toml index 8f09562..02aacac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ ] dependencies = [ "memcode-sdk>=2.4.0,<3", - "pipecat-ai>=1.10,<1.11", + "pipecat-ai>=1.10,<2", ] [project.urls]