mistralai / mistral-common

Apache License 2.0
633 stars 57 forks source link

Pydantic version conflict #15

Open yashodhara99 opened 4 months ago

yashodhara99 commented 4 months ago

We are experiencing a version solving failure in our project due to a conflict between the pydantic and mistral-common packages.

Our project, depends on both pydantic version 2.6.4 and mistral-common version ^1.2.1. However, mistral-common version 1.2.1 specifically requires pydantic version 2.6.1. This requirement is causing a version solving conflict as outlined below:

Because no versions of mistral-common match >1.2.1,<2.0.0
 and mistral-common (1.2.1) depends on pydantic (2.6.1), mistral-common (>=1.2.1,<2.0.0) requires pydantic (2.6.1).
So, because <project_name> depends on both pydantic (==2.6.4) and mistral-common (^1.2.1), version solving failed.

Please provide guidance or updates to the mistral-common package that would allow compatibility with newer versions of pydantic.