Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(py): isolate incompatible provider dependencies
jkomyno741bb4d5aa73
diff --git a/.github/workflows/py.test.yml b/.github/workflows/py.test.ymlindex eefca3b5b..68dae1a80 100644--- a/.github/workflows/py.test.yml+++ b/.github/workflows/py.test.yml@@ -88,7 +88,6 @@ jobs:uv pip install -e providers/crewaiuv pip install -e providers/langchainuv pip install -e providers/langgraph- uv pip install -e providers/autogenuv pip install pytest pytest-mock- name: Run Import Tests@@ -96,9 +95,16 @@ jobs:cd python/source .venv/bin/activatepython -c "from composio import Composio; print('✓ Basic import successful')"- # Guards against the autogen provider becoming un-importable on a fresh- # install (e.g. a broken framework dependency). A hard import here fails- # loudly, unlike the importorskip-guarded unit tests, which would skip.++ - name: Test Autogen Provider Installation+ run: |+ cd python/+ # autogen-core requires protobuf 5, while CrewAI's telemetry stack+ # requires protobuf 6. Test the independently distributed provider in+ # its own environment instead of constructing an invalid combination.+ uv venv autogen-env --python ${{ matrix.python-version }}+ source autogen-env/bin/activate+ uv pip install -e . -e providers/autogenpython -c "import composio_autogen; print('✓ Autogen provider import successful')"- name: Run Unit Testsdiff --git a/python/noxfile.py b/python/noxfile.pyindex 8372ef2af..eae782dcd 100644--- a/python/noxfile.py+++ b/python/noxfile.py@@ -107,7 +107,6 @@ def tst(session: Session):session.install("./providers/crewai")session.install("./providers/langchain")session.install("./providers/langgraph")- session.install("./providers/autogen")test_paths = session.posargs or ["tests/"]session.run("pytest", *test_paths, "-v", "--tb=short")