-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Issue
When running main.py with Python <= 3.8 (I'm using 3.8.6), you will receive the following error:
Traceback (most recent call last):
File "main.py", line 107, in <module>
def get_version() -> tuple[str, datetime]:
TypeError: 'type' object is not subscriptable
I have confirmed that updating Python to 3.9 fixes the issue
Suggestions
- Update requirements section on README.md to >= 3.9 (Which includes the tuple without importing)
- Import the tuple in the old-fashioned way.
I will open PRs for each.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels