Skip to content

Chore!: deprecate pydantic v1#3548

Merged
georgesittas merged 1 commit intomainfrom
jo/deprecate_pydantic_v1
Dec 20, 2024
Merged

Chore!: deprecate pydantic v1#3548
georgesittas merged 1 commit intomainfrom
jo/deprecate_pydantic_v1

Conversation

@georgesittas
Copy link
Contributor

Planning to refactor v1 artifacts in a followup PR.

@georgesittas georgesittas requested a review from a team December 20, 2024 17:35
@georgesittas georgesittas force-pushed the jo/deprecate_pydantic_v1 branch from 346a7cb to 82779d4 Compare December 20, 2024 17:35
@georgesittas georgesittas force-pushed the jo/deprecate_pydantic_v1 branch from 82779d4 to 9fb1d52 Compare December 20, 2024 17:39
@georgesittas georgesittas requested a review from a team December 20, 2024 17:42
@georgesittas georgesittas force-pushed the jo/deprecate_pydantic_v1 branch from 9fb1d52 to 97ab07e Compare December 20, 2024 18:10
@eakmanrq
Copy link
Collaborator

FYI there are some comments saying we can deprecate code as a result of Pydantic 1 support being dropped. Here is one example: https://github.com/TobikoData/sqlmesh/blob/756eb705d0b4f33e8d2df9a2681f4678f312b9a6/sqlmesh/core/snapshot/definition.py#L428

I get though if you would prefer to not make a code change like this in the PR.

@georgesittas
Copy link
Contributor Author

FYI there are some comments saying we can deprecate code as a result of Pydantic 1 support being dropped. Here is one example:

https://github.com/TobikoData/sqlmesh/blob/756eb705d0b4f33e8d2df9a2681f4678f312b9a6/sqlmesh/core/snapshot/definition.py#L428

I get though if you would prefer to not make a code change like this in the PR.

Yep, I'm planning to clean all those sections up. There are several refactors that can happen after this deprecation.

@georgesittas georgesittas force-pushed the jo/deprecate_pydantic_v1 branch from 97ab07e to 32724cd Compare December 20, 2024 18:56
Copy link
Contributor

@izeigerman izeigerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@georgesittas georgesittas merged commit f0d2e0f into main Dec 20, 2024
@georgesittas georgesittas deleted the jo/deprecate_pydantic_v1 branch December 20, 2024 19:26
@seanpwlms seanpwlms mentioned this pull request Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants