Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-10829

Add gradio-client into the RHAI pipeline onboarding collection

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Add package 'gradio-client' into the RHAI pipeline onboarding collection.

      The package requires builder repository onboarding before it can be added to the RHAI pipeline. This ticket is blocked by the builder onboarding ticket.

      Summary

      Here is the executive summary formatted as a JIRA comment in JIRA wiki markup:

      Executive Summary: gradio-client Build Analysis

      gradio-client (v2.1.0) is a pure Python library with Simple build complexity (1/10) and no compilation requirements. It uses the Hatchling build backend with full PEP 517/518 compliance, producing a universal py3-none-any wheel that serves all hardware indexes (CPU, CUDA, ROCm) without modification. The package is licensed under Apache-2.0, which is fully compliant with Red Hat redistribution policies. All five direct runtime dependencies (fsspec, httpx, huggingface-hub, packaging, typing-extensions) are permissively licensed. There are no critical blockers for onboarding, and the build completes in under 2 seconds producing a ~56KB wheel.

      The source lives within the gradio-app/gradio monorepo on GitHub under client/python/, but the PyPI sdist is self-contained and does not require the full monorepo to build. The build process is straightforward:

      pip install hatchling hatch-requirements-txt "hatch-fancy-pypi-readme>=22.5.0"
      python -m build --wheel --no-isolation
      

      No special environment variables, system libraries, or compilers are needed. For enterprise deployment, setting GRADIO_ANALYTICS_ENABLED=False and HF_HUB_DISABLE_TELEMETRY=1 is recommended to disable external telemetry.

      The only notable consideration is a transitive dependency: huggingface-hub (>=0.19.3) pulls in hf-xet, a Rust-based native extension. This does not affect the gradio-client build itself, as pre-built manylinux wheels for hf-xet are available for x86_64. However, if building hf-xet from source is ever required, a Rust toolchain would be needed. Additionally, version coupling is strictgradio 6.6.0 pins gradio-client==2.1.0 exactly, so the client version must match the targeted gradio version.

      Key recommendations: Build from source using the PyPI sdist (recommended over monorepo checkout). No fallback strategy or container approach is needed due to the trivial build complexity. No open GitHub issues affect the build or installation of this package. No blockers exist for the 2026-03-15 target delivery date.

              Unassigned Unassigned
              aipcc-jira-bot@redhat.com AIPCC JIRABOT
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: