Browse Source

fix(dev): pre-commit virtualenv 20.0.23 -> 20.0.32 (#21146)

josh 4 years ago
parent
commit
063f603c6d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -66,7 +66,8 @@ setup-git: ensure-venv setup-git-config
 	@echo "--> Installing git hooks"
 	mkdir -p .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" "virtualenv==20.0.23"
+	@# pre-commit loosely pins virtualenv, which has caused problems in the past.
+	$(PIP) install "pre-commit==1.18.2" "virtualenv==20.0.32"
 	@PYENV_VERSION=$(REQUIRED_PY3_VERSION) pre-commit install --install-hooks
 	@echo ""