diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-23 12:10:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-25 15:07:50 +0000 |
commit | 3dbb469523e952a5cc8a209a5be9747ebe9a0ff0 (patch) | |
tree | db52559de271862c5bc79489f38b002e432205eb /meta | |
parent | 417f4de5c6c89642835202608ff1ae0fb107657b (diff) | |
download | poky-3dbb469523e952a5cc8a209a5be9747ebe9a0ff0.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.
(From OE-Core rev: 39b0d36b00d98a848297d0667c6cffc049d215e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/pip_install_wheel.bbclass | 2 |
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" | |||
6 | 6 | ||
7 | PIP_INSTALL_ARGS ?= "\ | 7 | PIP_INSTALL_ARGS ?= "\ |
8 | -vvvv \ | 8 | -vvvv \ |
9 | --force-reinstall \ | 9 | --ignore-installed \ |
10 | --no-cache \ | 10 | --no-cache \ |
11 | --no-deps \ | 11 | --no-deps \ |
12 | --no-index \ | 12 | --no-index \ |