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
/tmp/tmpaetiuszv/bin/pip install protobuf[]==3.20.* mypy==0.971
MYPYPATH=/home/runner/work/typeshed/typeshed/stubs/protobuf /tmp/tmpaetiuszv/bin/python -m mypy.stubtest --custom-typeshed-dir /home/runner/work/typeshed/typeshed --ignore-missing-stub google --allowlist /home/runner/work/typeshed/typeshed/stubs/protobuf/@tests/stubtest_allowlist.txt
error: google.protobuf.descriptor.Descriptor.__new__ is inconsistent, stub does not have argument "name"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 289 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, filename=None, containing_type=None, fields=None, nested_types=None, enum_types=None, extensions=None, options=None, serialized_options=None, is_extendable=True, extension_ranges=None, oneofs=None, file=None, serialized_start=None, serialized_end=None, syntax=None, create_key=None)
error: google.protobuf.descriptor.Descriptor.__new__ is inconsistent, stub does not have argument "full_name"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 289 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, filename=None, containing_type=None, fields=None, nested_types=None, enum_types=None, extensions=None, options=None, serialized_options=None, is_extendable=True, extension_ranges=None, oneofs=None, file=None, serialized_start=None, serialized_end=None, syntax=None, create_key=None)
error: google.protobuf.descriptor.Descriptor.__new__ is inconsistent, stub does not have argument "filename"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line [28](https://github.com/python/typeshed/actions/runs/3064561002/jobs/4947769013#step:6:29)9 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, filename=None, containing_type=None, fields=None, nested_types=None, enum_types=None, extensions=None, options=None, serialized_options=None, is_extendable=True, extension_ranges=None, oneofs=None, file=None, serialized_start=None, serialized_end=None, syntax=None, create_key=None)
error: google.protobuf.descriptor.Descriptor.__new__ is inconsistent, stub does not have argument "containing_type"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 289 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, filename=None, containing_type=None, fields=None, nested_types=None, enum_types=None, extensions=None, options=None, serialized_options=None, is_extendable=True, extension_ranges=None, oneofs=None, file=None, serialized_start=None, serialized_end=None, syntax=None, create_key=None)
error: google.protobuf.descriptor.Descriptor.__new__ is inconsistent, stub does not have argument "fields"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 289 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, filename=None, containing_type=None, fields=None, nested_types=None, enum_types=None, extensions=None, options=None, serialized_options=None, is_extendable=True, extension_ranges=None, oneofs=None, file=None, serialized_start=None, serialized_end=None, syntax=None, create_key=None)
error: google.protobuf.descriptor.Descriptor.__new__ is inconsistent, stub does not have argument "nested_types"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 289 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 835 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, index=None, methods=None, options=None, serialized_options=None, file=None, serialized_start=None, serialized_end=None, create_key=None)
error: google.protobuf.descriptor.ServiceDescriptor.__new__ is inconsistent, stub does not have argument "serialized_options"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 835 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, index=None, methods=None, options=None, serialized_options=None, file=None, serialized_start=None, serialized_end=None, create_key=None)
error: google.protobuf.descriptor.ServiceDescriptor.__new__ is inconsistent, stub does not have argument "file"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 835 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, index=None, methods=None, options=None, serialized_options=None, file=None, serialized_start=None, serialized_end=None, create_key=None)
error: google.protobuf.descriptor.ServiceDescriptor.__new__ is inconsistent, stub does not have argument "serialized_start"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 835 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, index=None, methods=None, options=None, serialized_options=None, file=None, serialized_start=None, serialized_end=None, create_key=None)
error: google.protobuf.descriptor.ServiceDescriptor.__new__ is inconsistent, stub does not have argument "serialized_end"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 835 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, index=None, methods=None, options=None, serialized_options=None, file=None, serialized_start=None, serialized_end=None, create_key=None)
error: google.protobuf.descriptor.ServiceDescriptor.__new__ is inconsistent, stub does not have argument "create_key"
Stub: at line 91
def [Self] (cls: Type[Self`-1]) -> Self`-1
Runtime: at line 835 in file /tmp/tmpaetiuszv/lib/python3.9/site-packages/google/protobuf/descriptor.py
def (cls, name=None, full_name=None, index=None, methods=None, options=None, serialized_options=None, file=None, serialized_start=None, serialized_end=None, create_key=None)
error: google.protobuf.reflection.GeneratedProtocolMessageType.__init__ is inconsistent, stub argument "cls" differs from runtime argument "self"
Stub: at line 3
def (cls: google.protobuf.reflection.GeneratedProtocolMessageType, name: Any, bases: Any, dictionary: Any)
Runtime:
def (self, /, *args, **kwargs)
error: google.protobuf.reflection.GeneratedProtocolMessageType.__init__ is inconsistent, stub argument "cls" should be positional-only (rename with a leading double underscore, i.e. "__self")
Stub: at line 3
def (cls: google.protobuf.reflection.GeneratedProtocolMessageType, name: Any, bases: Any, dictionary: Any)
Runtime:
def (self, /, *args, **kwargs)
Found [30](https://github.com/python/typeshed/actions/runs/3064561002/jobs/4947769013#step:6:31) errors (checked [48](https://github.com/python/typeshed/actions/runs/3064561002/jobs/4947769013#step:6:49) modules)
Activity
srittau commentedon Sep 16, 2022
Protobuf:
AlexWaygood commentedon Sep 16, 2022
Really feels like we've been constantly firefighting this week