-
-
Notifications
You must be signed in to change notification settings - Fork 355
Open
Description
One reason why this is a problem (I think) is that if say your hatch-static-analysis environment was set up to use a version of Python that's no longer on your system, you can end up with errors like this:
/Users/xxx/Library/Application
Support/hatch/env/.internal/hatch-static-analysis/projectjCyxL-Ja/hatch-static-analysis/bin/python3`
Caused by: Broken symlink at `/Users/xxx/Library/Application
Support/hatch/env/.internal/hatch-static-analysis/project/jCyxL-Ja/hatch-static-analysis/bin/python3`, was the
underlying Python interpreter removed?
This happened to me now that Python 3.9 is EOL'd. The fix is to manually rm the internal hatch environment, but it would be better if hatch env prune did that for you, either automatically or with say a -i flag.
Metadata
Metadata
Assignees
Labels
No labels