Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support older versions of python in gradio 5 #9634

Closed
1 task done
not-lain opened this issue Oct 9, 2024 · 1 comment
Closed
1 task done

Support older versions of python in gradio 5 #9634

not-lain opened this issue Oct 9, 2024 · 1 comment

Comments

@not-lain
Copy link

not-lain commented Oct 9, 2024

  • 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__ import annotations

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 :

@pngwn
Copy link
Member

pngwn commented Oct 10, 2024

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.

@pngwn pngwn closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants