diff --git a/Makefile b/Makefile index 5a68670bd74f2a..d284c83eb5a25b 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ setup-git: ensure-venv setup-git-config @echo "--> Installing git hooks" cd .git/hooks && ln -sf ../../config/hooks/* ./ @PYENV_VERSION=$(REQUIRED_PY3_VERSION) python3 -c '' || (echo 'Please run `make setup-pyenv` to install the required Python 3 version.'; exit 1) - $(PIP) install "pre-commit==1.18.2" + $(PIP) install "pre-commit==1.18.2" "virtualenv==20.0.23" @PYENV_VERSION=$(REQUIRED_PY3_VERSION) pre-commit install --install-hooks @echo ""