Skip to content

Commit 76b34f4

Browse files
committed
ci: pin awscli dependencies
docutils 0.15, a dependency of awscli, broke our CI since it's not compatible with Python 2 due to a bug. This pins all the dependencies of awscli with docutils 0.14, to make sure this kind of regressions doesn't happen again.
1 parent 2c3f8b8 commit 76b34f4

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.azure-pipelines/steps/run.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ steps:
9090
set -e
9191
source src/ci/shared.sh
9292
sudo apt-get install -y python3-setuptools
93-
retry pip3 install awscli --upgrade --user
93+
retry pip3 install -r src/ci/awscli-requirements.txt --upgrade --user
9494
echo "##vso[task.prependpath]$HOME/.local/bin"
9595
displayName: Install awscli (Linux)
9696
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
97-
- script: pip install awscli
97+
- script: pip install -r src/ci/awscli-requirements.txt
9898
displayName: Install awscli (non-Linux)
9999
condition: and(succeeded(), ne(variables['Agent.OS'], 'Linux'))
100100

src/ci/awscli-requirements.txt

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
awscli==1.16.201
2+
botocore==1.12.191
3+
colorama==0.3.9
4+
docutils==0.14
5+
jmespath==0.9.4
6+
pyasn1==0.4.5
7+
python-dateutil==2.8.0
8+
PyYAML==5.1
9+
rsa==3.4.2
10+
s3transfer==0.2.1
11+
six==1.12.0
12+
urllib3==1.25.3
13+
futures==3.3.0; python_version < '3.0'

0 commit comments

Comments
 (0)