Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error due to Pydantic v2.0 #33

Open
hyumo opened this issue Jun 30, 2023 · 2 comments
Open

Import error due to Pydantic v2.0 #33

hyumo opened this issue Jun 30, 2023 · 2 comments

Comments

@hyumo
Copy link

hyumo commented Jun 30, 2023

Currently setup.py requires pydantic => 1.9, Pydantic 2.0 just released today and it is causing some import errors.

Technical details:

  • Host Machine OS (Windows/Linux/Mac): Windows
@hyumo
Copy link
Author

hyumo commented Jul 1, 2023

I think this is also causing the demo homepage to fail: https://lukasmasuch-streamlit-pydantic-playgroundplayground-app-711bhu.streamlit.app/

@mattwilliamson
Copy link

PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.9/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.9/u/import-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants