Skip to content

[Bug][Gradio UI] documentation advertises Python 3.7+ but current dependencies require Python 3.10+ #1907

Description

@biancam5

Describe the bug

The Gradio Chat Interface documentation currently says that Python 3.7+ is supported:

Make sure you have Python 3.7+ installed.

However, the current swarms package requires Python >=3.10,<4.0, and ai-gradio, which is included in the documented installation command, also requires Python 3.10+.

This means users following the UI documentation with Python 3.7, 3.8, or 3.9 are being given setup instructions that are no longer compatible with the current dependencies.

To Reproduce

  1. Open the Swarms Gradio Chat Interface documentation:
    https://docs.swarms.world/en/latest/swarms/ui/main/

  2. The prerequisites currently state:

    Make sure you have Python 3.7+ installed.
    
  3. The installation instructions then recommend:

    pip install gradio ai-gradio swarms
  4. Check the current Swarms pyproject.toml:

    python = ">=3.10,<4.0"
  5. ai-gradio also currently requires Python 3.10+.

As a result, the Python requirement shown in the UI documentation is inconsistent with the packages the same guide asks users to install.

Expected behavior

The Gradio UI documentation should reflect the minimum Python version required by the current dependencies.

For example, the prerequisite could be updated from:

Python 3.7+

to:

Python 3.10+

This would prevent users on unsupported Python versions from following an installation path that cannot satisfy the current package requirements.

Additional context

This appears to be a documentation/version drift issue rather than a problem with the Gradio UI itself.

Keeping the documented runtime requirement aligned with pyproject.toml and ai-gradio would make the setup process clearer for new users.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions