Skip to content

Commit 3e966b5

Browse files
committed
use pipenv for python dependency management
retry of #4538 and #4494 Signed-off-by: reinvantveer <[email protected]>
1 parent 819ce7b commit 3e966b5

File tree

4 files changed

+505
-9
lines changed

4 files changed

+505
-9
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
entries:
2+
- description: >
3+
For Ansible-based operators, Python package installation in the Docker
4+
image is delegated to a pipenv managed Pipfile and Pipfile.lock, pinning
5+
both the main installed packages and their subdependencies. This prevents
6+
installing conflicting (sub)dependencies
7+
8+
kind: change
9+
10+
breaking: false

images/ansible-operator/Pipfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
ansible-runner = "==1.4.6"
8+
ansible-runner-http = "==1.0.0"
9+
ipaddress = "==1.0.23"
10+
openshift = "==0.11.2"
11+
ansible = "==2.9.15"
12+
jmespath = "==0.10.0"
13+
14+
[dev-packages]
15+
16+
[requires]
17+
python_version = "3.8"

0 commit comments

Comments
 (0)