Skip to content

Pydantic 2.x.x Compatibility and newer PyDID Dependency #114

@hpretila

Description

@hpretila

What

As a user, I want to be able to use Pydantic version ^2.0.0 and newer Python versions, but the library uses an out-of-date dependency to pydid that isn't compatible with newer versions of Pydantic.

Why

As a developer importing this library, this restriction makes this library incompatible with newer projects that leverage Pydantic version 2.

Success Criteria

As a user I'm able to use this library in a project with Pydantic 2.x.x.

Anything else

Further investigation has highlighted an out-of-date dependency to pydid at the latest with version 0.3.10. Newer versions of pydid has included newer Pydantic v2 versions; see Indicio-tech/pydid#123.

I have taken the liberty to create a PR that should address these dependencies in #113. It required changes to the testing to reflect the updated Pydantic v2 models used by pydid, but all cases appear to now work.

type: issue, chore(deps)
related to: #113

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