Skip to content

Commit 4f24716

Browse files
fix: complete AG2 migration by replacing remaining pyautogen references
- Replace pyautogen==0.2.29 with ag2==0.2.29 in autogen extra dependency - Update integration test documentation to reference ag2 instead of pyautogen - Fix comment referencing pyautogen numpy conflicts This completes the AG2 migration that was started in PR #1156, ensuring backward compatibility while moving to the new ag2 library. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Mervin Praison <MervinPraison@users.noreply.github.com>
1 parent 6012192 commit 4f24716

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/praisonai/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ call = [
9090
]
9191
train = []
9292
crewai = ["crewai>=0.157.0", "praisonai-tools>=0.1.0"]
93-
autogen = ["pyautogen==0.2.29", "praisonai-tools>=0.1.0", "crewai"]
93+
autogen = ["ag2==0.2.29", "praisonai-tools>=0.1.0", "crewai"]
9494
ag2 = ["ag2>=0.11.0", "praisonai-tools>=0.1.0"]
9595
autogen-v4 = [
9696
"autogen-agentchat>=0.4.0",
@@ -187,7 +187,7 @@ Repository = "https://github.com/mervinpraison/PraisonAI"
187187
# Exclude from lock resolution — these cause cross-extra conflicts that
188188
# never occur at install time (nobody installs [claw]+[autogen]+[crewai] together):
189189
# neonize: conflicts with autogen-core (protobuf version)
190-
# magika: numpy>=2.1 (via markitdown) vs pyautogen numpy<2
190+
# magika: numpy>=2.1 (via markitdown) vs ag2 numpy<2
191191
# neo4j-graphrag: json-repair tight pins vs crewai transitive deps
192192
override-dependencies = [
193193
"neonize ; sys_platform == 'never'",

src/praisonai/tests/integration/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ python -m pytest tests/integration/autogen/test_autogen_basic.py::TestAutoGenInt
145145

146146
### Required for AutoGen Tests:
147147
```bash
148-
pip install pyautogen
148+
pip install ag2
149149
```
150150

151151
### Required for CrewAI Tests:
@@ -251,7 +251,7 @@ To add tests for a new framework (e.g., `langchain`):
251251
```
252252
ImportError: No module named 'autogen'
253253
```
254-
**Solution:** Install the framework: `pip install pyautogen`
254+
**Solution:** Install the framework: `pip install ag2`
255255

256256
**Path Issues:**
257257
```

0 commit comments

Comments
 (0)