4 ms·
In deployment you'll still need to use the command line. Poetry is IDE and OS agnostic. It manages also the lock file, and resolve deps better than pip. At la
by sametmax 7y ago
In deployment you'll still need to use the command line. Poetry is IDE and OS agnostic.
It manages also the lock file, and resolve deps better than pip.
At last, it lets you put all meta data in one file, including dev deps, then build a wheel.
You can do that with regular setuptool and setup.cfg and it's compatible with pip though.
- guggle 7y agoI don't have a problem with the command line, I just find the argument of "tool X and tool Y are boring to use so you'd better tool Z" (as found on the linked article) a bit weak. I guess that's one of these tools that solves problems I don't have (like the need for a lock file... just specify the version in requirements.txt), so unless it becomes the new standard, I'll stay away from it. But I'm sure it's gonna be helpful for many.
- sametmax 7y agoThe lock file doesn't just specify the version of the packages, but of all dependancies as well, in a nested manner. This let poetry detects incompatibilites you can't with a flat requirement file. Poetry also updates the files properly at each install, so you don't have to do it. And it can't install something outside of a venv by mistake. But yes, a requirement file is ok in many cases. I use them myself often.