News for hackers. Stuff that matters.
Re:How to improve Python packaging, or why 14 tools are at l... by qbasic_forever on Sunday January 15, 2023 @02:11PM (#34392128)
No I'm looking at link 1 and specifically have an issue with the huge table of options for how to setup your pyproject.toml--it has tabs for hatchling, flit, pdm, etc. but _zero_ description of why I would want to use one of those tools. It's just more confusing, like you're being thrown a bag of parts and no description of what to build or how to do it.

To be honest that entire pypa doc should be like two paragraphs long instead of 1000+ words. It should be basically, "ok to package your python app just run <official python tool to init a package>, that's it you're done!". Every decision should be made for me, like it is with npm, cargo, etc. I shouldn't have to think beyond running one command.

That's what python end users need. We don't need a million tools and huge docs with seemingly no vision or goal. We need to get shit done and the less time we faff about with packaging and tooling the better.

Re:How to improve Python packaging, or why 14 tools are at l... by KyeRussell on Sunday January 15, 2023 @06:42PM (#34394911)
Yep. There being no documentation to really empower someone to work out what to use, to me very directly says “there’s some political spat going on that I’m being exposed to here”.
Re:How to improve Python packaging, or why 14 tools are at l... by theacodes on Sunday January 15, 2023 @10:51PM (#34396582)
that "political spat" was actually targeted harassment towards a former PyPA member the last time someone actively working on packaging.python.org tried to be remotely opinionated. Since this ended with them stepping away and no one else has volunteered, it remains unopinionated.
Re:How to improve Python packaging, or why 14 tools are at l... by qbasic_forever on Monday January 16, 2023 @12:41AM (#34397223)
Sounds like the steering council or whatever that runs python nowadays needs to step up. If people are being targeted for trying to improve packaging then the steering council should make a decision and direct all commentary, etc. to them, not individuals documenting best practices.

The whole 'let the community figure it out' seems to have failed and is causing nothing but more confusion and now attacks on people. They need to step up and say, "this is how python packaging will work, period. End of story, end of debate.". That was the one good thing a BDFL model for leadership could achieve, making a hard decision.

Re:How to improve Python packaging, or why 14 tools are at l... by woodruffw on Sunday January 15, 2023 @10:52PM (#34396592)
Edit: My sibling comment has another answer, which makes me believe I'm lacking context. So I've removed this comment, in the interest of not offering opinions outside of what I know.