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

Unpin pydantic version #9292

Open
oyvindeide opened this issue Nov 21, 2024 · 0 comments
Open

Unpin pydantic version #9292

oyvindeide opened this issue Nov 21, 2024 · 0 comments

Comments

@oyvindeide
Copy link
Collaborator

We had to pin pydantic after 2.10 was release due to the following error:

E       pydantic.errors.PydanticUserError: `ErtConfig` is not fully defined; you should define `List`, then call `pydantic.dataclasses.rebuild_dataclass(ErtConfig)`.
E       
E       For further information visit https://errors.pydantic.dev/2.10/u/class-not-fully-defined

/Users/OYVEID/projects/ert/ert/src/ert/config/ert_config.py:525: PydanticUserError

to reproduce upgrade pydantic and run for example:
tests/ert/unit_tests/config/test_ert_config.py

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

No branches or pull requests

1 participant