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