New resolver looping or taking ages to find a solution?

Hi all,

I had a strange feeling that when I tried to build a WinPython variant, the new resolver (in pip-20.2.4 --use-feature=2020-resolver) may have ended up in infinite loop.
(python at 100% , nothing more being installed in “\Lib\site-packages” during¨80’).
How can I check/prove it’s the new resolver or not ?

on failed attempt, it [apparently] stalls in 100% at this stage:
Processing c:\winp\packages.srcreq\jupyterlab-2.2.9-py3-none-any.whl
Processing c:\winp\packages.srcreq\widgetsnbextension-3.5.1-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\jupyterlab_launcher-0.13.1-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\jupyter_bokeh-2.0.3-py3-none-any.whl
Processing c:\winp\packages.srcreq\dask_labextension-3.0.0-py3-none-any.whl
Processing c:\winp\packages.srcreq\pydeck-0.4.1-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\jupyterlab_widgets-1.0.0a2-py3-none-any.whl
Processing c:\winp\packages.srcreq\pydeck-0.4.0-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\pydeck-0.2.1-py2.py3-none-any.whl
( then nothing more, 100% cpu)

on non-fail attempt (moving back from jupyterlab-2.2.9 to jupyterlab-3.0.0rc6), it goes on like this:
Processing c:\winp\packages.srcreq\jupyterlab-3.0.0rc6-py3-none-any.whl
Processing c:\winp\packages.srcreq\widgetsnbextension-3.5.1-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\jupyterlab_launcher-0.13.1-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\jupyter_bokeh-2.0.3-py3-none-any.whl
Processing c:\winp\packages.srcreq\dask_labextension-3.0.0-py3-none-any.whl
Processing c:\winp\packages.srcreq\pydeck-0.4.1-py2.py3-none-any.whl
Processing c:\winp\packages.srcreq\jupyterlab_widgets-1.0.0a2-py3-none-any.whl
Processing c:\winp\packages.srcreq\dask_ml-1.7.0-py3-none-any.whl
… (and so on)

problem is not to have tried something maybe impossible, but to see [supposely] the resolver sorting out the situation during 90’ without any time-break or expression of concern.

You may be interested in https://github.com/pypa/pip/issues/8975

1 Like