-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Use stubtest 0.920 #6589
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
Use stubtest 0.920 #6589
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stubtest 0.920 should also be reenabled in .github/workflows/stubtest.yml
.
Well, this change is already in master. :)
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.