News for hackers. Stuff that matters.
Re:Changes to the pip dependency resolver in 20.3 by globular-toast on Thursday November 19, 2020 @03:09AM (#25147277)
Also not a fan. I like the fact that pip is relatively "stupid". It means you can use pip-tools if you want proper to have a fully resolved graph, but pip should always do what you want.

Poetry is neat but the Unix philosophy wins, as usual. Each tool should do one thing and do it well. Pip was much better at doing what pip does than poetry is. Not any more.

Re:Changes to the pip dependency resolver in 20.3 by scrollaway on Thursday November 19, 2020 @09:19AM (#25149679)
To hell with the Unix philosophy on this topic. Poetry is amazing, and as a user of python for 15+ years I would much rather have one tool like poetry solve the problem of "python dependencies and packaging", than 25 tools to solve the myriad of sub problems hidden in it.
Re:Changes to the pip dependency resolver in 20.3 by hannibalhorn on Friday November 20, 2020 @11:25PM (#25167866)
Then switch to poetry, why break pip?

The dependency I referenced actually uses poetry, and the reason it's borked is because "poetry add pandas" back when 0.25.1 was current meant effectively adding "poetry==^0.25.1" to requirements.txt, even though the one line of actual code that uses pandas works on pretty much any version I've ever seen.

Re:Changes to the pip dependency resolver in 20.3 by globular-toast on Thursday November 19, 2020 @10:59AM (#25150773)
That's great. It's your choice and I would happily use poetry to contribute to your projects. But why change pip? We can have both ways. Pip+pip-tools has been around for a lot longer and it's been working very well for freezing dependencies. Even better than npm/yarn.
Re:Changes to the pip dependency resolver in 20.3 by scrollaway on Thursday November 19, 2020 @11:17AM (#25150976)
I get you, though pip isn't particularly changing, at least not in the context you seem to be implying? The dependency resolver is a good move, implementation seems poorly conceived though from the sound of the other comments.