Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit 3a1c23b

Browse files
authored
Merge pull request #60 from gruntwork-io/fix-precommit
Try to fix precommit install
2 parents 80843ec + cd8c5a6 commit 3a1c23b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ jobs:
4444

4545
# Install external dependencies
4646
- run: DEBIAN_FRONTEND=noninteractive sudo apt-get update && sudo apt-get install -y python-pip
47-
# Oct 26, 2019: Install the last known working version of pre-commit
48-
- run: pip install pre-commit==1.11.2 awscli
47+
# Oct 26, 2019: Install the last known working version of pre-commit. Also, we have to pin the version of a
48+
# transient dependency that is being pulled in (cfgv) which released a new version that is no longer compatible
49+
# with any python < 3.6.
50+
- run: pip install pre-commit==1.11.2 cfgv==2.0.1 awscli
4951

5052
# Fail the build if the pre-commit hooks don't pass. Note: if you run "pre-commit install" locally in the roo repo
5153
# folder, these hooks will execute automatically every time before you commit, ensuring the build never fails at this step!

0 commit comments

Comments
 (0)