mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-05 09:22:29 +02:00
Suppress pip warnings during package upgrade/install
This commit is contained in:
@@ -294,6 +294,9 @@ EOF
|
||||
SCRIPT_DIR="$(dirname "$0")"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Suppress pip root user warnings
|
||||
export PIP_ROOT_USER_ACTION=ignore
|
||||
|
||||
# Calculate version from git for setuptools_scm
|
||||
if [ -d .git ]; then
|
||||
git fetch --tags 2>/dev/null || true
|
||||
@@ -459,6 +462,9 @@ EOF
|
||||
SCRIPT_DIR="$(dirname "$0")"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Suppress pip root user warnings
|
||||
export PIP_ROOT_USER_ACTION=ignore
|
||||
|
||||
# First, upgrade the package and dependencies (only updates what needs updating)
|
||||
if python3 -m pip install --break-system-packages --upgrade --no-cache-dir .; then
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user