News for hackers. Stuff that matters.
Re:Python Pip 20.3 Released with new resolver by nitely on Monday November 30, 2020 @01:37PM (#25257243)
They either haven't experience the pain or are oblivious to it. Pip old resolver is borked[0]:

> [The new resolver] will reduce inconsistency: it will no longer install a combination of packages that is mutually inconsistent. At the moment, it is possible for pip to install a package which does not satisfy the declared requirements of another installed package. For example, right now, pip install "six<1.12" "virtualenv==20.0.2" does the wrong thing, “successfully” installing six==1.11, even though virtualenv==20.0.2 requires six>=1.12.0,<2 (defined here). The new resolver would, instead, outright reject installing anything if it got that input.

[0]: https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-rol...

Re:Python Pip 20.3 Released with new resolver by divbzero on Monday November 30, 2020 @03:19PM (#25258430)
I haven’t found a compelling need to switch to Poetry, but independent experimentation and competition can be good thing. I wouldn’t be surprised if the new pip resolver was partly inspired by Poetry, similar to how some NPM improvements were motivated by Yarn. [1]

[1]: https://javascript.christmas/2019/10

Re:Python Pip 20.3 Released with new resolver by ptx on Monday November 30, 2020 @02:31PM (#25257861)
That would probably be caught by the CI, though, wouldn't it? One of the packages would fail to install in a clean venv and the tests would fail.
Re:Python Pip 20.3 Released with new resolver by kstrauser on Monday November 30, 2020 @03:14PM (#25258372)
No, it won't be caught in CI. The old version of pip didn't recognize that as an error condition.
Re:Python Pip 20.3 Released with new resolver by ArchOversight on Monday November 30, 2020 @02:55PM (#25258136)
Not if you used the old version of pip. That is hopefully fixed now with the new resolver.
Re:Python Pip 20.3 Released with new resolver by ptx on Monday November 30, 2020 @03:10PM (#25258326)
Hm, you're right. I misread it as saying that it would 1) install six, 2) fail to install virtualenv and 3) fail to report an error.

But the old resolver actually installs both packages, even though it should just abort.