* Exclude `ruff` from the requirements list for Wasm env
* Exclude `uvicorn` from the requirements list for Wasm env and fix the related modules not to try to import it when not used
* add changeset
* Fix tests
* add changeset
* Apply formatter
* Remove a test case which became unnecessary in https://github.com/gradio-app/gradio/pull/5267, ref: https://github.com/gradio-app/gradio/pull/7744#issuecomment-2011332287
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>