Bump crewai to >=1.14.4 for parity + security backports (ar-r82f.11)#94
Merged
Conversation
Absorbs four upstream CVE backports landing in crewai 1.11-1.14: - Path traversal in tool sandbox file resolution - SSRF in URL-fetching tools - SSTI in litellm template handling - transformers CVE (pinned transitively) Aligns the buyer-agent crewai pin with the seller-agent bump landing in parallel (ar-r82f.12) so both repos run the same crewai major/minor. Crewai 1.14 made Flow a Pydantic model and removed the legacy `state` setter that DealBookingFlow.__init__ relied on. Initial state now ships through Flow's `initial_state=` field as a typed BookingState instance, preserving the existing `DealBookingFlow(client, campaign_brief=...)` call sites in the CLI and API. The pre-existing TestCrewAI110FlowStateRegression suite covers this contract. Pre-bump greps (clean): CodeInterpreterTool, CrewAgentExecutor, EXASearchTool (no usages in src/ or tests/). Full local suite: 3225 passed, 58 skipped, 0 failed. bead: ar-r82f.11 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
894ab67 to
b3cdd49
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump the crewai pin from
==1.10.1to>=1.14.4,<2.0.0to absorb four upstream CVE backports and align with the seller-agent bump landing in parallel (sibling beadar-r82f.12).CVE backports absorbed
litellmtemplate handlingtransformersCVE (pinned transitively)Crewai 1.14 fallout
Crewai 1.14 turned
Flowinto a Pydantic model and removed the legacystatesetter.DealBookingFlow.__init__previously didsuper().__init__(**state_kwargs), which 1.14 silently drops because those kwargs aren'tFlowfields. The fix wraps state kwargs in a typedBookingState(**kwargs)and passes it throughFlow's newinitial_state=field — preserving the existingDealBookingFlow(client, campaign_brief=...)call sites in the API and CLI. The pre-existingTestCrewAI110FlowStateRegressionsuite covers this contract.Pre-bump greps (clean)
Local test results
uv lock: resolved 185 packages, crewai resolves to1.14.6uv sync --extra dev: okuv run pytest tests/ -q: 3225 passed, 58 skipped, 0 failed in 225sTestCrewAI110FlowStateRegressionregression tests now exercise the bumped Flow), 2 fewer skips (entry collection deltas), 0 new failures.main— unchanged by this PR.Test plan
fix/bump-crewai-buyer🤖 Generated with Claude Code