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

Use pydantic_settings.BaseSettings #1595

Closed
wants to merge 1 commit into from

Conversation

harupy
Copy link

@harupy harupy commented Feb 29, 2024

Resolve #1594

@harupy harupy changed the title Use pydantic_settings.BaseSettings Use pydantic_settings.BaseSettings Feb 29, 2024
@sakoush
Copy link
Member

sakoush commented Feb 29, 2024

@harupy many thanks for your contribution, we are not able to migrate yet to pydantic v2 due to some restrictions on one of the underlying runtimes (alibi-detect). We are working though on fixing this issue at some point.

For now the shortterm fix is to downgrade your pydantic dependency to v1.

@harupy
Copy link
Author

harupy commented Feb 29, 2024

@sakoush Thanks for the clarification!

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

Successfully merging this pull request may close these issues.

pydantic.errors.PydanticImportError: BaseSettings has been moved to the pydantic-settings package
2 participants