Skip to content

fix: Upgrade composio-langchain and add composio package (nightly fix)#9582

Merged
jordanrfrazier merged 1 commit into
mainfrom
cz/fix-composio-deps
Aug 28, 2025
Merged

fix: Upgrade composio-langchain and add composio package (nightly fix)#9582
jordanrfrazier merged 1 commit into
mainfrom
cz/fix-composio-deps

Conversation

@Cristhianzl
Copy link
Copy Markdown
Member

@Cristhianzl Cristhianzl commented Aug 28, 2025

This pull request updates the dependencies in pyproject.toml to ensure compatibility and access to new features. The most important change is the upgrade of composio-langchain and the addition of the main composio package.

Dependency updates:

  • Updated composio-langchain to version >=0.8.9,<1.0.0 to use the latest features and fixes.
  • Added the main composio package at version >=0.8.9,<1.0.0 to the dependencies list.

Summary by CodeRabbit

  • Chores
    • Updated dependencies to require composio>=0.8.9 and composio-langchain>=0.8.9.
    • Aligns integrations on a newer, compatible baseline for improved stability and compatibility.
    • Reduces risk of version mismatches by explicitly declaring both core and integration packages.
    • No functional changes expected for end-users; existing workflows should continue to work.
    • Recommend updating your environment/lockfiles to pull the latest compatible versions.

…just its dependencies to match the new version
@Cristhianzl Cristhianzl self-assigned this Aug 28, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Aug 28, 2025

Walkthrough

Dependency constraints in pyproject.toml were updated: the project now explicitly depends on composio (>=0.8.9,<1.0.0) and bumps composio-langchain to >=0.8.9,<1.0.0, replacing the previous single constraint on composio-langchain (>=0.8.5,<1.0.0).

Changes

Cohort / File(s) Summary
Dependency constraints
pyproject.toml
Replaced single dependency on composio-langchain (>=0.8.5,<1.0.0) with two constraints: composio (>=0.8.9,<1.0.0) and composio-langchain (>=0.8.9,<1.0.0)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

lgtm

Suggested reviewers

  • edwinjosechittilappilly
  • ogabrielluiz

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cz/fix-composio-deps

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions Bot added the bug Something isn't working label Aug 28, 2025
@sonarqubecloud
Copy link
Copy Markdown

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Aug 28, 2025
@Cristhianzl Cristhianzl changed the title fix: Upgrade composio-langchain and add composio package fix: Upgrade composio-langchain and add composio package (nightly fix) Aug 28, 2025
@github-actions github-actions Bot removed the bug Something isn't working label Aug 28, 2025
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
pyproject.toml (1)

69-71: Align or simplify composio-core to avoid redundant/conflicting pins.

Since composio brings core transitively, keeping a separate top-level pin can cause backtracking if versions diverge. If you don’t import composio_core directly, drop it; otherwise, at least align the floor with the latest core (0.7.20, released July 3, 2025). (pypi.org)

Option A — remove direct core pin (preferred if not used directly):

-    "composio-core>=0.7.2,<1.0.0",

Option B — align minimum:

-    "composio-core>=0.7.2,<1.0.0",
+    "composio-core>=0.7.20,<1.0.0",
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 61a323d and c863d7f.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • pyproject.toml (1 hunks)
🔇 Additional comments (2)
pyproject.toml (2)

69-70: Sanity-check LangChain compatibility (pyproject.toml lines 69–70)
After pinning langchain==0.3.23, manually install dependencies and run a simple smoke test:

from composio import Composio
from composio_langchain import LangchainProvider
from langchain.chat_models import init_chat_model

m = init_chat_model("gpt-4o")
c = Composio(provider=LangchainProvider())

Verify that both imports and runtime binding against LangChain succeed without API errors.


69-70: Dependencies verification failed: uv CLI not found. Please manually confirm that both composio 0.8.9 and composio-langchain 0.8.9 are correctly locked in your project’s lock file and import without errors.

@github-actions github-actions Bot added the bug Something isn't working label Aug 28, 2025
@github-actions github-actions Bot added the lgtm This PR has been approved by a maintainer label Aug 28, 2025
@jordanrfrazier jordanrfrazier merged commit fafdc36 into main Aug 28, 2025
11 checks passed
@jordanrfrazier jordanrfrazier deleted the cz/fix-composio-deps branch August 28, 2025 13:53
jordanrfrazier pushed a commit that referenced this pull request Aug 28, 2025
#9582)

⬆️ (pyproject.toml): upgrade composio package to version 0.8.9 and adjust its dependencies to match the new version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants