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
I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
Gradio 5 does not work on older versions of Python
context : #9463 (comment)
Describe the solution you'd like
to support versions that are using 3.9
from __future__ importannotations
at the top of each file that uses any typing features.
Although some resources that I checked are conflicting if either this fixes support for only 3.9 or (3.9 backwards till 3.7), I am certain that it would fix any problems with 3.9 in all cases.
There is more to supporting 3.9 in gradio than just this, there are other places where supporting older versions added complexity or gave a worse experience.
Dropping support for older versions of Python was intentional in this release as it frees us up robust modern syntax in the future. Updating to 3.10 isn't an unreasonable ask in 2024.
Is your feature request related to a problem? Please describe.
Gradio 5 does not work on older versions of Python
context : #9463 (comment)
Describe the solution you'd like
to support versions that are using 3.9
at the top of each file that uses any typing features.
Although some resources that I checked are conflicting if either this fixes support for only 3.9 or (3.9 backwards till 3.7), I am certain that it would fix any problems with 3.9 in all cases.
Additional context
sources :
The text was updated successfully, but these errors were encountered: