Skip to content

Dependency conflict between the cashfree-pg package and the pydantic package  #49

@mys10gan

Description

@mys10gan

cashfree-pg version 4.0.3 requires pydantic version >=1.10.5,<2. My project requires pydantic version ^2.5.2, which is incompatible with the version required by cashfree-pg.

Because no versions of cashfree-pg match >4.0.3,<5.0.0
 and cashfree-pg (4.0.3) depends on pydantic (>=1.10.5,<2), cashfree-pg (>=4.0.3,<5.0.0) requires pydantic (>=1.10.5,<2).
So, because qube-dashboard depends on both pydantic (^2.5.2) and cashfree-pg (^4.0.3), version solving failed.

I can't downgrade my pydantic version as other features heavily rely on this.
So what if I use Dependency Overrides but it might lead to runtime errors if cashfree_pg is not compatible with the newer version of pydantic?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions