Fix assumption that macOS filesystem is case sensitive #22031
Labels
area-environments
Features relating to handling interpreter environments
area-terminal
bug
Issue identified by VS Code Team member as probable bug
macos
needs PR
Ready to be worked on
The default filesystem on Darwin is case insensitive: #22006. Look for all instances of places where we are only assuming Windows is case insensitive (converting paths to upper case or lower case just for windows). For eg.
vscode-python/src/client/pythonEnvironments/common/externalDependencies.ts
Lines 88 to 90 in be334bd
vscode-python/src/client/common/platform/fs-paths.ts
Lines 151 to 153 in d613776
And change it to also include macOS in that list. Note this may alter IDs for environments in macOS:
vscode-python/src/client/pythonEnvironments/base/info/env.ts
Lines 245 to 250 in 15bb974
So we should probably clear any existing environments discovered for macOS, simple way to do that is use a new key here, like
PYTHON_ENV_INFO_CACHEv2
:vscode-python/src/client/pythonEnvironments/index.ts
Line 70 in 2442dfb
The text was updated successfully, but these errors were encountered: