Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request for backtracking output to say what the multiple dependencies causing conflicts are #9254

Closed
brainwane opened this issue Dec 9, 2020 · 5 comments · Fixed by #10937
Labels
C: dependency resolution About choosing which dependencies to install C: error messages Improving error messages UX User experience related

Comments

@brainwane
Copy link
Contributor

I was conversing with @craigcalef (I believe) on Twitter who said:

pip resolution that used to take 10 seconds now runs days without completion.

Maybe change the "pip is looking at multiple versions" INFO message to tell me why pip feels the need to do it?

and

Its incredibly tedious to find which dependencies are causing backtracking. It'd be very helpful if the INFO backtracking message told you why its backtracking.

Craig, could you share a bit of sample output with us so we can look at it concretely and decide what to insert and where? Thanks.

@brainwane brainwane added UX User experience related C: new resolver C: error messages Improving error messages labels Dec 9, 2020
@brainwane brainwane changed the title request for backtracking output to be more informative request for backtracking output to say what the multiple dependencies causing conflicts are Dec 9, 2020
@brainwane
Copy link
Contributor Author

Craig provided sample output:


INFO: pip is looking at multiple versions of REDACTEDPACKAGE to determine which version is compatible with other requirements. This could take a while.
Collecting REDACTEDPACKAGE
  Downloading REDACTEDPACKAGE-0.5.0-py3-none-any.whl (30 kB)
  Downloading REDACTEDPACKAGE-0.4.4-py3-none-any.whl (32 kB)
  Downloading REDACTEDPACKAGE-0.4.3-py3-none-any.whl (35 kB)
  Downloading REDACTEDPACKAGE-0.4.2.tar.gz (25 kB)
  Downloading REDACTEDPACKAGE-0.4.1.tar.gz (24 kB)
  Downloading REDACTEDPACKAGE-0.4.0.tar.gz (24 kB)
  Downloading REDACTEDPACKAGE-0.3.3.tar.gz (21 kB)
INFO: pip is looking at multiple versions of REDACTEDPACKAGE to determine which version is compatible with other requirements. This could take a while.
  Downloading REDACTEDPACKAGE-0.3.2.tar.gz (21 kB)
  Downloading REDACTEDPACKAGE-0.3.1.tar.gz (20 kB)
  Downloading REDACTEDPACKAGE-0.3.0.tar.gz (20 kB)
  Downloading REDACTEDPACKAGE-0.2.0.tar.gz (19 kB)
  Downloading REDACTEDPACKAGE-0.1.0.tar.gz (18 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of markupsafe to determine which version is compatible with other requirements. This could take a while.

It sounds like @craigcalef would like the line "pip is looking at multiple versions of REDACTEDPACKAGE to determine which version is compatible with other requirements." to more specifically say what it's conflicting with.

@notatallshaw
Copy link
Member

notatallshaw commented Dec 10, 2020

A small comment here from testing #9203

I ran pip in verbose mode vs. non-verbose mode and it didn't seem to make a difference, here is a very small sample of the output I get:

Collecting setuptools>=34.0.0
  Using cached setuptools-51.0.0-py3-none-any.whl (785 kB)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
INFO: pip is looking at multiple versions of werkzeug to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of websocket-client to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of vertica-python to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of urllib3 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of uritemplate to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of unicodecsv to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tzlocal to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of typing-extensions to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of typing to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of typed-ast to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of traitlets to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tqdm to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tornado to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of toml to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pure-sasl to determine which version is compatible with other requirements. This could take a while.
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingINFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtrackingRequirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)
Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)

So I can see it's looking at setuptools 51.0.0, and I can see there is some conraint on google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all] and somehow it's also looking at multiple versions of werkzeug, websocket-client, vertica-python, urllib3, uritemplate, unicodecsv, tzlocal, typing-extensions, typing, typed-ast, traitlets, tqdm, tornado, toml, pure-sasl

But the logs don't tell me why it's repeating this line repeatedly:

Requirement already satisfied: setuptools>=34.0.0 in ...\lib\site-packages (from google-api-core<2dev,>=1.21.0->google-api-python-client<2.0.0,>=1.6.0->apache-airflow[all]) (51.0.0.post20201207)

Is there a specific requirement it's testing against? Is it checking different versions of the above multiple packages? And what exactly is the problem as it says "Requirment alread satisfied", surely that's a good thing? It's hard to know how to improve the contraints when I don't know what pip is getting tripped up on exactly.

@uranusjr
Copy link
Member

That log line is omitted repeated only due to a quirk in pip’s existing code structure (that has nothing to do with the resolver), and does not mean anything particularly useful, unfortunately.

@TheKevJames
Copy link

Hey folks -- created #9258 to potentially help address this, as I ran into something similar. Not sure if the user on Twitter ran into the same thing as me, but I found using the new resolver has led to a lot of hard-to-debug issues since it only pprints out the versioning conflicts once it finally gives up on backtracking. I added a new flag for selectively disabling that, which makes it much easier to get the conflict info immediately and fix it, especially for cases which are 100% incompatible but have a large amount of cases which need to be tried before the resolver realizes that.

@astrojuanlu
Copy link
Contributor

Pursuing a simpler approach to fix this issue at #10937. I think the output now is much more informative. Folks are welcome to try it out and see if it helps debugging backtracking situations.

astrojuanlu added a commit to astrojuanlu/pip that referenced this issue Feb 27, 2023
astrojuanlu added a commit to astrojuanlu/pip that referenced this issue Mar 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: dependency resolution About choosing which dependencies to install C: error messages Improving error messages UX User experience related
Projects
None yet
6 participants