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

Closed
oyvindeide opened this issue Nov 21, 2024 · 1 comment · Fixed by #9514 · May be fixed by equinor/fmu-dataio#939
Closed

Unpin pydantic version #9292

oyvindeide opened this issue Nov 21, 2024 · 1 comment · Fixed by #9514 · May be fixed by equinor/fmu-dataio#939

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

@frode-aarstad
Copy link
Contributor

Duplicate of #9514 ?

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