@devries-cameron20 / composio Mirror · read-only / commits / c5690031d
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 14:45 UTC

fix(py): isolate incompatible provider dependencies

jkomyno committed Aug 26, 2026 at 16:16 UTC c5690031d36f807f5955269dd0482a89d6a99948
2 files changed +10 -5
.github/workflows/py.test.yml
+10 -4
@@ -88,7 +88,6 @@ jobs:
88 uv pip install -e providers/crewai
89 uv pip install -e providers/langchain
90 uv pip install -e providers/langgraph
91 - uv pip install -e providers/autogen
91 uv pip install pytest pytest-mock
92
93 - name: Run Import Tests
@@ -96,9 +95,16 @@ jobs:
95 cd python/
96 source .venv/bin/activate
97 python -c "from composio import Composio; print('✓ Basic import successful')"
99 - # Guards against the autogen provider becoming un-importable on a fresh
100 - # install (e.g. a broken framework dependency). A hard import here fails
101 - # loudly, unlike the importorskip-guarded unit tests, which would skip.
98 +
99 + - name: Test Autogen Provider Installation
100 + run: |
101 + cd python/
102 + # autogen-core requires protobuf 5, while CrewAI's telemetry stack
103 + # requires protobuf 6. Test the independently distributed provider in
104 + # its own environment instead of constructing an invalid combination.
105 + uv venv autogen-env --python ${{ matrix.python-version }}
106 + source autogen-env/bin/activate
107 + uv pip install -e . -e providers/autogen
108 python -c "import composio_autogen; print('✓ Autogen provider import successful')"
109
110 - name: Run Unit Tests
python/noxfile.py
-1
@@ -107,7 +107,6 @@ def tst(session: Session):
107 session.install("./providers/crewai")
108 session.install("./providers/langchain")
109 session.install("./providers/langgraph")
110 - session.install("./providers/autogen")
110 test_paths = session.posargs or ["tests/"]
111 session.run("pytest", *test_paths, "-v", "--tb=short")
112