Merge "upgrade pip before using -c option"
This commit is contained in:
commit
cb599b13de
@ -15,6 +15,9 @@ $IPADIR/imagebuild/common/generate_upper_constraints.sh $IPADIR/upper-constraint
|
||||
# create the virtual environment
|
||||
virtualenv $IPADIR/venv
|
||||
|
||||
# pip might be an older version which does not support the -c option, therefore upgrade first
|
||||
$IPADIR/venv/bin/pip install pip --upgrade
|
||||
|
||||
# install IPA inside the virtual environment
|
||||
$IPADIR/venv/bin/pip install -c $IPADIR/upper-constraints.txt $IPADIR
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
This fixes bug 1744403 where 60-ironic-agent-install fails to run
|
||||
when DIB_INSTALLTYPE_ironic_agent=source is set. pip installs
|
||||
constraints with the -c argument and this argument is a relatively
|
||||
newer addion. The currently installed pip may not support that
|
||||
option and must be upgraded before proceeding.
|
Loading…
Reference in New Issue
Block a user