-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Better visibility to deprecations #3780
Comments
I agree the messaging could be better. Other ways we may be able to improve the visibility of warnings:
|
x-ref pypa/pyproject-hooks#157 |
What if setuptools were to output warnings and errors only by default, and output nothing if all is well? The current output is quite verbose. As far as I know In the case of setuptools, one can run Maybe what is needed is an agreement on some environment variable names so that one can run something like the following needed:
Apologies if I am stating the obvious or things that have been mentioned already. |
Hi @sinoroc , if you are using |
Ah, thanks @abravalheri To me this means that it would be "safe" for setuptools to hide all its output by default, keep only the warnings and errors. Maybe this could be a good first step to help the deprecation warnings pop out more. And whoever needs verbose output can run |
If I am remembering it correctly that is not exactly how those flags work 😅 (you can double check that with The default output has "medium" verbosity. If you add |
Right. My suggestion here is to change the default to be less verbose. If all goes well output nothing (or maybe just a confirmation that "[file name]" was created). |
Yeah, it's a tough problem. But deprecated or not, I generally assume that core tools work. Version numbers in particular have been historically very lenient, so this is a really fundamental change that caught me off guard.
Build logs are noise, unless there's a problem. So while it's possible that I've seen the
xxx is an invalid version and will not be supported in a future release
warning flying by in the logs, to me, it isn't a call to action. It's just one line among hundreds.Suffice to say, if something is going to break, I'd prefer a more detailed message, for example:
I'd also suggest putting the message at the end of the build log, not the beginning. Then it probably would be the first thing that I see after I run a build.
Originally posted by @sethrh in #3772 (comment)
The text was updated successfully, but these errors were encountered: