fix(mitmproxy): Pin werkzeug<3.0 for Flask compatibility

werkzeug 3.0+ removed url_quote from werkzeug.urls which breaks
Flask imports in mitmproxy 8.1.1.

Bump release to r5.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-17 07:52:44 +01:00
parent 84a6a01fc8
commit 0afdfc5b78
3 changed files with 6 additions and 3 deletions

View File

@ -63,7 +63,9 @@
"Bash(git -C /home/reepost/CyberMindStudio/_files/secubox-openwrt/secubox-tools ls-tree:*)",
"WebFetch(domain:secubox.cybermood.eu)",
"WebFetch(domain:docs.cybermind.fr)",
"WebFetch(domain:lyrion.org)"
"WebFetch(domain:lyrion.org)",
"Bash(git pull:*)",
"Bash(git stash:*)"
]
}
}

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=secubox-app-mitmproxy
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_VERSION:=0.4.0
PKG_ARCH:=all
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>

View File

@ -329,7 +329,8 @@ apk add --no-cache \
# Install mitmproxy 8.1.1 (last pure-Python version without any Rust dependencies)
# 9.x requires mitmproxy-wireguard (Rust), 10.x requires mitmproxy_rs (Rust)
pip3 install --break-system-packages 'mitmproxy==8.1.1'
# Pin werkzeug<3.0 for Flask compatibility (url_quote removed in 3.0)
pip3 install --break-system-packages 'werkzeug<3.0' 'mitmproxy==8.1.1'
# Clean up build dependencies to save space
apk del build-base python3-dev libffi-dev openssl-dev