8000 Fix mypy plugin for 1.4.0 by cdce8p · Pull Request #5927 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@cdce8p
Copy link
Contributor
@cdce8p cdce8p commented May 30, 2023

Change Summary

The next mypy release (1.4.0) will add a new required argument default for TypeVarType and TypeVarExpr (in preparation for PEP 696 support).

I'll open a custom cherry-pick PR next as this won't backport cleanly.

python/mypy#14872

Related issue number

--

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @hramezani

@cdce8p
Copy link
Contributor Author
cdce8p commented May 30, 2023

please review

@cdce8p
Copy link
Contributor Author
cdce8p commented May 30, 2023

/CC: @dmontagu

@@ -0,0 +1 @@
Fix mypy plugin for v1.4.0
Copy link
Member

Choose a reason for hiding this comment

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

This file is not needed for the main branch for now

@hramezani
Copy link
Member

Thanks @cdce8p. I left a comment. other than that LGTM

please update

@pydantic-hooky pydantic-hooky bot added awaiting author revision awaiting changes from the PR author and removed ready for review labels May 30, 2023
@pydantic-hooky pydantic-hooky bot assigned cdce8p and unassigned hramezani May 30, 2023
@cdce8p
Copy link
Contributor Author
cdce8p commented May 30, 2023

This file is not needed for the main branch for now

Done. Removed it.

please review

@pydantic-hooky pydantic-hooky bot added ready for review and removed awaiting author revision awaiting changes from the PR author labels May 30, 2023
@pydantic-hooky pydantic-hooky bot assigned hramezani and unassigned cdce8p May 30, 2023
@hramezani
Copy link
Member

Thanks @cdce8p

Let's wait for @dmontagu

@dmontagu dmontagu merged commit 60122ef into pydantic:main May 30, 2023
@cdce8p cdce8p deleted the fix-mypy branch May 30, 2023 13:34
CheckmkCI pushed a commit to Checkmk/checkmk that referenced this pull request Jun 22, 2023
Note that we need a pydantic version bump because of
pydantic/pydantic#5927.

Change-Id: I0537ca796d5d0b33e3cc4c6b7a5b27745da37ab7
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.

3 participants

0