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
In #716 a py.typed file was added to tell mypy that it should use the provided type annotations (or stub-files) in this package.
Problem with that: there are no type annotations and no stub-file.
In our application this leads to errors like this:
( only on 2.2.0, not in 2.1.0)
Environment details
Mac OS 12.2.1
Python version: 3.10.2
pip version: 21.2.4
google-cloud-storage version: 2.2.0
Steps to reproduce
install 2.2.0 in your application
use a class anywhere ( it broke for Client and Blob for me
use mypy --strict ( I believe the needed settings are disallow_untyped_defs or disallow_untyped_calls, but I'm not 100% certain. I can provide my config if that's needed).
Thank you for this report @syphar and others following along.
We are looking into this now, and we should have a quick fix new release that temporarily rolls back these mypy changes, while we investigate further.
In #716 a
py.typed
file was added to tell mypy that it should use the provided type annotations (or stub-files) in this package.Problem with that: there are no type annotations and no stub-file.
In our application this leads to errors like this:

( only on 2.2.0, not in 2.1.0)
Environment details
3.10.2
21.2.4
google-cloud-storage
version:2.2.0
Steps to reproduce
Client
andBlob
for memypy --strict
( I believe the needed settings aredisallow_untyped_defs
ordisallow_untyped_calls
, but I'm not 100% certain. I can provide my config if that's needed).Code example
possible solution
py.typed
marker again.The text was updated successfully, but these errors were encountered: