crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
19.2k stars 2.65k forks source link

regex package conflict (outdated) - can't use MarkerPDF #1004

Open matthias opened 1 month ago

matthias commented 1 month ago

You require:

^2023.12.25

But this doesn't match the latest versions which start with 2024

Easy fix would be to update the package - or to specify:

>=2023.12.25

I tried to use MarkerPDF in my project:

Because no versions of crewai match >0.41.1,<0.42.0
 and crewai[tools] (0.41.1) depends on regex (>=2023.12.25,<2024.0.0), crewai[tools] (>=0.41.1,<0.42.0) requires regex (>=2023.12.25,<2024.0.0).
And because marker-pdf (0.2.16) depends on regex (>=2024.4.28,<2025.0.0)
 and no versions of marker-pdf match >0.2.16,<0.3.0, crewai[tools] (>=0.41.1,<0.42.0) is incompatible with marker-pdf (>=0.2.16,<0.3.0).
So, because langflow-base depends on both marker-pdf (^0.2.16) and crewai[tools] (^0.41.1), version solving failed.
matthias commented 3 weeks ago

Hi. May I bring this issue to your attention again.

The problem is, that regex is using sem ver -> but is using a full year - so it won't match any 2024 version anymore (regardless if there were major changes)

It's a one line fix !!

olafgeibig commented 2 weeks ago

This is a real blocker for my project. Please merge soon.