Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

types-protobuf 3.14.19 broken #7519

Copy link
Copy link
@ziima

Description

@ziima
Issue body actions

Since the release of types-protobuf 3.14.19, the type checking based on this package produces a number of errors such as

Library stubs not installed for "google.protobuf.empty_pb2" (or incompatible with Python 3.9)

MVE

#/tmp/test_protobuf.py 
from google.protobuf.empty_pb2 import Empty

e = Empty()
python3 -m venv test-protobuf-venv
source test-protobuf-venv/bin/activate
pip install mypy types-protobuf
mypy /tmp/test_protobuf.py

The script fails with types-protobuf 3.14.19, but works with 3.14.18, regardless of python version (errors observed for 3.7 to 3.10).

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.