Skip to content

Pydantic version mismatch between cdp-sdk (2.10.4) and x402 (2.11.4 +) #121

@tharsosventures

Description

@tharsosventures

While attempting to import the x402 library into coinbase/agentkit for x402 protocol integration with python-based clients, I ran into an pydantic version mismatch between cdp-sdk (which is also a dependency of coinbase/agentkit) and coinbase/x402. Seems like poetry resolves the pydantic version to 2.10.4 while x402 requires pydantic version (2.11.4 +). Here are the errors upon pip install . when attempting to add x402 as a dependency for coinbase/agentkit.

coinbase-agentkit 0.6.0 depends on pydantic~=2.0
x402 0.1.1 depends on pydantic>=2.11.4
allora-sdk 0.2.3 depends on pydantic>=2.10.4
cdp-sdk 1.14.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.13.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.12.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.11.1 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.11.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.10.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.9.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.8.1 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.8.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.7.0 depends on pydantic<=2.10.4 and >=2.10.3
cdp-sdk 1.6.1 depends on pydantic<=2.10.4 and >=2.10.3

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