Skip to content

Commit

Permalink
chore: Release v0.6.0 (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
tushar-composio authored Dec 12, 2024
1 parent 946e7e9 commit f3bd53d
Show file tree
Hide file tree
Showing 19 changed files with 44 additions and 37 deletions.
2 changes: 1 addition & 1 deletion python/composio/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.0-rc.1"
__version__ = "0.6.0"
2 changes: 1 addition & 1 deletion python/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN /bin/python3 -m venv .composio/venv
RUN export PATH=$PATH:$(pwd)/.composio/venv/bin

# Install composio
RUN python -m pip install composio-core[all]==0.5.48-rc.1 fastapi playwright uvicorn
RUN python -m pip install composio-core[all]==0.6.0 fastapi playwright uvicorn

# Install playwright deps
RUN playwright install-deps
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/autogen/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_autogen",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Autogen agent.",
Expand All @@ -23,7 +23,7 @@
],
python_requires=">=3.9,<4",
install_requires=[
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
"pyautogen>=0.2.19",
"flaml==2.2.0",
],
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/camel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_camel",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Claude LLMs.",
Expand All @@ -23,7 +23,7 @@
],
python_requires=">=3.9,<4",
install_requires=[
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
"camel-ai>=0.1.5.7,<=0.2.2",
"pillow",
],
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/claude/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_claude",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Claude LLMs.",
Expand All @@ -22,6 +22,6 @@
"Operating System :: OS Independent",
],
python_requires=">=3.9,<4",
install_requires=["composio_openai>=0.5.50,<=0.6.0-rc.1", "anthropic>=0.25.7"],
install_requires=["composio_openai>=0.5.0,<=0.6.0", "anthropic>=0.25.7"],
include_package_data=True,
)
4 changes: 2 additions & 2 deletions python/plugins/crew_ai/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_crewai",
version="0.6.0-rc.1",
version="0.6.0",
author="Himanshu",
author_email="himanshu@composio.dev",
description="Use Composio to get an array of tools with your CrewAI agent.",
Expand All @@ -23,7 +23,7 @@
],
python_requires=">=3.9,<4",
install_requires=[
"composio_langchain>=0.5.50,<=0.6.0-rc.1",
"composio_langchain>=0.5.0,<=0.6.0",
"crewai>=0.51.0",
],
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/google/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_google",
version="0.6.0-rc.1",
version="0.6.0",
author="Assistant",
author_email="karan@composio.dev",
description="Use Composio to get an array of tools with your Google AI Python Gemini model.",
Expand All @@ -23,7 +23,7 @@
],
python_requires=">=3.9,<4",
install_requires=[
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
"google-cloud-aiplatform>=1.38.0",
],
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/griptape/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_griptape",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Griptape wokflow.",
Expand All @@ -22,6 +22,6 @@
"Operating System :: OS Independent",
],
python_requires=">=3.9,<4",
install_requires=["composio_core>=0.5.50,<=0.6.0-rc.1", "griptape>=0.24.2"],
install_requires=["composio_core>=0.5.0,<=0.6.0", "griptape>=0.24.2"],
include_package_data=True,
)
4 changes: 2 additions & 2 deletions python/plugins/julep/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_julep",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Julep wokflow.",
Expand All @@ -22,6 +22,6 @@
"Operating System :: OS Independent",
],
python_requires=">=3.9,<4",
install_requires=["composio_openai>=0.5.50,<=0.6.0-rc.1", "julep>=0.3.2"],
install_requires=["composio_openai>=0.5.0,<=0.6.0", "julep>=0.3.2"],
include_package_data=True,
)
4 changes: 2 additions & 2 deletions python/plugins/langchain/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_langchain",
version="0.6.0-rc.1",
version="0.6.0",
author="Karan",
author_email="karan@composio.dev",
description="Use Composio to get an array of tools with your LangChain agent.",
Expand All @@ -27,7 +27,7 @@
"langchain-openai>=0.0.2.post1",
"pydantic>=2.6.4",
"langchainhub>=0.1.15",
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
],
include_package_data=True,
)
4 changes: 2 additions & 2 deletions python/plugins/langgraph/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_langgraph",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get array of tools with LnagGraph Agent Workflows",
Expand All @@ -23,7 +23,7 @@
],
python_requires=">=3.9,<4",
install_requires=[
"composio_langchain>=0.5.50,<=0.6.0-rc.1",
"composio_langchain>=0.5.0,<=0.6.0",
"langgraph",
],
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/llamaindex/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_llamaindex",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your LlamaIndex agent.",
Expand All @@ -24,7 +24,7 @@
python_requires=">=3.9,<4",
install_requires=[
"llama_index>=0.10.43",
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
],
include_package_data=True,
)
4 changes: 2 additions & 2 deletions python/plugins/lyzr/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_lyzr",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Lyzr workflow.",
Expand All @@ -25,7 +25,7 @@
install_requires=[
"lyzr-automata>=0.1.3",
"pydantic>=2.6.4",
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
"langchain>=0.1.0",
],
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/openai/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_openai",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your OpenAI Function Call.",
Expand All @@ -22,6 +22,6 @@
"Operating System :: OS Independent",
],
python_requires=">=3.9,<4",
install_requires=["composio_core>=0.5.50,<=0.6.0-rc.1", "openai"],
install_requires=["composio_core>=0.5.0,<=0.6.0", "openai"],
include_package_data=True,
)
6 changes: 3 additions & 3 deletions python/plugins/phidata/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_phidata",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio to get an array of tools with your Phidata Plugin.",
Expand All @@ -23,8 +23,8 @@
],
python_requires=">=3.9,<4",
install_requires=[
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_openai>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
"composio_openai>=0.5.0,<=0.6.0",
"phidata",
],
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/praisonai/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="composio_praisonai",
version="0.6.0-rc.1",
version="0.6.0",
author="Sawradip",
author_email="sawradip@composio.dev",
description="Use Composio Tools to enhance your PraisonAI agents capabilities.",
Expand All @@ -22,6 +22,6 @@
"Operating System :: OS Independent",
],
python_requires=">=3.9",
install_requires=["composio_core>=0.5.50,<=0.6.0-rc.1", "PraisonAI>=0.0.2"],
install_requires=["composio_core>=0.5.0,<=0.6.0", "PraisonAI>=0.0.2"],
include_package_data=True,
)
11 changes: 9 additions & 2 deletions python/scripts/bump.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ def _bump_dockerfile(file: Path, bump_type: BumpType) -> None:
content = file.read_text(encoding="utf-8")
try:
(version_str,) = re.findall(
pattern=r"composio-core\[all\]==(\d+.\d+.\d+) ", string=content
pattern=r"composio-core\[all\]==(\d+\.\d+\.\d+.*?) ", string=content
)
except ValueError as error:
print(f"{error=}")
global failed
failed = True
return
version = VersionInfo.parse(version=version_str)
print(f"Current version {version}")
Expand All @@ -103,7 +105,9 @@ def _bump_dockerfile(file: Path, bump_type: BumpType) -> None:

def _bump_dockerfiles(bump_type: BumpType) -> None:
cwd = Path.cwd()
for setup in (cwd / "dockerfiles").glob("**/Dockerfile*"):
for setup in (cwd / "dockerfiles").glob("**/Dockerfile"):
if setup.suffix == ".ci":
continue
_bump_dockerfile(file=setup, bump_type=bump_type)


Expand All @@ -128,6 +132,9 @@ def bump(bump_type: BumpType) -> None:


if __name__ == "__main__":
failed = False
bump(
bump_type=BumpType(sys.argv[1].replace("--", "")),
)
if failed:
sys.exit(1)
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def scan_for_package_data(

setup(
name="composio_core",
version="0.6.0-rc.1",
version="0.6.0",
author="Utkarsh",
author_email="utkarsh@composio.dev",
description="Core package to act as a bridge between composio platform and other services.",
Expand Down
6 changes: 3 additions & 3 deletions python/swe/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def scan_for_package_data(

setup(
name="swekit",
version="0.3.1-rc.1",
version="0.3.1",
author="Shubhra",
author_email="shubhra@composio.dev",
description="Tools for running a SWE agent using Composio platform",
Expand Down Expand Up @@ -66,7 +66,7 @@ def scan_for_package_data(
"swebench==2.1.0",
"datasets>=2.20.0",
"gitpython>=3.1.43",
"composio_core>=0.5.50,<=0.6.0-rc.1",
"composio_core>=0.5.0,<=0.6.0",
"unidiff==0.7.5",
"tqdm==4.66.4",
"rich",
Expand All @@ -75,7 +75,7 @@ def scan_for_package_data(
"langgraph": [
"langchain-aws==0.1.17",
"langgraph>=0.2.16",
"composio_langgraph>=0.5.50,<=0.6.0-rc.1",
"composio_langgraph>=0.5.0,<=0.6.0",
"python-dotenv==1.0.1",
]
},
Expand Down

0 comments on commit f3bd53d

Please sign in to comment.