From f74dd4859c9f95b555dba3ba4e41d2126ba2ec22 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 4 May 2023 19:08:02 +0200 Subject: [PATCH] docker_sdk: bump version docker-py 6.1.0 is out which fixes requests/urllib3 issues Change-Id: I989f652bd4159fd3b1b0e3bf5464b0a33961d8fa --- releasenotes/notes/docker-py-bump-7-da022c5f6337d2dd.yaml | 5 +++++ roles/docker_sdk/defaults/main.yml | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/docker-py-bump-7-da022c5f6337d2dd.yaml diff --git a/releasenotes/notes/docker-py-bump-7-da022c5f6337d2dd.yaml b/releasenotes/notes/docker-py-bump-7-da022c5f6337d2dd.yaml new file mode 100644 index 0000000..8cbe4aa --- /dev/null +++ b/releasenotes/notes/docker-py-bump-7-da022c5f6337d2dd.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - | + ``docker-py`` SDK library version has been bumped to >=3.0.0 and <7.0.0 + compared to >=2.4.2 and <5.0.0 previously. diff --git a/roles/docker_sdk/defaults/main.yml b/roles/docker_sdk/defaults/main.yml index 0df30ee..42e56fe 100644 --- a/roles/docker_sdk/defaults/main.yml +++ b/roles/docker_sdk/defaults/main.yml @@ -5,10 +5,9 @@ docker_sdk_packages: - "python3-pip" # List of Python packages to install via Pip. -# NOTE(hrw) docker 2.4.2 is in kolla-ansible requirements -# NOTE(mnasiadka): docker 5.0.0 lacks six in deps but requires it +# NOTE(mnasiadka) docker 3.0.0 is in kolla-ansible requirements docker_sdk_pip_packages: - - "docker>=2.4.2,<5.0.0" + - "docker>=3.0.0,<7.0.0" # APT cache TTL in seconds. apt_cache_valid_time: 3600