-
Notifications
You must be signed in to change notification settings - Fork 1.3k
typing upgrade to 3.13.2 #5590
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
typing upgrade to 3.13.2 #5590
Conversation
The failing tests are unexpected success. Removing expectedFailure will fix them |
aec2557
to
b920ff8
Compare
Rebasing has lead to an import error/compiler panic. |
That's because
Any chance to break one of them? |
hmmm. Blocking on #5622, so I can rewrite that in rust. |
Oh wait I can just break that import statement :D |
Blocked on #5628 so I can atleast partially fix codegen. |
One minor issue ... the pip install needs to be fixed. I can't really replicate on my machine because I'm on windows. |
0f5af35
to
1b3ac3f
Compare
f30ec34
to
1b3ac3f
Compare
|
While creating a class
The class is this one: https://github.com/pypa/pip/blob/24f4600851bbb3d7f22aed0ba6b1e2dcc4973412/src/pip/_vendor/rich/progress.py#L287-L305 |
Reproducible code import typing
from typing import ContextManager, Generic, TextIO, BinaryIO
_I = typing.TypeVar("_I", TextIO, BinaryIO)
class _ReadContext(ContextManager[_I], Generic[_I]):
pass |
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Great, that's fixed. |
812d987
to
7ac2650
Compare
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
7ac2650
to
53d3960
Compare
Finally, it all works. |
@youknowone do you mind reviewing please? |
Even though there are regressions, merging this have benefits to fix pip |
Fixes: #5584 #5252
Closes: #4946