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

target python 3.10 as the mypy language version #10994

Merged
merged 1 commit into from
Nov 6, 2022

Conversation

eli-schwartz
Copy link
Member

mypy has a bug when running on/for 3.11 which results in incorrect analysis of the codebase, specifically due to enum.Enum's self.name

See:

python/typeshed#7564
python/mypy#12483

@xclaesse
Copy link
Member

xclaesse commented Nov 4, 2022

I'm not sure this is a better fix than #10991, because it affects the analysis of the whole code base instead of the one line that cause a problem.

@xclaesse
Copy link
Member

xclaesse commented Nov 4, 2022

OTOH, I couldn't care less as long as CI pass... Merge the PR you want :)

mypy has a bug when running on/for 3.11 which results in incorrect
analysis of the codebase, specifically due to enum.Enum's self.name

See:

python/typeshed#7564
python/mypy#12483
@eli-schwartz eli-schwartz merged commit 0b7d935 into mesonbuild:master Nov 6, 2022
@eli-schwartz eli-schwartz deleted the mypy-language-version branch November 6, 2022 17:32
@nirbheek nirbheek added this to the 0.64.1 milestone Nov 21, 2022
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.

None yet

3 participants