Skip to content

Getting PydanticDeprecatedSince212 warning on import #2648

@nameexhaustion

Description

@nameexhaustion

Apache Iceberg version

None

Please describe the bug 🐞

Example -

from pyiceberg.io.pyarrow import schema_to_pyarrow
# pydantic.warnings.PydanticDeprecatedSince212: Using `@model_validator` with mode='after' on a classmethod is deprecated. Instead, use an instance method. See the documentation at https://docs.pydantic.dev/2.12/concepts/validators/#model-after-validator. Deprecated in Pydantic V2.12 to be removed in V3.0.

Installed package versions -

pydantic                      2.12.3
pydantic_core                 2.41.4
pyiceberg                     0.10.0
pyiceberg-core                0.7.0

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

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