Skip to content

Stubtest failed on Fri Sep 16 2022 #8745

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

Closed
github-actions bot opened this issue Sep 16, 2022 · 2 comments · Fixed by #8758
Closed

Stubtest failed on Fri Sep 16 2022 #8745

github-actions bot opened this issue Sep 16, 2022 · 2 comments · Fixed by #8758
Labels
help wanted An actionable problem of low to medium complexity where a PR would be very welcome

Comments

@github-actions
Copy link
Contributor

Stubtest runs are listed here: https://github.com/python/typeshed/actions/workflows/daily.yml

@github-actions github-actions bot added the help wanted An actionable problem of low to medium complexity where a PR would be very welcome label Sep 16, 2022
@srittau
Copy link
Collaborator

srittau commented Sep 16, 2022

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)

@AlexWaygood
Copy link
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
Labels
help wanted An actionable problem of low to medium complexity where a PR would be very welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants