summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-23 12:10:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:06:46 +0000
commit39b0d36b00d98a848297d0667c6cffc049d215e3 (patch)
tree6776dddb598d4ce7ca49ffef99f7e6da058a9e02 /meta
parent9573034eb8cdc3b9c2add67ac0a92277dc26389f (diff)
downloadopenembedded-core-contrib-39b0d36b00d98a848297d0667c6cffc049d215e3.tar.gz
pip_install_wheel: Use --ignore-installed for pip
Replace the use of --force-reinstall with --ignore-installed when running pip install. It can detect currently installed modules in the wrong environment and try to remove them currently which is not what is desired. Ignoring them is the correct thing to do. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/pip_install_wheel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/pip_install_wheel.bbclass b/meta/classes/pip_install_wheel.bbclass
index 2f21a8ee56..8a848c0eba 100644
--- a/meta/classes/pip_install_wheel.bbclass
+++ b/meta/classes/pip_install_wheel.bbclass
@@ -6,7 +6,7 @@ PYPA_WHEEL ??= "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-${PV}-*.whl"
PIP_INSTALL_ARGS ?= "\
-vvvv \
- --force-reinstall \
+ --ignore-installed \
--no-cache \
--no-deps \
--no-index \