You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When package resolution is "hard", many of the following messages may be spammed to the logs:
INFO pip is looking at multiple instances of the following message are spammed to the output {package_name} determine which version is compatible with other requirements. This could take a while.
The problem is that these messages keep getting spammed, even after an actual ERROR occurs
INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of djangorestframework-datatables to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement pillow>=9.0.0 (from reportlab) (from versions: none)
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of cfenv to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of sqlparse to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of asgiref to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of whitenoise to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pytz to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django to determine which version is compatible with other requirements. This could take a while.
The actual error is especially hard to spot when pip isn't run from a terminal, but as part of some CI/CD tool (no coloring)
Expected behavior
I'd expect the ERROR to be the final message, so that I'll see it immediately when reading bottom-to-top (which is the usual order when debugging)
is it? a cursory scan of that PR seems to suggest it's about displaying what's going on when actually collecting, but I think the INFO statements I'm running into are part of the backtracking mechanism itself
Description
When package resolution is "hard", many of the following messages may be spammed to the logs:
The problem is that these messages keep getting spammed, even after an actual ERROR occurs
The actual error is especially hard to spot when pip isn't run from a terminal, but as part of some CI/CD tool (no coloring)
Expected behavior
I'd expect the ERROR to be the final message, so that I'll see it immediately when reading bottom-to-top (which is the usual order when debugging)
pip version
22.0.4
Python version
3.9
OS
any
How to Reproduce
I haven't been able to cleanly reproduce this yet
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: