-
Notifications
You must be signed in to change notification settings - Fork 261
fix: support wider range of verbosity settings on other build backends #2339
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
Conversation
Signed-off-by: Henry Schreiner <[email protected]>
Should we be trying to get something consistent between frontends ? i.e. 0 maps to |
If we want to keep this option, I like this idea. Previously I was in favour of a light-touch approach to adding arguments to so that would be
I think it would be nice to warn on unsupported settings i.e. (not supported, above) or outside The other approach, of course, is to avoid this mess, deprecate the |
That is very similar to what I had, but with one difference: 0 is "native", which doesn't add any flags, keeping to the native behavior of the tool, and allows a user to use the
I prefer the default not adding flags (especially since we have a mechanism for users to add flags themselves). I expect most users won't change the default (which now produces build output because it uses Since this is such an important feature, I like having the flag for it (probably not enough to have added it if we didn't already have it, but certainly happy to keep it). I have a |
Co-authored-by: Matthieu Darbois <[email protected]>
Just fyi: |
Yeah, seeing it in a table, I agree with you @henryiii. It's better to have a default that matches the build-frontend's default.
Also a good point. |
Okay, new version. Added the table, and modified it a tiny bit after observing |
Signed-off-by: Henry Schreiner <[email protected]>
cd633eb
to
e2a3160
Compare
Also, |
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.
Looks good to me!
See #2338.
This makes the verbosity setting a bit more useful on other backends. This tries to map the current
pip
meanings to other backends. The key changes are:<0
will supportuv
(feat: option to build directly with uv #2322),build
continues to produce a warning. This is a feature that's been requested before for build, btw.1
continues to do nothing on non-pip
backends-v
to non-pip backends, since both build and uv support adding extra resolving info (similar to pip's-vv
) if passing-v
.