News for hackers. Stuff that matters.
Re:What the Heck Is Pyproject.toml? by rattray on Wednesday April 01, 2020 @06:51PM (#22754325)
This looks great. Can anyone who's used both comment on how poetry compares to yarn[0]?

[0] https://yarnpkg.com/

Re:What the Heck Is Pyproject.toml? by franey on Wednesday April 01, 2020 @11:45PM (#22756026)
I think of Poetry as the Yarn of Python packaging for two main reasons (apart from package locking, which is the biggest similarity): the commands are more intuitive and the lockfile starts with a different letter from the dependency file. I don't know how many times I open package-lock.json instead of package.json because I tab-complete from my shell. Same with Pipfile and Pipfile.lock for anyone using Pipenv.

I wrote this post[0] that compares Poetry and Pipenv if you're interested and talks about some of their differences. Poetry has both add and install commands, whereas Pipenv only has an install command, for instance.

[0] https://johnfraney.ca/posts/2019/03/06/pipenv-poetry-benchma...

Re:What the Heck Is Pyproject.toml? by rattray on Thursday April 02, 2020 @12:10AM (#22756112)
Thanks, that's helpful and illustrative! Is poetry as good as yarn?