GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: Upgrade the pydantic from v1 to V2 by shuchu · Pull Request #3942 · feast-dev/feast Conversation
|
|
Seems a lot to do at a time, can we leave some of them for another PR such as great expectations? Let's target pydantic only first |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The upgradation of "fastapi" and "great-expectation" are required by Pydantic v2. There was a discussion over here: #3778 Also the "mypy", if I don't upgrade it, I can not past the lint check. It is a little bit struggling as you can see. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
by the way, I can downgrade the fastAPI and great-expectation versions by using the "from pydantic.v1 import" migration strategy. If you think this is better. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I just found some issues of fastAPI. let me try to change the version back (for fastAPI and greate-expectation). The unit test didn't show me any errors. Only the vscode gives me some hints of errors. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Great, we can get rid of GX later cause it needs some extra work for the API changes. Regarding fastapi we should expect to be resolved in this issue #3938 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Exciting PR 🚀 !
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| pyarrow==15.0.0 | ||
| # via feast (setup.py) | ||
| pydantic==1.10.13 | ||
| pydantic==2.6.1 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific reason for requiring 2.6.1? Otherwise, would you consider using something like 2.0.0 to allow for better compatibility for downstream users of this package?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I didn't specify a version in the setup.py, so it loads the latest one :p. let me find a "safe" version around 2.0.0. @sudohainguyen Harry, what's your opinion?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
the txt files are just for CI workflows 😄
installation from end users should be fine since we set the boundaries in setup.py
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Apologies, the excitement got the better of me. Thanks for the clear up 💪
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@shuchu Can't we upgrade mypy first without touching anything else? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tokoko 😆 just had a thought about it too, worth a try I believe |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Okay, let me try. Do you have a specific mypy version requirement? I'm using ~=1.1.1 in this PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No, just suggesting a way to split the PR up into smaller PRs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Seems a great relief to me :) Thank you for letting me know, Harry! @sudohainguyen |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
mypy upgrade is done, would you mind pushing this one? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sure, let me merge and adjust the great-expectation version. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Shuchu Han <[email protected]>
Signed-off-by: Shuchu Han <[email protected]>
Signed-off-by: Shuchu Han <[email protected]>
Signed-off-by: Shuchu Han <[email protected]>
Signed-off-by: Shuchu Han <[email protected]>
Signed-off-by: Shuchu Han <[email protected]>
|
it's ready for reviews. :) @sudohainguyen |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
looks conflicts were resolved incorrectly, think we should re-do on a new PR 😢 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I see the problems. let me redo it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@sudohainguyen check the new PR. :) #3948 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Pydantic 2.0 support
There was an error while loading. Please reload this page.