-
Notifications
You must be signed in to change notification settings - Fork 149
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
[Bug]: pydantic isn't working with main, neither v2 nor v1 #932
Labels
bug
Something isn't working
Comments
I managed to resolve this with:
However, autolabel main now gives me this error :(
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
pyproject.yml
, specificallyjson5
)."pydantic == 1.10.9"
in thepyproject.yml
doesn't supportmodel_validator
(used inautolabel/cache/__init__.py
)."pydantic>=2.8.2"
gives a different error: "A non-annotated attribute was detected".To Reproduce
A list of steps to reproduce the behavior:
1.10.9:
gives:
and pydantic 2.9:
gives:
Expected behavior
pyproject.yml
should have a version of pydantic known to work.The text was updated successfully, but these errors were encountered: