Skip to content

Stubtest failed on Fri Sep 16 2022 #8745

Closed

Description

@github-actions

Activity

  1. added
    help wantedAn actionable problem of low to medium complexity where a PR would be very welcome
    on Sep 16, 2022
  2. srittau commented on Sep 16, 2022

    @srittau
    Collaborator

    Protobuf:

    /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)
    
  3. AlexWaygood commented on Sep 16, 2022

    @AlexWaygood
    Member

    Really feels like we've been constantly firefighting this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedAn actionable problem of low to medium complexity where a PR would be very welcome

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions