You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Cannot import mkdocstrings-python>=1.14.0 if Pydantic v1 is installed #240
Our project uses Pydantic v1 and our docs stopped building after mkdocstrings-python 1.14.0 was released. It seems that importing mkdocstrings_handlers.python doesn't work if Pydantic v1 is installed.
Hi @jvstme, thanks for the fast report, and sorry for the inconvenience. I remember thinking this could cause issues, but had to forget about it 😵💫 Let me push a fix that checks Pydantic's version to deactivate the logic if it's v1.
Activity
pawamoy commentedon Feb 3, 2025
Hi @jvstme, thanks for the fast report, and sorry for the inconvenience. I remember thinking this could cause issues, but had to forget about it 😵💫 Let me push a fix that checks Pydantic's version to deactivate the logic if it's v1.
fix: Deactivate Pydantic logic if v1 is installed instead of v2
pawamoy commentedon Feb 3, 2025
Should be fixed in v1.14.2, let me know 🤞
jvstme commentedon Feb 3, 2025
@pawamoy, yes, 1.14.2 works for us. Thanks for the prompt resolution!
fix: Deactivate Pydantic logic if v1 is installed instead of v2