Skip to content

Commit befa777

Browse files
authored
Fix CircleCI build (#711)
Install Python3.7 as the new CircleCI image ships with Python3.6 and the min we need is 3.7
1 parent 2f3102d commit befa777

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.circleci/config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,23 @@ references:
2222
######################################################################################################################
2323
# Build steps
2424
######################################################################################################################
25+
install_python: &install-python
26+
run:
27+
name: install python 3.7
28+
command: |
29+
sudo add-apt-repository --yes ppa:deadsnakes/ppa
30+
sudo apt-get update
31+
sudo apt-get install python3.7
32+
2533
install_pip: &install-pip
2634
run:
2735
name: install pip
2836
command: |
2937
set +o pipefail
3038
curl -O https://bootstrap.pypa.io/get-pip.py
31-
sudo python3 get-pip.py
39+
sudo python3.7 get-pip.py
40+
sudo python3.7 -m pip install --upgrade pip setuptools wheel
41+
sudo python3.7 -m pip install pipenv
3242
3343
install_jdk: &install-jdk
3444
run:
@@ -90,6 +100,7 @@ jobs:
90100
- checkout
91101
- setup_remote_docker:
92102
docker_layer_caching: true
103+
- *install-python
93104
- *install-pip
94105
- *install-jdk
95106
- awscli/install
@@ -106,6 +117,7 @@ jobs:
106117
- checkout
107118
- setup_remote_docker:
108119
docker_layer_caching: true
120+
- *install-python
109121
- *install-pip
110122
- *install-jdk
111123
- awscli/install

0 commit comments

Comments
 (0)