chore: widen click dependency to >=8.1.7,<9#6000
Conversation
Relaxes the click pin from ~=8.1.7 (which caps at <8.2.0) to >=8.1.7,<9. This allows enterprise customers with InfoSec requirements for click 8.3.x to install CrewAI without dependency resolution failures. Click 8.1→8.3 has no breaking changes for our CLI decorator usage. Affected files: - lib/crewai/pyproject.toml - lib/cli/pyproject.toml - lib/devtools/pyproject.toml
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR updates the ChangesClick dependency version constraint updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Summary
Relaxes the
clickpin from~=8.1.7(which caps at<8.2.0) to>=8.1.7,<9.Motivation
Enterprise customers (e.g. Genpact) have InfoSec requirements pinning
click==8.3.3. The current~=8.1.7constraint blocks dependency resolution when they attempt to install CrewAI alongside their required click version.Changes
Updated in 3 files:
lib/crewai/pyproject.tomllib/cli/pyproject.tomllib/devtools/pyproject.tomlclick~=8.1.7→click>=8.1.7,<9Risk
Low — Click 8.1.x → 8.3.x are minor version bumps with no breaking changes affecting our usage (CLI decorators, argument/option parsing).
Summary by CodeRabbit
clickdependency constraints across the project from compatible-release specification to explicit version bounds, ensuring compatibility with versions 8.1.7 and above while preventing upgrades to version 9.0 and later.