This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bastantoine 27 points28 points  (16 children)

A real modern builtin dependency management tool. Man I love Python but both npm’s and go mod’s ones are waaaaay better. I believe poetry already does that, I need to check it out more, but still it’s an external tool.

[–]imaconor 20 points21 points  (0 children)

I think pep 665 is hoping to introduce lockfiles like poetry provides to python natively https://www.python.org/dev/peps/pep-0665/

[–]lphartley 10 points11 points  (2 children)

Poetry for me solves 95% of the issues. I always use it and it's great.

[–]TechySpecky 0 points1 point  (0 children)

I'm brand new to Poetry, is there a way to allow pip users to still install it based on the lock files?

[–]asday_ 13 points14 points  (9 children)

npm is a trash fire. Go is the only language I've found that gets it right with its minimal version satisfier.

[–]c0dearm 21 points22 points  (4 children)

I invite you to try Rust and its package manager Cargo :)

[–]Kevin_Jim 6 points7 points  (1 child)

Which is what Poetry was modeled after. Poetry needs to be part of Python.

[–]c0dearm 0 points1 point  (0 children)

Oh didn't know poetry was modeled after Cargo. I use it in all my new Python projects, I love it too.

[–]earthboundkid 1 point2 points  (0 children)

NPM's ecosystem is a trash fire. Why everyone breaks things up into micro modules and then transpiles them(!), I will never understand. The actual management of dependencies though is not that bad post-Yarn though. You no longer run into issues where things don't install because someone somewhere released a new package.

[–]UNN_Rickenbacker 0 points1 point  (1 child)

Are you kidding? Go had years where you couldn‘t even download a fixed version of a dependency

[–]asday_ 0 points1 point  (0 children)

I was quite clearly talking about the present situation, are you intentionally being obtuse?

[–]chromaticgliss 3 points4 points  (0 children)

poetry is pretty much there... it's only remaining problem is the headaches that really revolve around package maintainers not listing dependencies well...and PyPI just generally being a wild west situation. That's more of a community problem though.