Skip to content

MLflow startup warning: PydanticDeprecatedSince20 still emitted from mlflow.gateway.config #42

@DCook-WGU

Description

@DCook-WGU

Description

A single PydanticDeprecatedSince20 warning is still emitted at MLflow startup
(mlflow.gateway.config:454), even though warnings are globally filtered in
sitecustomize.py.

Repro

mlflow run . -P steps=download,basic_cleaning,data_check

markdown
Copy code
Observed once on startup.

Context

  • MLflow version: 3.4.0
  • Python: 3.13
  • Pydantic: 2.12.x
  • Environment: Conda / Docker / VS Code Dev Container

Notes

  • Filters in sitecustomize.py and common/utils.py already handle
    UnsupportedFieldAttributeWarning and PydanticDeprecatedSince20.
  • Only the gateway module still emits once before filters load.
  • Possibly fixed in later MLflow versions once Pydantic v2 migration completes.

Action

  • Revisit after upgrading MLflow to ≥ 3.5
  • Remove suppression once no longer needed

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