fix(mitmproxy): Use mitmproxy 7.0.4 for Python 3.11 compatibility
mitmproxy 8.x has dataclass compatibility issues with Python 3.11 in the grpc contentviews module. Bump release to r6. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0afdfc5b78
commit
6553edba3a
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=secubox-app-mitmproxy
|
PKG_NAME:=secubox-app-mitmproxy
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
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>
|
||||||
|
|||||||
@ -327,10 +327,11 @@ apk add --no-cache \
|
|||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev
|
openssl-dev
|
||||||
|
|
||||||
# Install mitmproxy 8.1.1 (last pure-Python version without any Rust dependencies)
|
# Install mitmproxy 7.0.4 (compatible with Python 3.11 dataclasses)
|
||||||
|
# 8.x has grpc dataclass issues with Python 3.11
|
||||||
# 9.x requires mitmproxy-wireguard (Rust), 10.x requires mitmproxy_rs (Rust)
|
# 9.x requires mitmproxy-wireguard (Rust), 10.x requires mitmproxy_rs (Rust)
|
||||||
# Pin werkzeug<3.0 for Flask compatibility (url_quote removed in 3.0)
|
# 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'
|
pip3 install --break-system-packages 'werkzeug<3.0' 'mitmproxy==7.0.4'
|
||||||
|
|
||||||
# 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