Closed austinnichols101 closed 4 years ago
We get the same error under Python 3.8.0.
Changing the line to:
from typing import Protocol
fixes the issue under Python 3.8.0.
typing_extensions was introduced in this commit: https://github.com/ask/mode/commit/3d15d1efcedaf0ea20a185ceae5b97e35ac4bac9#diff-05f65f01868242771df4df44cae4d67eR47
We use faust and our build just broke due to this undeclared dependency.
Oops! Somehow I thought this was the same as mypy_extensions. Fixed now, will publish a new version 4.1.7
thanks for the speedy resolution!
Versions 4.1.4 through 4.1.6 are missing an import statement for
typing_extensions
. The problem was introduced with commit 3d15d1efcedaf0ea20a185ceae5b97e35ac4bac9.Here is an example of a Faust 1.8.1 application running under python 3.7.3 with mode 4.1.6 demonstrating the error: