Pin py docker when installing docker-compose
Py docker 7.0.0 introduced an incompatibility with old python docker-compose. Pin it to the older version to ensure compatibility. Notes on the change can be found here: https://stackoverflow.com/questions/77641240/getting-docker-compose-typeerror-kwargs-from-env-got-an-unexpected-keyword-ar And you can see our jobs installing the wrong version here and then failing later: https://zuul.opendev.org/t/openstack/build/6575c9d7fb56463fa6e97b2a12d6f389/log/job-output.txt#16116-16117 Change-Id: I7ecf7c43b762855881c137e218adcc51e3a32444
This commit is contained in:
parent
4d25261bb6
commit
af653f3371
@ -47,7 +47,10 @@
|
||||
# to migrate to the new docker plugin system or distro packages, but
|
||||
# until then this is a quick workaround that will get things moving
|
||||
# again.
|
||||
# The explicit pin of docker is required as py docker 7.0 introduced
|
||||
# incompatibilities with python docker-compose.
|
||||
- requests<2.30.0
|
||||
- docker<7.0.0
|
||||
- docker-compose
|
||||
state: present
|
||||
executable: pip3
|
||||
|
Loading…
Reference in New Issue
Block a user