Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherit extras from pyautogen for ag2 and autogen packages (+bump) #182

Merged
merged 4 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autogen/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#
# SPDX-License-Identifier: Apache-2.0

__version__ = "0.5.1"
__version__ = "0.5.2b1"
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
# NOTE: underscores in pip install, e.g. pip install ag2[graph_rag_falkor_db], will automatically
# convert to hyphens. So, do not include underscores in the name of extras.

# ** IMPORTANT: IF ADDING EXTRAS **
# PLEASE add them in the setup_ag2.py and setup_autogen.py files

extra_require = {
"test": [
"ipykernel",
Expand Down
31 changes: 31 additions & 0 deletions setup_ag2.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,37 @@
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=["pyautogen==" + __version__],
extras_require={
"test": ["pyautogen[test]==" + __version__],
"blendsearch": ["pyautogen[blendsearch]==" + __version__],
"mathchat": ["pyautogen[mathchat]==" + __version__],
"retrievechat": ["pyautogen[retrievechat]==" + __version__],
"retrievechat-pgvector": ["pyautogen[retrievechat-pgvector]==" + __version__],
"retrievechat-mongodb": ["pyautogen[retrievechat-mongodb]==" + __version__],
"retrievechat-qdrant": ["pyautogen[retrievechat-qdrant]==" + __version__],
"graph-rag-falkor-db": ["pyautogen[graph-rag-falkor-db]==" + __version__],
"autobuild": ["pyautogen[autobuild]==" + __version__],
"captainagent": ["pyautogen[captainagent]==" + __version__],
"teachable": ["pyautogen[teachable]==" + __version__],
"lmm": ["pyautogen[lmm]==" + __version__],
"graph": ["pyautogen[graph]==" + __version__],
"gemini": ["pyautogen[gemini]==" + __version__],
"together": ["pyautogen[together]==" + __version__],
"websurfer": ["pyautogen[websurfer]==" + __version__],
"redis": ["pyautogen[redis]==" + __version__],
"cosmosdb": ["pyautogen[cosmosdb]==" + __version__],
"websockets": ["pyautogen[websockets]==" + __version__],
"jupyter-executor": ["pyautogen[jupyter-executor]==" + __version__],
"types": ["pyautogen[types]==" + __version__],
"long-context": ["pyautogen[long-context]==" + __version__],
"anthropic": ["pyautogen[anthropic]==" + __version__],
"cerebras": ["pyautogen[cerebras]==" + __version__],
"mistral": ["pyautogen[mistral]==" + __version__],
"groq": ["pyautogen[groq]==" + __version__],
"cohere": ["pyautogen[cohere]==" + __version__],
"ollama": ["pyautogen[ollama]==" + __version__],
"bedrock": ["pyautogen[bedrock]==" + __version__],
},
url="https://github.com/ag2ai/ag2",
author="Chi Wang & Qingyun Wu",
author_email="[email protected]",
Expand Down
31 changes: 31 additions & 0 deletions setup_autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,37 @@
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=["pyautogen==" + __version__],
extras_require={
"test": ["pyautogen[test]==" + __version__],
"blendsearch": ["pyautogen[blendsearch]==" + __version__],
"mathchat": ["pyautogen[mathchat]==" + __version__],
"retrievechat": ["pyautogen[retrievechat]==" + __version__],
"retrievechat-pgvector": ["pyautogen[retrievechat-pgvector]==" + __version__],
"retrievechat-mongodb": ["pyautogen[retrievechat-mongodb]==" + __version__],
"retrievechat-qdrant": ["pyautogen[retrievechat-qdrant]==" + __version__],
"graph-rag-falkor-db": ["pyautogen[graph-rag-falkor-db]==" + __version__],
"autobuild": ["pyautogen[autobuild]==" + __version__],
"captainagent": ["pyautogen[captainagent]==" + __version__],
"teachable": ["pyautogen[teachable]==" + __version__],
"lmm": ["pyautogen[lmm]==" + __version__],
"graph": ["pyautogen[graph]==" + __version__],
"gemini": ["pyautogen[gemini]==" + __version__],
"together": ["pyautogen[together]==" + __version__],
"websurfer": ["pyautogen[websurfer]==" + __version__],
"redis": ["pyautogen[redis]==" + __version__],
"cosmosdb": ["pyautogen[cosmosdb]==" + __version__],
"websockets": ["pyautogen[websockets]==" + __version__],
"jupyter-executor": ["pyautogen[jupyter-executor]==" + __version__],
"types": ["pyautogen[types]==" + __version__],
"long-context": ["pyautogen[long-context]==" + __version__],
"anthropic": ["pyautogen[anthropic]==" + __version__],
"cerebras": ["pyautogen[cerebras]==" + __version__],
"mistral": ["pyautogen[mistral]==" + __version__],
"groq": ["pyautogen[groq]==" + __version__],
"cohere": ["pyautogen[cohere]==" + __version__],
"ollama": ["pyautogen[ollama]==" + __version__],
"bedrock": ["pyautogen[bedrock]==" + __version__],
},
url="https://github.com/ag2ai/ag2",
author="Chi Wang & Qingyun Wu",
author_email="[email protected]",
Expand Down
Loading