You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started off writing a comment, but it got too long so I created a separate issue instead: there's a ton of new enum features in 3.11 that mypy doesn't yet support.
#13125 takes care of testCheckVersion
testProperty seems trivial, just a difference in traceback formatting
testPickling is probably python/cpython#70766 and not too bad
testProtocol looks a little scary — seems like one we'd want to fix
#13206 should fix testProtocol and testPickling
beta5 has some new test failures (that are my fault from python/cpython#94948 ), these ones are very easy to fix
Okay, CPython has rolled back changes, see python/cpython#92678 and python/cpython#95589. We should still confirm that with RC or B6 or whatever, we'll just have testProperty failing.
Okay, with RC1 we have the following tests failing:
testPickling: probably related to https://github.com/python/cpython/issues/70766 (although not sure why #13206 "fixed" this)
testProperty: as mentioned above, just a difference in traceback formatting
testConfigFollowImportsSysPath: looks like something might have changed in mypy type logic and we now detect an overload situation in typeshed 3.11-only code
Hypothetically speaking, if I wanted to add support for dataclass_transform, would that be a possibility?
does it need some kind of approval to even begin? Is it being worked on already?
It is not being worked on as far as I am aware, and you don't need approval, feel free to get started on working on it if you are interested! We use a mypy plugin to analyze dataclasses so you'll probably want to start there https://github.com/python/mypy/blob/master/mypy/plugins/dataclasses.py
Activity
AlexWaygood commentedon May 22, 2022
I started off writing a comment, but it got too long so I created a separate issue instead: there's a ton of new
enumfeatures in 3.11 that mypy doesn't yet support.hauntsaninja commentedon Jul 15, 2022
Okay, we're down to four failing tests with Python 3.11:
#13125 takes care of testCheckVersion
testProperty seems trivial, just a difference in traceback formatting
testPickling is probably python/cpython#70766 and not too bad
testProtocol looks a little scary — seems like one we'd want to fix
hauntsaninja commentedon Jul 16, 2022
@97littleleaf11 any interest in taking a look at the testProtocol failure? :-)
hauntsaninja commentedon Jul 27, 2022
#13206 should fix testProtocol and testPickling
beta5 has some new test failures (that are my fault from python/cpython#94948 ), these ones are very easy to fix
hauntsaninja commentedon Aug 5, 2022
Okay, CPython has rolled back changes, see python/cpython#92678 and python/cpython#95589. We should still confirm that with RC or B6 or whatever, we'll just have
testPropertyfailing.NeilGirdhar commentedon Aug 8, 2022
If you want to link the PEP 673 issue, it's here: #11871
hauntsaninja commentedon Aug 10, 2022
Okay, with RC1 we have the following tests failing:
Add support for exception groups and except* (#14020)
Add support for exception groups and except* (#14020)
Add support for Self type (#14041)
yoni-lavi commentedon Nov 18, 2022
Hypothetically speaking, if I wanted to add support for dataclass_transform, would that be a possibility?
does it need some kind of approval to even begin? Is it being worked on already?
emmatyping commentedon Nov 18, 2022
It is not being worked on as far as I am aware, and you don't need approval, feel free to get started on working on it if you are interested! We use a mypy plugin to analyze dataclasses so you'll probably want to start there https://github.com/python/mypy/blob/master/mypy/plugins/dataclasses.py
Enable lxml tests on Python 3.11 (#14134)
Viicos commentedon Nov 30, 2022
Since Python 3.11,
Anyis considered to be a base class. As stated here, mypy doesn't seem to support this feature yet when usingNewType:The issue was closed as wontfix but maybe this can now be supported?
NeilGirdhar commentedon Dec 14, 2022
Added #14293 for PEP 681 so that we can track it 😄
randolf-scholz commentedon Feb 8, 2023
What about the changes to
Concatenateintroduced by python/cpython#30969? (#14656)wesleywright commentedon Mar 5, 2023
I believe we can consider dataclass_transform supported now
jorenham commentedon Mar 6, 2023
For completeness' sake, here's the PEP 646 issue:
#12280
ilevkivskyi commentedon Oct 30, 2023
I don't think we need to keep this open. Almost everything is now implemented, and for couple remaining things we have dedicated issues.