Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(py): isolate incompatible provider dependencies (#4254)
## Summary - stop installing the independently distributed Autogen adapter into the shared CrewAI/LangChain/LangGraph unit-test environment - run the Autogen import guard and signature regressions in their own matrix environment - align the local `tst` nox session with the compatible shared provider set and add `tst_autogen` for isolated Autogen coverage ## Root cause `autogen-core==0.7.5` requires `protobuf~=5.29.3`, while CrewAI's current telemetry dependency chain requires `googleapis-common-protos>=1.75.1`, whose generated modules require `protobuf>=6.33.5`. The packages are independently distributed adapters and are not tested together, but the workflow installed both into one virtual environment. Because the installs were sequential, installing Autogen last downgraded `protobuf` to `5.29.6` and left the already-installed Google modules unusable: ```text google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading google/rpc/error_details.proto: gencode 6.33.5 runtime 5.29.6. ``` ## Regression coverage The shared suite intentionally skips Autogen because loading it alongside CrewAI creates the incompatible protobuf environment. CI now runs these existing regressions in the isolated Autogen environment instead: - `test_autogen_signature_honors_skip_defaults` - `test_autogen_signature_preserves_default` Developers can reproduce that boundary with `nox -s tst_autogen`. ## Verification - reproduced the downgrade after the Autogen provider installation - shared provider environment imports `google.rpc.error_details_pb2` with `protobuf==6.33.6` - isolated Autogen environment imports `composio_autogen` with `protobuf==5.29.6` - isolated Autogen regressions: 2 passed - Python unit suite: 1,355 passed, 35 skipped - Ruff and mypy: passed - agent-skill and skill-routing validators: passed - Prettier and `git diff --check`: passed No Changeset is required: this only changes CI and test-environment setup.
No changes.