Replit.py Uses Outdated typing-extensions

Problem description:
Replit.py depends on typing-extensions 3.10.0.2, instead of the current version (at the time of writing typing-extensions 4.5.0).

Expected behavior:
Replit should work with typing-extensions 4.5.0, especially since the replit package is installed by default.

Actual behavior:
It depends on a specific version of typing extensions, which can create incompatibilities with libraries that need newer version of typing-extensions (i.e. Gradio).

Steps to reproduce:

  • Make a new Python Repl
  • Attempt to install gradio (shouldn’t work)
  • Uninstall the replit package
  • Attempt to install gradio again (should work this time)