Conversation
|
unittest._log seems to be unconditionally imported, so mypy's complaint on the lower Python versions looks correct. Surprised pyright doesn't complain, maybe pyright doesn't listen to submodules in VERSIONS Looks like we've picked up some stubtest changes as well (several from the decision to follow type aliases). I'm going to mostly allowlist these. |
|
|
Wait, shouldn't you have done that on this PR, rather than the other PR? The other PR doesn't have mypy updated yet |
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
|
@AlexWaygood Oooops, yes, I should! I confused myself because I wasn't sure whether to separate out actual stub changes into their own PRs. Fixing.... |
d4480bc to
c372241
Compare
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This comment has been minimized.
This comment has been minimized.
|
Maybe it's easier to temporarily use stubtest 0.910 and do the upgrade separately. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
Helps unblock python#6589 (new error uncovered by upgrading stubtest)
New error picked up by updated stubtest; helps unblock python#6589
|
The only thing left in |
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
|
https://github.com/python/typeshed/actions/runs/1589196055 for a guide on what fails at the moment. BTW: If you push your branch directly into the python/typeshed repo, we can run the "stubtest" workflow against it manually now. |
|
Okay, I think this should be good. Here's a GA run showing that stubtest for third party stubs also succeeds: https://github.com/python/typeshed/runs/4542782687?check_suite_focus=true |
No description provided.