-
Notifications
You must be signed in to change notification settings - Fork 1
Upgrade to pydantic v2 #85
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
Conversation
|
Worthy of note: |
|
Could we move the |
|
@maximusunc I've removed |
|
Without the stable hash, this looks good. As discussed, the plan is to rebase so we can resolve conflicts and merge this in. |
Python req bumped to >=3.9 parse_obj is replaced with model_validate
|
Rebased to main, passes all tests on my local |
|
Looks like there are a few errors with imports in the tests. If we can get those fixed and run black, this should be good! |
|
Looks like typing.Self requires python >= 3.11. |
This PR upgrades dependencies to bring reasoner-pydantic to pydantic v2. Changes:
parse_obj()is replaced bymodel_validate()Model.dict()is replaced bymodel_dump()model_construct()(not recommended)docs/NORMALIZE.md)LogLevel.INFO)PYTHONHASHSEED