|
|
|
Ask HN: Venv, virtualwrapper, pipenv, poetry, pdm, oh my
|
|
19 points
by p33p
1437 days ago
|
|
Dependency and package management has seen a lot growth and attention in the Python community even in the last couple years. Everyone has their opinions on what to use, but for enterprise code bases, what is the recommended approach? Ideally responses would include size of user base, number of package dependencies, any issues arisen, etc. Thanks y’all. Needless to say, the most recent pipenv post on the front page has led to more confusion than I’d like to admit. |
|
You should use what is best for you and the only way to find it is to try all of them.
If you find this a mess, it is because it is.
Python dependency management is a mess and it seems it will not get better any time soon, unfortunately.
This is because none of them are good enough.
There is a trend towards Poetry right now, and people seem to like it, but there are also people that complain it is not the right tool for some kind of projects. It deserves a try.
I tested PDM but it follows an different approach that Python community is used to and because of this it does not get the same attention as other tools.
Pipenv was a tool with lots of promises that got aggressively marketed as the "official" way to manage Python dependencies but it failed to delivery its promises and it seems the community moved from it.