Skip to content

Pydantic v2 support / pydantic<2 dependency restriction #714

@MithunEndee

Description

@MithunEndee

Hi maintainers,

I noticed that VectorDBBench currently restricts the dependency to:

pydantic < 2

Since many libraries and environments are moving toward Pydantic v2, this version pin can sometimes create dependency conflicts when setting up VectorDBBench in newer environments.

As a small example from our side — we recently contributed a PR that was merged (thanks for that!). During integration we noticed that Endee was already using the latest Pydantic version on the client side, so to keep everything working smoothly with VectorDBBench we temporarily downgraded Pydantic. It worked for now, but we thought it might be helpful to raise this as a broader compatibility discussion.

Would it be possible to consider:

  • Adding support for Pydantic v2, or
  • Relaxing the version constraint if it’s feasible?

Totally understand that v2 introduces breaking changes, and this is just a friendly suggestion to help long-term ecosystem compatibility.

Thanks again for maintaining this project!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions