Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python packaging is now a solved problem.

Use Poetry. Resolves all your dependencies and manages your virtual environments.

Also lets you build and publish your own projects with a few commands.

https://python-poetry.org/



I'm excited to give this a shot, but I've heard this promise many times before.


I vaguely remember the exact same sentiment being expressed for both pip and Pipenv. The project I'm working on is currently migrating from Pipenv to Poetry, and while it's an improvement I have no hope that the fifth generation (setuptools, EasyInstall, pip, Pipenv, and now Poetry) Python packaging tool is in any way the last one.


I second this. Poetry is a great all-in-one tool for dependency and package management. I've written a few blog posts about it, and I remain happy with it. The Poetry team has done a great job making quality of life improvements to the tool, and it's actively maintained. It's worth checking out.


Wait, whats wrong with pip and venv with a requirements.txt file?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: