Skip to content

ResolutionTooDeep while installing a set of packages, undebuggable #12972

@wfjsw

Description

@wfjsw

Description

Users are facing with different levels of backtracking depending on the packages (caused by extensions) they already installed. Sometimes there's resolution, but others got infinite backtrack and, finally, pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 2000000

Related: #11480

cc @chflame163

Expected behavior

No response

pip version

23.0.1

Python version

3.10.11

OS

Windows

How to Reproduce

I can reproduce backtrack but not ResolutionTooDeep as I don't have the same set of installed packages. The log attached below is an instance of ResolutionTooDeep that may aid reproduction:

  1. Download https://github.com/chflame163/ComfyUI_LayerStyle/blob/50c7862dc3337a0c11cebb2eae419a03c520bb10/requirements.txt
  2. Install it.

Output

3b28df3d-2ffd-4509-8e18-5df67bd3753a.tmp.txt

Note: https://pypi.doubanio.com/simple is an up-to-date mirror of pypi. https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html is an outdated PyTorch mirror but it is not involved in actual resolution process. https://pypi.oystermercury.top/ms contains some wheels not available on pypi but is also not related.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions