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
(In case Nipunn doesn't see this soon, just removing third_party/2and3/google/protobuf/util/json_format_proto3_pb2.pyi entirely seems to be enough to get things green in a pinch)
Activity
hauntsaninja commentedon Dec 13, 2020
Did some investigating, it looks like the trigger for this was syncing typeshed: python/mypy#9794
The error looks legitimate, the file was removed in https://github.com/python/typeshed/pull/4785/files#diff-328c07f017a31da756c9b78484dbeab4ec7757a29092a2ba2c9afe2d4bc63a50 but continues to be imported. I assume mypy managed to continue to find the file in its bundled typeshed, which is a little weird (maybe mypy_test should pass in
--custom-typeshed-dir).I'm not sure how to fix, since the file is autogenerated, so cc @nipunn1313
hauntsaninja commentedon Dec 13, 2020
(In case Nipunn doesn't see this soon, just removing
third_party/2and3/google/protobuf/util/json_format_proto3_pb2.pyientirely seems to be enough to get things green in a pinch)mypy_test: fix for stub deletions
mypy_test: fix for stub deletions (#4816)
Remove a missing import
Remove a missing import (#4821)
srittau commentedon Dec 14, 2020
I have replaced the missing import with
Anyfor now. This should work, but of course still needs a proper fix.[-]Tests seem to be failing[/-][+]Fix autogenerated protobuf stub's nonexistent import[/+]nipunn1313 commentedon Dec 23, 2020
Fixed! My mistake.
Thanks for the report @gvanrossum - and thanks for the quick fix @srittau - bought me time to look into a proper fix.