Skip to content

chore: widen click dependency to >=8.1.7,<9#6000

Closed
iris-clawd wants to merge 1 commit into
mainfrom
iris/bump-click-dependency
Closed

chore: widen click dependency to >=8.1.7,<9#6000
iris-clawd wants to merge 1 commit into
mainfrom
iris/bump-click-dependency

Conversation

@iris-clawd
Copy link
Copy Markdown
Contributor

@iris-clawd iris-clawd commented Jun 1, 2026

Summary

Relaxes the click pin 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.7 constraint blocks dependency resolution when they attempt to install CrewAI alongside their required click version.

Changes

Updated in 3 files:

  • lib/crewai/pyproject.toml
  • lib/cli/pyproject.toml
  • lib/devtools/pyproject.toml

click~=8.1.7click>=8.1.7,<9

Risk

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

  • Chores
    • Updated click dependency 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.

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
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 1, 2026

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: Pro Plus

Run ID: fa5c4136-193d-402a-a09a-9c3a141985f9

📥 Commits

Reviewing files that changed from the base of the PR and between 4dafb05 and 7ae25b2.

📒 Files selected for processing (3)
  • lib/cli/pyproject.toml
  • lib/crewai/pyproject.toml
  • lib/devtools/pyproject.toml

📝 Walkthrough

Walkthrough

This PR updates the click dependency constraint from a compatible-release specifier (~=8.1.7) to an explicit bounded range (>=8.1.7,<9) across three crewai workspace modules: lib/cli, lib/crewai, and lib/devtools. Each pyproject.toml file receives the same version constraint change.

Changes

Click dependency version constraint updates

Layer / File(s) Summary
Update click dependency constraints across workspace
lib/cli/pyproject.toml, lib/crewai/pyproject.toml, lib/devtools/pyproject.toml
The click dependency is updated from ~=8.1.7 to >=8.1.7,<9 across all three workspace modules for consistent version pinning.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

size/XS

Suggested reviewers

  • joaomdmoura

Poem

🐰 A click constraint, refined with care,
From tildes loose to bounds so fair,
Three files aligned in harmony—
Version pinning, clean and free! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically summarizes the main change: widening the click dependency constraint across the project.
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.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch iris/bump-click-dependency

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants