Skip to content

fix: support GUI extras on Python 3.8 and 3.9#834

Open
stablegenius49 wants to merge 2 commits intoQwenLM:mainfrom
stablegenius49:pr-factory/issue-777-gradio-client-py38
Open

fix: support GUI extras on Python 3.8 and 3.9#834
stablegenius49 wants to merge 2 commits intoQwenLM:mainfrom
stablegenius49:pr-factory/issue-777-gradio-client-py38

Conversation

@stablegenius49
Copy link
Copy Markdown

Summary

  • use Python-version markers for the GUI dependency pins so Python 3.8/3.9 installs the latest compatible Gradio 4 line
  • keep the existing Gradio 5 / gradio-client 1.8 pins for Python 3.10+
  • pin huggingface-hub<1.0 on the Python <3.10 GUI path because Gradio 4.44.1 still imports HfFolder

Verification

  • python -m pip install -e '.[gui]' in a fresh Python 3.9 virtualenv
  • python -m pip check
  • python - <<'PY' imports for gradio, gradio_client, and modelscope_studio

Closes #777.

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

Successfully merging this pull request may close these issues.

Incompatible dependency in GUI extras: gradio-client==1.8.0 on Python 3.8

1 participant