Python
Python copied to clipboard
DevContainer setup fails
Repository commit
3cd92013abece2cc4ea31ab81075852da4134519
Python version (python --version)
Python 3.12
Dependencies version (pip freeze)
N/A
Expected behavior
DevContainer should build successfully
Actual behavior
Devcontainer build fails with the following error
I found the error in Dockerfile
Line 6 has 2 install keywords resulting in pip trying to install "install", giving the following error.
Removing the additional install and adding git init before line 5 (pre-commit only works inside git repo) fixes the container build.
I'll open a PR for the same.
PR seems to be closed due to only accepted submissions being Python files, can anyone re-open and merge? Link to PR: #11813