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

fix: removed crewai plugin compatibility upper limit #976

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Devanshusisodiya
Copy link
Contributor

@Devanshusisodiya Devanshusisodiya commented Dec 10, 2024

Important

Removed upper version limit for crewai in setup.py to allow versions >=0.51.0.

  • Dependencies:
    • Removed upper version limit for crewai in install_requires in setup.py. Now allows versions >=0.51.0.

This description was created by Ellipsis for 839397d. It will automatically update as commits are pushed.

Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
composio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 11:49am

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 839397d in 8 seconds

More details
  • Looked at 13 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. python/plugins/crew_ai/setup.py:27
  • Draft comment:
    Consider specifying an upper limit for the 'crewai' dependency to prevent potential compatibility issues with future versions.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_uFh3go1WKoP6Hk8O


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

This comment was generated by github-actions[bot]!

JS SDK Coverage Report

📊 Coverage report for JS SDK can be found at the following URL:
https://pub-92e668239ab84bfd80ee07d61e9d2f40.r2.dev/coverage-12255487942/coverage/index.html

📁 Test report folder can be found at the following URL:
https://pub-92e668239ab84bfd80ee07d61e9d2f40.r2.dev/html-report-12255487942/html-report/report.html

@@ -24,7 +24,7 @@
python_requires=">=3.9,<4",
install_requires=[
"composio_langchain>=0.5.50,<=0.5.52-rc.2",
"crewai>=0.51.0,<=0.75.0",
"crewai>=0.51.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

While removing the upper version limit provides more flexibility, it's recommended to add a comment here documenting:

  1. The minimum version requirement rationale
  2. That compatibility with newer versions has been tested
  3. The latest tested version number

This will help future maintainers understand the version constraints and testing status.

@shreysingla11
Copy link
Collaborator

Code Review Summary

Changes Overview

  • Removed upper version limit for crewai dependency while maintaining minimum version requirement
  • Change affects setup.py in crew_ai plugin

Technical Assessment

  • ✅ Change is well-aligned with existing version management strategy
  • ✅ Codebase has proper version checking mechanisms in toolset.py
  • ✅ Breaking changes are handled through explicit version checks

Recommendations

  • Add documentation comments for version requirements
  • Consider documenting the latest tested version

Risk Assessment: Low

The change is safe due to:

  1. Existing version check against breaking changes
  2. Dual implementation support for different crewai versions
  3. Well-structured version handling in the codebase

Overall, the changes are acceptable with minor documentation improvements suggested.

@angrybayblade angrybayblade merged commit a2812ae into master Dec 10, 2024
11 checks passed
@angrybayblade angrybayblade deleted the update_crewai_plugin branch December 10, 2024 12:22
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.

3 participants