@devries-cameron20 / composio-1 / commits / 0421f1fb5
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.

chore(deps): stop Dependabot proposing ag2 majors for composio-autogen (#4236)

## Summary Closes #4197 as not-actionable and stops Dependabot from re-raising it. `ag2` 1.0 removed the top-level `autogen` package. The 1.x wheel ships only `ag2`: ``` $ python -c "import zipfile; print(sorted({n.split('/')[0] for n in zipfile.ZipFile('ag2-1.0.2-py3-none-any.whl').namelist()}))" ['ag2', 'ag2-1.0.2.dist-info'] ``` `composio_autogen/provider.py` imports `autogen`, `autogen.agentchat.register_function`, and `autogen.agentchat.conversable_agent.ConversableAgent` — none of which exist in 1.x. #4197 widened the requirement to `<2.0` and CI resolved `ag2==1.0.2`, which failed the fresh-install import guard on all three Python versions: ``` File ".../composio_autogen/provider.py", line 6, in <module> import autogen ModuleNotFoundError: No module named 'autogen' ``` This is the same failure mode as #3728 (pyautogen 0.10 shipping no `autogen`), one framework rename later. Adopting ag2 1.x is a provider rewrite against the new `ag2.tools` / middleware API, not a requirement widening — so it needs its own PR, not an automated bump. ## Changes - `.github/dependabot.yml`: ignore `version-update:semver-major` for `ag2` in the pip ecosystem, matching the existing convention for compatibility-boundary majors. Security updates are unaffected. - Record why the `<1.0` cap exists in both `pyproject.toml` and `setup.py`, so the next reader doesn't widen it by hand. ## Follow-up Migrating `composio-autogen` to ag2 1.x remains open and unscheduled. Remove the ignore entry when that lands.

Alberto Schiabel committed Aug 25, 2026 at 01:20 UTC 0421f1fb52f0a86a752094ea82a44410ad5d64b1
3 files changed +10
.github/dependabot.yml
+8
@@ -64,6 +64,14 @@ updates:
64 update-types:
65 - "version-update:semver-minor"
66 - "version-update:semver-major"
67 + # ag2 1.0 dropped the top-level `autogen` package that
68 + # composio-autogen imports (`autogen.agentchat.register_function`,
69 + # `ConversableAgent`); the 1.x wheel ships only `ag2`. Adopting it is a
70 + # provider rewrite, not a requirement widening. Remove this once
71 + # composio-autogen targets the `ag2` namespace.
72 + - dependency-name: "ag2"
73 + update-types:
74 + - "version-update:semver-major"
75 groups:
76 pip-version:
77 applies-to: version-updates
python/providers/autogen/pyproject.toml
+1
@@ -13,6 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 + # ag2 1.x removed the top-level `autogen` namespace this provider imports.
17 "ag2>=0.14,<1.0",
18 "flaml==2.6.0",
19 "autogen_core>=0.7.5",
python/providers/autogen/setup.py
+1
@@ -22,6 +22,7 @@ setup(
22 ],
23 python_requires=">=3.10,<4",
24 install_requires=[
25 + # ag2 1.x removed the top-level `autogen` namespace this provider imports.
26 "ag2>=0.14,<1.0",
27 "flaml==2.6.0",
28 "autogen_core>=0.7.5",