aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2023-09-27 13:49:35 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2023-11-28 11:08:01 +0000
commit5a259fdafe6db360df5d4a6ff218120e89196019 (patch)
treef33cd6b1bec99c99abcb3dc002210cfa183d81b4
parentef4bd9bbcd2b8b1df067004b806ee6cbcf2f6467 (diff)
downloadkolla-5a259fdafe6db360df5d4a6ff218120e89196019.tar.gz
kolla-5a259fdafe6db360df5d4a6ff218120e89196019.zip
Drop docker-py from requirements.txt
Since addition of podman - users need to install only one from docker|podman Change-Id: I622eefad3b2e93f334028d9c0775a2cca558a39c
-rw-r--r--requirements.txt1
-rw-r--r--test-requirements.txt1
-rw-r--r--tests/playbooks/pre.yml4
3 files changed, 5 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index e949f8f5a..f471843cf 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,4 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
-docker>=3.0.0 # Apache-2.0
Jinja2>=3.0.1 # BSD License (3 clause)
GitPython>=1.0.1 # BSD License (3 clause)
oslo.config>=5.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index e1185df8b..d37daf377 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,6 +2,7 @@ bandit!=1.6.0,>=1.1.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
+docker>=3.0.0 # Apache-2.0
hacking>=3.0.1,<3.1.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.2.0 # Apache-2.0
diff --git a/tests/playbooks/pre.yml b/tests/playbooks/pre.yml
index 01ded11b0..2e0e91bc6 100644
--- a/tests/playbooks/pre.yml
+++ b/tests/playbooks/pre.yml
@@ -42,6 +42,10 @@
- name: Install kolla
command: "{{ virtualenv_path }}/bin/python -m pip install {{ zuul.project.src_dir }}"
+ - name: Install docker python library
+ command: "{{ virtualenv_path }}/bin/python -m pip install docker"
+ when: container_engine == "docker"
+
- name: Install podman python library
command: "{{ virtualenv_path }}/bin/python -m pip install podman"
when: container_engine == "podman"