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

vdk-impala: upgrade code to support pydantic 2.0 #2362

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

antoniivanov
Copy link
Collaborator

A week ago pydantic released 2.0 version which is a breaking version .

https://docs.pydantic.dev/dev-v2/migration Fortunately pydantic has also released a tool bump-pydantic which automatically upgraded the code. That's very useful.

Also in tests use cli_assert(not res.exception, res) instead of assert to print more details about the job failure.

A week ago pydantic released 2.0 version which is a breaking version .

https://docs.pydantic.dev/dev-v2/migration Fortunately pydantic has also
released a tool bump-pydantic which automatically upgraded the code.
That's useful though some needed to be edit manually.

Also in tests use `cli_assert(not res.exception, res)` instead of assert
to print more details about the job failure.
@antoniivanov antoniivanov force-pushed the person/aivanov/vdk-impala branch from e153219 to e6a3b20 Compare July 5, 2023 14:05
@antoniivanov antoniivanov merged commit 6719853 into main Jul 5, 2023
@antoniivanov antoniivanov deleted the person/aivanov/vdk-impala branch July 5, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants