Re:Java at 30: The Genius Behind the Code That Changed Tech
by kevin_thibedeau on Friday May 16, 2025 @04:11PM
(#44009378)
It's not you. Python packaging has regressed into a worse mess than it was 20 years ago. I limit myself to simple scripts that only rely on builtins. Anything more complicated goes to a more dependable language.
[ Parent
| on HN ]
Re:Java at 30: The Genius Behind the Code That Changed Tech
by icedchai on Friday May 16, 2025 @06:44PM
(#44010444)
I rarely run into issues when using Poetry. If you use pip, add packages to requirements.txt willy-nilly and don't pin versions then you are asking for trouble.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by myko on Friday May 16, 2025 @09:45PM
(#44011417)
i like poetry though i've moved to uv - both work really well
Re:Java at 30: The Genius Behind the Code That Changed Tech
by icedchai on Friday May 16, 2025 @10:58PM
(#44011708)
I've heard great things about uv. I plan to try it for my next project.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by bornfreddy on Saturday May 17, 2025 @12:18AM
(#44012013)
I use pipenv and it kind-of-works. Will try uv or poetry though - which one would you recommend?
Re:Java at 30: The Genius Behind the Code That Changed Tech
by dwood_dev on Saturday May 17, 2025 @01:50AM
(#44012310)
UV. Using it as the exec target for python (UV script) is great. Dependencies declared at the top, now I have executable files in something better than bash.
I no longer shy away from writing <500 LOC utility/glue scripts in python thanks to uv.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by myko on Saturday May 17, 2025 @11:00PM
(#44018681)
I can't recommend uv enough. It's so fast, and uvx is so useful to run a random Python CLI tool. If you want to do things like you're accustomed to with pip you just `uv pip ...`
Re:Java at 30: The Genius Behind the Code That Changed Tech
by LtWorf on Saturday May 17, 2025 @01:37AM
(#44012264)
Poetry doesn't fix the fact that python removes modules from the standard library every release.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by icedchai on Saturday May 17, 2025 @06:32PM
(#44017523)
I've never run into that.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by LtWorf on Sunday May 18, 2025 @11:20AM
(#44022027)
Doesn't mean the problem doesn't exist.
Re:Java at 30: The Genius Behind the Code That Changed Tech
by fuzztester on Friday May 16, 2025 @09:45PM
(#44011416)
what languages do you use for the latter?
Re:Java at 30: The Genius Behind the Code That Changed Tech
by fuzztester on Friday May 16, 2025 @09:50PM
(#44011445)
I don't know about the difference between 20 years ago versus now, but it's certainly doesn't seem to be clear now.
e.g. poetry, venv and pyenv have been mentioned in just the next few comments below yours. and this is just one example. i have seen other such seeming confusion and different statements by different people about what package management approach to use for python.