summaryrefslogtreecommitdiff
path: root/driver-requirements.txt
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2022-07-12 11:25:40 +0100
committerMark Goddard <mark@stackhpc.com>2022-07-13 09:41:06 +0100
commit83d389956de883e72698a33d4980905cb82767d6 (patch)
tree6c9da1e34874d4142810429895844dad6e376039 /driver-requirements.txt
parent22e0671aed4d6b61de687f721db041e15365a644 (diff)
downloadironic-83d389956de883e72698a33d4980905cb82767d6.tar.gz
Improve dependency resolution in driver-requirements.txt
Building the Kolla ironic-conductor image for Ubuntu using Python 3.8 in Wallaby, I noticed the build taking a very long time (25 minutes in Zuul vs ~2 minutes for Xena). There is a lot of backtracking in the pip dependency resolver. I tried limiting each of the deps in driver-requirements.txt to a minor version, and the one that really made the difference was ansible. Note that this does not appear to affect later branches, which happily install Ansible 6.0.0. It also does not affect CentOS Stream 8, which has Python 3.6 and is therefore limited to Ansible 4.x. Change-Id: If29a86501dcc4faa60ead056aa339031cea41cab
Diffstat (limited to 'driver-requirements.txt')
-rw-r--r--driver-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver-requirements.txt b/driver-requirements.txt
index 151e745bc..cf3348c37 100644
--- a/driver-requirements.txt
+++ b/driver-requirements.txt
@@ -14,7 +14,7 @@ python-xclarityclient>=0.1.6
sushy>=3.7.0
# Ansible-deploy interface
-ansible>=2.7
+ansible>=2.7,<6.0.0
# HUAWEI iBMC hardware type uses the python-ibmcclient library
python-ibmcclient>=0.2.2,<0.3.0