News for hackers. Stuff that matters.
Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by scrollaway on Wednesday February 10, 2021 @04:19PM (#26094966)
The only reason to use pip-tools is because you already know it and you don't want to switch (yet). pip-tools is squarely worse than using Poetry.

Poetry is not perfect, mind you, but it's the absolute best we have in the Python world. Whenever I jump into a new project, switching it to Poetry is one of the first things I do so I have a sane working environment for it.

Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by arusahni on Wednesday February 10, 2021 @04:32PM (#26095109)
I'm glad tools like Poetry exist, as they're filling pretty horrible gaps in the Python ecosystem.

> The only reason to use pip-tools is because you already know it and you don't want to switch (yet).

Actually, I settled on pip-tools _after_ trying Poetry :-)

> pip-tools is squarely worse than using Poetry.

News to me. Like I said in my original comment: "I personally still find Poetry and Pipenv to be a little heavy-handed for my preferred workflows." A tool that gets out of my way and lets me achieve my goals is a better tool for me. Since Poetry can't meet me where I am, pip-tools is better _for me_.

Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by coffeefirst on Wednesday February 10, 2021 @06:04PM (#26096058)
I've actually backed away from Poetry after some really bad experiences.

When it works, it's damn near perfect.

When it doesn't work, and that usually involves a problem with a downstream dependency that isn't technically Poetry's fault, it's a massive hassle and sometimes impossible to manually override.

Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by kyllo on Thursday February 11, 2021 @01:51PM (#26105561)
I went from Pipenv to Poetry and then back to Pipenv after encountering an infinite loop in Poetry's solver on multiple separate occasions.
Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by diragon on Thursday February 11, 2021 @02:50AM (#26099250)
I've submitted pull requests to projects when that happens. Not many yet, but all of them have been accepted in less than a week's time. People should do this and then the problem would eventually vanish.
Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by ksm1717 on Wednesday February 10, 2021 @05:06PM (#26095440)
These are bold and absolute claims in response to proposing that an alternative may be better for a given user’s preferences.

“I prefer pepsi because coke is too sugary.”

“The only reason you should drink Pepsi is if you already have some. It’s a squarely worse drink than coke.”

Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by jrib on Wednesday February 10, 2021 @06:02PM (#26096039)
pip-tools has the advantage that it is super-simple to understand and reason about.

poetry works well enough but it seems to bring more complexity with it.

Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by neolog on Wednesday February 10, 2021 @07:47PM (#26096858)
The complexity is the same or less with Poetry. It's just about whether you're delegating the complexity to Poetry or managing it yourself.
Re:A Poetic Apology: Or Why Should You Use Poetry to Manage ... by joshbuddy on Wednesday February 10, 2021 @04:29PM (#26095072)
How is it strictly worse?