baremetal: Install Docker SDK less than 5.0.0
Docker 5.0.0 [1] dropped requirement for six, but still imports it.
[1]: https://github.com/docker/docker-py/issues/2807
Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
(cherry picked from commit b053bd8ecf
)
This commit is contained in:
parent
05b551b73c
commit
56eefd8c42
@ -125,7 +125,8 @@
|
|||||||
|
|
||||||
- name: Install docker SDK for python
|
- name: Install docker SDK for python
|
||||||
pip:
|
pip:
|
||||||
name: docker
|
# NOTE(mnasiadka): docker 5.0.0 lacks six in deps but requires it
|
||||||
|
name: docker<5.0.0
|
||||||
executable: "{{ virtualenv is none | ternary('pip' ~ host_python_major_version, omit) }}"
|
executable: "{{ virtualenv is none | ternary('pip' ~ host_python_major_version, omit) }}"
|
||||||
virtualenv: "{{ virtualenv is none | ternary(omit, virtualenv) }}"
|
virtualenv: "{{ virtualenv is none | ternary(omit, virtualenv) }}"
|
||||||
virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}"
|
virtualenv_site_packages: "{{ virtualenv is none | ternary(omit, virtualenv_site_packages) }}"
|
||||||
|
6
releasenotes/notes/bug-1928915-482b2d53bb2a4d92.yaml
Normal file
6
releasenotes/notes/bug-1928915-482b2d53bb2a4d92.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixed an issue where docker python SDK 5.0.0 was failing due to missing
|
||||||
|
six - introduced a constraint to install version lower than 5.x.
|
||||||
|
`LP#1928915 <https://launchpad.net/bugs/1928915>`__
|
Loading…
Reference in New Issue
Block a user