-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add missing error logging in WheelBuilder #7484
Add missing error logging in WheelBuilder #7484
Conversation
Use the same error message as in WheelBuilder.build(), include the exception in the message.
Since _build_one ensure the output dir is present and does proper error logging, we can remove ensure_dir from build(), further simplifying that method.
The previous implementation had one important feature: it would fail before the wheel build (which can take some time). Maybe |
That's a good thing IMO and we should add a test for this. |
Note this particular directory is going to be inside the cache directory. When trying So it looks like checking that the main conditions for this particular |
Hm, despite saying the cache is disabled, it attempts to use it nevertheless:
|
Because the ownership/writeability check is done for the http cache and not the wheel cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comment, otherwise this LGTM.
Co-Authored-By: Christopher Hunt <[email protected]>
Thanks! |
Further simplify
WheelBuilder.build()
, and add a missing error report.