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

refactor: Rename Pydantic v1 methods to their v2 counterparts #17123

Open
wants to merge 8 commits into
base: chore_update-pydantic-v2
Choose a base branch
from

Conversation

SyntaxColoring
Copy link
Contributor

@SyntaxColoring SyntaxColoring commented Dec 17, 2024

Overview

Closes EXEC-1063.

This is based atop PR #14871. It should merge into edge shortly after that PR.

Test Plan and Hands on Testing

Just CI.

Changelog

  • Do a bunch of global find+replaces to rename Pydantic methods according to their migration guide.

  • In every project that runs on a robot, try to configure pytest to fail a test if it detects that it raised a Pydantic deprecation warning.

    This appears to only work for some warnings, but it works for the warnings that I care about and understand, so I didn't look into it further.

Review requests

None in particular.

Risk assessment

Low.

@SyntaxColoring SyntaxColoring requested a review from a team December 17, 2024 00:34
@SyntaxColoring SyntaxColoring added the DO NOT MERGE Indicates a PR should not be merged, even if there's a shiny green merge button available label Dec 17, 2024
@SyntaxColoring SyntaxColoring marked this pull request as ready for review December 17, 2024 15:44
@SyntaxColoring SyntaxColoring requested a review from a team as a code owner December 17, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE Indicates a PR should not be merged, even if there's a shiny green merge button available
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant