Conversation
fixes the `TypeError: 'type' object is not subscriptable` error when running `__main__.py`
|
Hi @Aymane11 and thanks for noticing this! I've had made quite a lot of changes in the source since the last (0.7.1) release, so I merged everything back to |
|
@fohrloop Done, can you check please |
|
I will have this as part of the next release! As support for generic type type annotations with built-in collection types was added in Python 3.9, it essentially means that wakepy <= 0.7.1 supports only Python 3.9+, and not Python 3.7+. I'm also writing myself a note about adding tests for the CLI / Thank you @Aymane11 ! |
|
Cherry picked this and released wakepy 0.7.2 with the fix |
fixes `__main__.py` for Python < 3.9 Error with Python < 3.9: `TypeError: 'type' object is not subscriptable` Caused by using type annotation `dict` instead of `typing.Dict`.
fixes the
TypeError: 'type' object is not subscriptableerror when running__main__.py