Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve editable_wheel debugging tips. #3822

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

Merged
merged 7 commits into from
Feb 13, 2023

Conversation

abravalheri
Copy link
Contributor

pip no longer fallback to setup.py develop which makes setting SETUPTOOLS_ENABLE_FEATURES="legacy-editable" useless.

Moreover it is been a while that the PEP 660 implementation landed, so the main problems are already known.

I think it is time to allow the build errors to propagate (instead of having a "catch all" approach), but instead provide up-to-date debugging advice.

Summary of changes

  • Don't catch all the errors inside editable_wheel. Instead provide advice on how to debug it.
  • Test code path with the advice.

Closes

Pull Request Checklist

@abravalheri abravalheri marked this pull request as ready for review February 13, 2023 19:28
@abravalheri abravalheri merged commit bc5f3c3 into pypa:main Feb 13, 2023
@abravalheri abravalheri deleted the improve-editable-error branch February 13, 2023 20:57
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.

1 participant