Type Issue in typings/misc.py - Not 3.8 compatible (reported from mafic support discord) #109
Open
2 tasks done
Labels
t: unconfirmed bug
Type: bug - needs testing on if this is an issue
Summary
Exception thrown when running mafic on python 3.8
Reproduction Steps
Import mafic while using Python 3.8
Minimal Reproducible Code
`import mafic`
Expected Results
No errors when running bot that includes Mafic
Actual Results
Lavalink Information
Not applicable
System Information
Reported in Tooty Town by multiple users. Users were using 3.8 and latest Mafic available on PyPi
Checklist
Additional Context
I'm not super familiar with types, but my Google-fu led me to the answer that
from collections.abc import Coroutine
is not compatible with Python 3.8.So, pyproject should be updated to show that 3.9 is the minimum Python version that is supported and users having this issue should update or the import statement for
Coroutine
should befrom typing import Coroutine
instead to maintain 3.8 compatibilityThe text was updated successfully, but these errors were encountered: