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:
parent
84a6a01fc8
commit
0afdfc5b78
@ -63,7 +63,9 @@
|
|||||||
"Bash(git -C /home/reepost/CyberMindStudio/_files/secubox-openwrt/secubox-tools ls-tree:*)",
|
"Bash(git -C /home/reepost/CyberMindStudio/_files/secubox-openwrt/secubox-tools ls-tree:*)",
|
||||||
"WebFetch(domain:secubox.cybermood.eu)",
|
"WebFetch(domain:secubox.cybermood.eu)",
|
||||||
"WebFetch(domain:docs.cybermind.fr)",
|
"WebFetch(domain:docs.cybermind.fr)",
|
||||||
"WebFetch(domain:lyrion.org)"
|
"WebFetch(domain:lyrion.org)",
|
||||||
|
"Bash(git pull:*)",
|
||||||
|
"Bash(git stash:*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=secubox-app-mitmproxy
|
PKG_NAME:=secubox-app-mitmproxy
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
PKG_VERSION:=0.4.0
|
PKG_VERSION:=0.4.0
|
||||||
PKG_ARCH:=all
|
PKG_ARCH:=all
|
||||||
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>
|
PKG_MAINTAINER:=CyberMind Studio <contact@cybermind.fr>
|
||||||
|
|||||||
@ -329,7 +329,8 @@ apk add --no-cache \
|
|||||||
|
|
||||||
# Install mitmproxy 8.1.1 (last pure-Python version without any Rust dependencies)
|
# 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)
|
# 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
|
# Clean up build dependencies to save space
|
||||||
apk del build-base python3-dev libffi-dev openssl-dev
|
apk del build-base python3-dev libffi-dev openssl-dev
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user