Skip to content

Commit 77f1b5e

Browse files
authored
Pin top level Python dependencies (#4321)
This rolls back the version of Ansible installed in the Ansible base image, fixing a syntax error in the Dockerfile.
1 parent f409eb4 commit 77f1b5e

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# entries is a list of entries to include in
2+
# release notes and/or the migration guide
3+
entries:
4+
- description: >
5+
(ansible/v1) Pin all top level Python requirements. This fixes a bug that
6+
erroneously installed Ansible 2.10.z instead of Ansible 2.9.z.
7+
8+
kind: "bugfix"
9+
breaking: false

images/ansible-operator/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ RUN yum clean all && rm -rf /var/cache/yum/* \
1717
&& yum -y update \
1818
&& yum install -y libffi-devel openssl-devel python36-devel gcc python3-pip python3-setuptools \
1919
&& pip3 install --no-cache-dir \
20-
ipaddress \
2120
ansible-runner==1.3.4 \
2221
ansible-runner-http==1.0.0 \
23-
openshift~=0.10.0 \
24-
ansible~=2.9 \
25-
jmespath \
22+
ipaddress==1.0.23 \
23+
kubernetes==10.1.0 \
24+
openshift==0.10.3 \
25+
ansible==2.9.15 \
26+
jmespath==0.10.0 \
2627
&& yum remove -y gcc libffi-devel openssl-devel python36-devel \
2728
&& yum clean all \
2829
&& rm -rf /var/cache/yum

0 commit comments

Comments
 (0)