Error message idea: thoughts on Pants starting to ...
# general
h
Error message idea: thoughts on Pants starting to analyze subprocess failures and give some suggestions? For example: * If Pytest gives “ModuleNotFoundError”, append a suggestion to run
./pants dependencies path/to/file.py
to ensure everything shows up. * If Pex interpreter constraints are not satisifiable, suggest running
py-constraints
. * “DoubleRequirementError”: give the advice from https://www.pantsbuild.org/docs/troubleshooting#double-requirement-given-error-when-resolving-requirements We’d do something like
if "ModuleNotFoundError" in result.stderr
, and append the message below the process’s output Thoughts? Posted in #documentation