mirror of
https://github.com/smittix/intercept.git
synced 2026-06-09 22:43:32 -07:00
fix: Ensure Flask 3.0+ in setup script
System apt packages may install Flask 2.x which is incompatible with Werkzeug 3.x. Add explicit upgrade after pip install to ensure Flask 3.0+. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -303,6 +303,10 @@ install_python_deps() {
|
||||
else
|
||||
ok "Python dependencies installed"
|
||||
fi
|
||||
|
||||
# Ensure Flask 3.0+ is installed (required for Werkzeug 3.x compatibility)
|
||||
# System apt packages may have older Flask 2.x which is incompatible
|
||||
python -m pip install --upgrade "flask>=3.0.0" >/dev/null 2>&1 || true
|
||||
echo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user