Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install wapiti3 in python 3.13 needs mitmproxy>=10.4.1 #634

Open
jgor opened this issue Jan 7, 2025 · 0 comments
Open

pip install wapiti3 in python 3.13 needs mitmproxy>=10.4.1 #634

jgor opened this issue Jan 7, 2025 · 0 comments

Comments

@jgor
Copy link

jgor commented Jan 7, 2025

Installing wapiti3 currently fails in python 3.13 with the following traceback:

Collecting zstandard<0.23,>=0.11 (from mitmproxy==10.2.3->wapiti3)
Downloading zstandard-0.22.0.tar.gz (660 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
[...]
Traceback (most recent call last):
[...]
File "/tmp/pip-install-60noton4/zstandard_f1ecfcc1949f4c3e9b4dcab779565bb1/make_cffi.py", line 161, in
ffi = cffi.FFI()
File "/tmp/pip-build-env-_ubelt04/overlay/lib/python3.13/site-packages/cffi/api.py", line 48, in init
import _cffi_backend as backend
ImportError: /tmp/pip-build-env-_ubelt04/overlay/lib/python3.13/site-packages/_cffi_backend.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg

This appears to be a known issue with older versions of cffi in python 3.13. The failing version here is bundled with zstandard<0.23, which is a requirement of mitmproxy==10.2.3, which is in turn the current requirement for wapiti3. In testing, the first version of mitmproxy that allows a new enough version of zstandard to succeed in python 3.13 is v10.4.1.

Can the version of mitmproxy in pyproject.toml be updated from v10.2.3 to v10.4.1 or newer?

Thanks!

Reproduce with: docker run -it python:3 /bin/bash -c "pip install wapiti3"
Tested from MacOS 15.2 (arm64), both without and with --platform=linux/amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant