Skip to content

Build failure on type check #225

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
wcs1only opened this issue Jun 14, 2021 · 0 comments · Fixed by #226
Closed

Build failure on type check #225

wcs1only opened this issue Jun 14, 2021 · 0 comments · Fixed by #226
Labels
kind/bug Something isn't working

Comments

@wcs1only
Copy link
Contributor

Expected Behavior

Build should pass

Actual Behavior

dapr/clients/grpc/_response.py:10: error: Library stubs not installed for "google.protobuf.any_pb2" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/_response.py:11: error: Library stubs not installed for "google.protobuf.message" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/_request.py:11: error: Library stubs not installed for "google.protobuf.any_pb2" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/_request.py:12: error: Library stubs not installed for "google.protobuf.message" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/_helpers.py:11: error: Library stubs not installed for "google.protobuf.any_pb2" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/_helpers.py:12: error: Library stubs not installed for "google.protobuf.message" (or incompatible with Python 3.7)  [import]
dapr/serializers/json.py:14: error: Library stubs not installed for "dateutil" (or incompatible with Python 3.7)  [import]
dapr/serializers/json.py:14: note: Hint: "python3 -m pip install types-python-dateutil"
ext/dapr-ext-grpc/dapr/ext/grpc/_servicier.py:12: error: Library stubs not installed for "google.protobuf" (or incompatible with Python 3.7)  [import]
ext/dapr-ext-grpc/dapr/ext/grpc/_servicier.py:13: error: Library stubs not installed for "google.protobuf.message" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/client.py:23: error: Library stubs not installed for "google.protobuf.message" (or incompatible with Python 3.7)  [import]
dapr/clients/grpc/client.py:24: error: Library stubs not installed for "google.protobuf.empty_pb2" (or incompatible with Python 3.7)  [import]
dapr/clients/__init__.py:16: error: Library stubs not installed for "google.protobuf.message" (or incompatible with Python 3.7)  [import]
dapr/clients/__init__.py:16: note: Hint: "python3 -m pip install types-protobuf"
dapr/clients/__init__.py:16: note: (or run "mypy --install-types" to install all missing stub packages)
dapr/clients/__init__.py:16: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

I don't know why we never hit this before, but fix should be pretty straightforward.

Steps to Reproduce the Problem

Release Note

RELEASE NOTE:

@wcs1only wcs1only added the kind/bug Something isn't working label Jun 14, 2021
@wcs1only wcs1only mentioned this issue Jun 14, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant