Fix several tests on Python 3.11#13259
Merged
JelleZijlstra merged 1 commit intopython:masterfrom Jul 28, 2022
Merged
Conversation
As a result of python/cpython#94948 we started to fail these tests on Python 3.11b5
Contributor
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
JelleZijlstra
approved these changes
Jul 28, 2022
Contributor
|
Similar errors were found in a rebuild of MyPy 0.961 with Python 3.10.6 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017312 Also with MyPy 0.971 according to my local testing; this PR fixed the tests for me with MyPy 0.971 + Debian's Python 3.10.6 and I'll be cherry-picking it into the mypy package for Debian |
Collaborator
Author
|
Yeah, the CPython PR got backported to 3.10. Thanks for fixing! |
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Sep 28, 2022
https://build.opensuse.org/request/show/1006563 by user dgarcia + RBrownFactory - Remove mypy-pr13259-walrus.patch because it's not needed anymore, it's in the release now -- gh#python/mypy#13259 - Update to 0.981 - Drop support for Python3.6 and python2 - Generate Error on Unbound TypeVar Return Type - Methods with Empty Bodies in Protocols Are Abstract - Implicit Optional Types Will Be Disabled by Default - Precise Types for **kwds Using TypedDict - Experimental Support for General Recursive Types - Generic NamedTuples and TypedDicts - Better Support for Callable Attributes - Per-Module Error Code Configuration - Experimental Support for Interactive Inspection of Expressions - Mypyc Improvements * Support async for as a statement and in comprehensions (Michael J. Sullivan, PR 13444) * Support async with (Michael J. Sullivan, PR 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As a result of python/cpython#94948
we started to fail these tests on Python 3.11b5
Linking #12840