Live data from Hacker News

New Pip resolver takes a long time to complete

github.com

1–10 of 45 posts

Re: New Pip resolver takes a long time to complete

#6
post #4

Maybe by fixing the solver they can finally prove P=NP ;)

I think that will be proven before python fixes their package management.

At least they are trying to fix it, vs other languages where there are literally no paths forward. IMO python has one of the more mature packaging ecosystems out there at this point. It is so incredibly easy.

Re: New Pip resolver takes a long time to complete

#7

Earlier quoted context omitted.

I think that will be proven before python fixes their package management.

At least they are trying to fix it, vs other languages where there are literally no paths forward. IMO python has one of the more mature packaging ecosystems out there at this point. It is so incredibly easy.

Distribution still is a pain unless you're going through pip.

Re: New Pip resolver takes a long time to complete

#8

Earlier quoted context omitted.

At least they are trying to fix it, vs other languages where there are literally no paths forward. IMO python has one of the more mature packaging ecosystems out there at this point. It is so incredibly easy.

Distribution still is a pain unless you're going through pip.

who doesn't use pip?

Re: New Pip resolver takes a long time to complete

#9
They need to store the version requirements metadata outside the packages. Having to download the entire wheel just to see whether it is compatible is ridiculous. This could all be computed by downloading an index file, then performing the resolution.

They made a half-assed attempt when pypa/pip added the "data-requires-python" tag, but that covers python interpreter version only, it needed to have been done for all dependencies.

What's especially irksome is that Debian and RPM both solved this 20+ years ago and python has refused to learn any lessons.

Post reply on HN