Skip to content

Commit 9594c70

Browse files
author
Matthias Koeppe
committed
build/bin/sage-dist-helpers (sdh_actually_pip_install_wheel): Filter out distracting message from 'pip uninstall'
1 parent 5f5fbd9 commit 9594c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/bin/sage-dist-helpers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ sdh_actually_pip_install_wheel() {
398398
# of sage-conf, sage-setup, etc.) bump the version number, we need to
399399
# override this behavior. The pip install option --force-reinstall does too
400400
# much -- it also reinstalls all dependencies, which we do not want.
401-
$sudo sage-pip-uninstall "$distname"
401+
$sudo sage-pip-uninstall "$distname" 2>&1 | sed '/^WARNING: Skipping .* as it is not installed./d'
402402
if [ $? -ne 0 ]; then
403403
echo "(ignoring error)" >&2
404404
fi

0 commit comments

Comments
 (0)