Skip to content

Fix MCP dependency version conflict causing ImportError#119

Merged
vishnuchalla merged 1 commit into
redhat-performance:mainfrom
qu4rkn3t:fix-mcp-dependency-version
Jun 16, 2026
Merged

Fix MCP dependency version conflict causing ImportError#119
vishnuchalla merged 1 commit into
redhat-performance:mainfrom
qu4rkn3t:fix-mcp-dependency-version

Conversation

@qu4rkn3t

Copy link
Copy Markdown
Contributor

Clash between mcp and langchain-mcp-adapters was causing an ImportError when BugZooka was deployed on OpenShift. Fix: remove mcp requirement and let langchain decide which version to take. Works on test OpenShift cluster.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: bb895f4f-fe75-4e2a-aae2-41c52418dead

📥 Commits

Reviewing files that changed from the base of the PR and between 691110a and f5a06fb.

📒 Files selected for processing (1)
  • requirements.txt

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated langchain-mcp-adapters dependency to a newer version.
    • Removed explicit version constraint for mcp dependency.

Walkthrough

requirements.txt is updated to raise the langchain-mcp-adapters minimum version from >=0.2.2 to >=0.3.0, and the previously pinned mcp==1.12.4 dependency line is removed entirely.

Changes

Dependency version update

Layer / File(s) Summary
Update langchain-mcp-adapters and remove mcp pin
requirements.txt
langchain-mcp-adapters minimum bumped to >=0.3.0; explicit mcp==1.12.4 pin removed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: fixing a MCP dependency version conflict that caused an ImportError, which aligns with the changeset's focus on resolving dependency issues.
Description check ✅ Passed The description clearly explains the dependency conflict between mcp and langchain-mcp-adapters, the resolution approach (removing mcp requirement), and mentions testing on OpenShift, all directly related to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

@vishnuchalla vishnuchalla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm, thanks

@vishnuchalla vishnuchalla merged commit fd5506e into redhat-performance:main Jun 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants