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

Make the v1 mypy plugin work with both v1 and v2 #6921

Merged
merged 1 commit into from Jul 28, 2023
Merged

Conversation

dmontagu
Copy link
Contributor

@dmontagu dmontagu commented Jul 27, 2023

Closes #6898

See #6920 for the corresponding PR to the 1.10.X-fixes branch.

Selected Reviewer: @samuelcolvin

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 32ea931
Status: ✅  Deploy successful!
Preview URL: https://5b12bf45.pydantic-docs2.pages.dev
Branch Preview URL: https://v1-mypy-plugin-v2.pydantic-docs2.pages.dev

View logs

@dmontagu dmontagu changed the title Make the plugin work with both v1 and v2 Make the v1 mypy plugin work with both v1 and v2 Jul 27, 2023
@dmontagu
Copy link
Contributor Author

please review

@hramezani
Copy link
Member

Do we need this PR for main? Can't we just fix it on 1.10.X-fixes and release V1 before the next release of V2 and like before just include the latest V1 in V2?

@dmontagu
Copy link
Contributor Author

I just figured this would make it faster/easier to deploy, and ensure it got into the next release even if we didn't do a release of v1. I'm okay either way, the main thing is that, in principle, this change should only affect v1-included-into-v2, so it seems less important to me that we get a release of v1 out at the same time. That's in contrast with actual bugfixes to v1.

@dmontagu dmontagu merged commit 2a4a7e5 into main Jul 28, 2023
49 checks passed
@dmontagu dmontagu deleted the v1-mypy-plugin-v2 branch July 28, 2023 15:33
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.

mypy plugin working incorrectly for exported v1 module
3 participants