Hidden build warnings?
Hidden build warnings?
Posted May 22, 2025 0:40 UTC (Thu) by marcH (subscriber, #57642)Parent article: Recent disruptive changes from Setuptools
Dear Lazyweb, how can hiding build warnings ever be considered a good idea? Baffles me.
Posted May 22, 2025 6:44 UTC (Thu)
by Wol (subscriber, #4433)
[Link] (8 responses)
Do you really want no-clue-bies to be shown an endless stream of warnings? I get p***ed off with dealing with people who don't want to understand. Do I really want to have to deal with even more people who *can't* understand?
Don't get me wrong, hidden warnings I don't know how to find are a real pita. But no-clue-bies panicking over harmless warnings they don't understand are worse.
Cheers,
Posted May 22, 2025 9:17 UTC (Thu)
by ceplm (subscriber, #41334)
[Link] (1 responses)
Posted May 22, 2025 13:57 UTC (Thu)
by zahlman (guest, #175387)
[Link]
Posted May 22, 2025 19:50 UTC (Thu)
by marcH (subscriber, #57642)
[Link] (5 responses)
1. People _building_ things are not supposed to be "no-clue-bies", Unfortunately https://lwn.net/Articles/1022219/, but even then people running "pip install ..." are supposed to be somewhat computer-literate.
2. Countless times, I was the very first one to stop some old build warning in a project with a _very experienced_ team. Why? Because NO ONE looks at build logs unless the build fails. And even when it fails, people try to read as little as they can. Only what they need to fix the build and carry on. So, for the sake of the 0.0001% developers who do look at build warnings, do NOT hide build warnings - ever. Of course this does not means: "spam with the build logs with a ton of garbage". But a "warning" should by definition not be garbage.
Posted May 22, 2025 20:08 UTC (Thu)
by pizza (subscriber, #46)
[Link] (3 responses)
You're the one who keeps going on about how *users are not programmers*.
Someone cut-n-pasting instructions they found elsewhere isn't going to be expected to understand (much less fix) these warnings. They just want to use that software.
(At $dayjob-1, those users consisted mostly of PhDs playing around with bleeding-edge research tools. I'm the one who had to somehow shoehorn that "works for me on $desktop" mudball into something that could make it through a CI environment for deployment onto custom hardware that had some very strict python packaging requirements due to interaction with $$$ EDA tooling)
Posted May 22, 2025 23:20 UTC (Thu)
by marcH (subscriber, #57642)
[Link] (2 responses)
> You're the one who keeps going on about how *users are not programmers*.
I know it's getting more and more difficult to accept nowadays but it's generally impossible to classify people in only two binary categories. Someone using a command-line can be neither an iPhone user, nor a developer. There are plenty other literacy levels in the middle. You just gave a great example yourself.
> Someone cut-n-pasting instructions they found elsewhere isn't going to be expected to understand (much less fix) these warnings. They just want to use that software.
So what?
If they copy/paste instructions they don't understand, they ALSO ignore warnings they don't understand; fact! So, there is absolutely zero need to hide any of those warnings (as long as they don't fill up the terminal). It makes absolutely zero difference to careless people who don't know what they're doing, and it makes a huge difference for the 0.0001% people who cares.
I understand it can be counter-intuitive to care for the 0.0001%. But based on years of experience, it works great.
Also, when their house of pip cards finally blows up and they call you for help, YOU can see those warnings.
Posted May 22, 2025 23:37 UTC (Thu)
by pizza (subscriber, #46)
[Link] (1 responses)
That was most of my last job.
No thank you.
Posted May 23, 2025 8:16 UTC (Fri)
by taladar (subscriber, #68407)
[Link]
Posted May 27, 2025 10:29 UTC (Tue)
by LtWorf (subscriber, #124958)
[Link]
Posted May 22, 2025 13:54 UTC (Thu)
by zahlman (guest, #175387)
[Link] (1 responses)
You may also be interested in https://github.com/pypa/pip/issues/9140 .
Posted May 22, 2025 20:01 UTC (Thu)
by marcH (subscriber, #57642)
[Link]
Darn.
I think these build warnings should still be shown. In fact, pip should not even try to hide the difference between building something and not building anything; why would it do that? User interface always matters but "pip install" is not something "consumers" are expected to use, it's not an iPhone that should pretend that everything is fine when some glitch happens.
Also, it's incredibly hard to deprecate anything. A very reasonable amount of "spamming" end-users can only help.
Googling error messages and warnings is the most useful ever, everyone does it all the time. Don't prevent that.
Just stop hiding stuff already. Ignoring logs is easy, everyone does it ALL THE TIME. Digging out useful warnings buried in obscure log files with unknown names or behind obscure --debug-whatever option is the most time-consuming and horrific user experience ever.
> You may also be interested in https://github.com/pypa/pip/issues/9140 .
I'm not interested because I wrote "dear Lazyweb" :-D
OK, I read the description of 9140 and I think I agree with it. I upvoted it.
Hidden build warnings?
Wol
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Hidden build warnings?
Also, Python packaging looks like something where you can too easily lose... mental health points. A bit disappointed for a scripted language but what do I know (not much).