Skip to content

Commit

Permalink
Update python dependencies (#5637)
Browse files Browse the repository at this point in the history
* Update python dependencies

- Bump openshift 0.12 to 0.13
- Skip pipenv check for pyup-45114
  https://nvd.nist.gov/vuln/detail/CVE-2021-29923 This CVE is filed
  against k8s on Golang < 1.17 and is attached to this lib because
  python-kubernetes uses the Kubernetes API.

Signed-off-by: Austin Macdonald <austin@redhat.com>

* remove pipfile lock, which was used to update the pipfiles

Signed-off-by: Austin Macdonald <austin@redhat.com>

* take 2

Signed-off-by: Austin Macdonald <austin@redhat.com>
  • Loading branch information
asmacdo committed Apr 7, 2022
1 parent 513a028 commit 9bb14cc
Show file tree
Hide file tree
Showing 6 changed files with 443 additions and 495 deletions.
2 changes: 1 addition & 1 deletion images/ansible-operator-2.11-preview/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "pypi"
ansible-runner = "~=1.4.7"
ansible-runner-http = "==1.0.0"
ipaddress = "==1.0.23"
openshift = "~=0.12.0"
openshift = "~=0.13.0"
jmespath = "==0.10.0"
# cryptography needs to be pinned to 3.3.2 as this is the last version
# before its setup requires rust, which is not available via RPM in the
Expand Down
506 changes: 241 additions & 265 deletions images/ansible-operator-2.11-preview/Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion images/ansible-operator-2.11-preview/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN yum clean all && rm -rf /var/cache/yum/* \
&& pip3 install --upgrade pip~=21.1.0 \
&& pip3 install pipenv==2022.1.8 \
&& pipenv install --deploy \
&& pipenv check \
&& pipenv check -i 45114 \
&& yum remove -y gcc libffi-devel openssl-devel python38-devel \
&& yum clean all \
&& rm -rf /var/cache/yum
Expand Down
2 changes: 1 addition & 1 deletion images/ansible-operator/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "pypi"
ansible-runner = "~=2.0.2"
ansible-runner-http = "~=1.0.0"
ipaddress = "==1.0.23"
openshift = "~=0.12.0"
openshift = "~=0.13.0"
ansible = "~=2.9.15"
jmespath = "==0.10.0"
# cryptography needs to be pinned to 3.3.2 as this is the last version
Expand Down

0 comments on commit 9bb14cc

Please sign in to comment.