Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update custom component installation requirements #8308

Merged
merged 1 commit into from
May 17, 2024

Conversation

shimizust
Copy link
Contributor

Description

  • Added pip 21.3+ requirement to be able to build from pyproject.toml otherwise get errors of this type:
 πŸ‘· Installing python... (/my/path/.venv/bin/pip3 install -e testcomponent[dev])                                                                           β”‚
β”‚ πŸŸ₯ Python installation failed                                                                                                                                                                                  β”‚
β”‚ ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /my/path/gradio-components/testcomponent              β”‚
β”‚ (A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.) 

Added pip 21.3+ requirement to be able to build from pyproject.toml
@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented May 16, 2024

πŸͺΌ branch checks and previews

β€’ Name Status URL
Website failed! Details

@abidlabs
Copy link
Member

Thank you @shimizust for adding this clarification

@abidlabs abidlabs merged commit ff56e7b into gradio-app:main May 17, 2024
5 checks passed
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.

None yet

3 participants