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

Relax pydantic <2.10.0 constraint once issues solved #717

Open
Pijukatel opened this issue Nov 21, 2024 · 1 comment
Open

Relax pydantic <2.10.0 constraint once issues solved #717

Pijukatel opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@Pijukatel
Copy link
Contributor

Pijukatel commented Nov 21, 2024

With pydantic 2.10.0 we currently get errors like:

pydantic.errors.PydanticUserError: `Configuration` is not fully defined; you should define `Any`, then call `Configuration.model_rebuild()

It was working in pydantic version 2.9.2

Relax <2.10.0 contraint in pyproject.toml once issues are solved in Pydantic

Reproduce for example by running following unit test:
https://github.com/apify/crawlee-python/blob/master/tests/unit/test_configuration.py#L7

@Pijukatel Pijukatel added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 21, 2024
@Pijukatel
Copy link
Contributor Author

Could be fixed by similar already reported issue: pydantic/pydantic#10919.

@Pijukatel Pijukatel self-assigned this Nov 22, 2024
@Pijukatel Pijukatel added the adhoc Ad-hoc unplanned task added during the sprint. label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

No branches or pull requests

1 participant