Skip to content

Conversation

@ialisaleh
Copy link
Collaborator

@ialisaleh ialisaleh commented Oct 24, 2025

This PR fixes the CI failures in CrewAI by handling MyPy differences between CrewAI 0.119.0 and 1.0.0. This ensures MyPy checks pass consistently across both CI jobs, the supported version & the latest version check, without removing or altering version-specific ignores.

Closes #2357


Note

Adds unused-ignore to type: ignore annotations in CrewAI instrumentor tests for imports, decorators, and classes.

  • Tests:
    • Update python/instrumentation/openinference-instrumentation-crewai/tests/test_instrumentor.py:
      • Append unused-ignore to type: ignore for crewai.flow.flow imports (Flow, listen, start) and crewai.tools.BaseTool.
      • Append unused-ignore to type: ignore on MockScrapeWebsiteTool and SimpleFlow class definitions and their @start()/@listen() decorators.

Written by Cursor Bugbot for commit 7088196. This will update automatically on new commits. Configure here.

@ialisaleh ialisaleh self-assigned this Oct 24, 2025
@ialisaleh ialisaleh requested a review from a team as a code owner October 24, 2025 18:30
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 24, 2025
@nate-mar nate-mar moved this to In Progress in Instrumentation Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

[bug] CI Failures For CrewAI

1 participant