Skip to content

Not Compatible with Pydantic v2 #108

@azurespheredev

Description

@azurespheredev

I'm using merge-python-client (^1.1.4) in my FastAPI backend project and I use Pydantic ^2.6.1 together.
When I try to run my project after importing Merge:

from merge.client import Merge

I'm getting this warning:

.venv\Lib\site-packages\pydantic\_internal\_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'allow_population_by_field_name' has been renamed to 'populate_by_name'
* 'smart_union' has been removed
  warnings.warn(message, UserWarning)

I'm currently not able to downgrade Pydantic to v1 due to the compatibility with other dependencies. Resolving the issue on this dependency would be the perfect solution for me. Let me know if you were able to address this Minor Issue.

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