mitmproxy: 12.2.1 -> 12.2.2#509538
Closed
SuperSandro2000 wants to merge 0 commit intoNixOS:masterfrom
Closed
Conversation
Contributor
|
TureBentzin
suggested changes
Apr 14, 2026
Contributor
TureBentzin
left a comment
There was a problem hiding this comment.
[nix-shell:~/.cache/nixpkgs-review/pr-509538]$ mitmproxy
Traceback (most recent call last):
File "/nix/store/9sg43wnzdfx8600j22jqyiyxi3kcqdix-python3.13-mitmproxy-12.2.2/bin/.mitmproxy-wrapped", line 6, in <module>
from mitmproxy.tools.main import mitmproxy
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/tools/main.py", line 15, in <module>
from mitmproxy import master
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/master.py", line 5, in <module>
from .addons import termlog
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/addons/__init__.py", line 4, in <module>
from mitmproxy.addons import blocklist
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/addons/blocklist.py", line 6, in <module>
from mitmproxy import flowfilter
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/flowfilter.py", line 47, in <module>
from mitmproxy import dns
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/dns.py", line 17, in <module>
from mitmproxy import flow
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/flow.py", line 12, in <module>
from mitmproxy import connection
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/connection.py", line 12, in <module>
from mitmproxy import certs
File "/nix/store/8gmrcj5s32a3w9l127lminnd34q2akr4-python3.14-mitmproxy-12.2.2/lib/python3.14/site-packages/mitmproxy/certs.py", line 16, in <module>
import OpenSSL
File "/nix/store/sl8427v9p6ywxq2irwl8h4hdgx8chz7b-python3.14-pyopenssl-25.3.0/lib/python3.14/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import SSL, crypto
File "/nix/store/sl8427v9p6ywxq2irwl8h4hdgx8chz7b-python3.14-pyopenssl-25.3.0/lib/python3.14/site-packages/OpenSSL/SSL.py", line 15, in <module>
from cryptography import x509
File "/nix/store/nq4j7210q6jn3hn0q9dcqzrgiybzr4z5-python3.14-cryptography-46.0.5/lib/python3.14/site-packages/cryptography/x509/__init__.py", line 7, in <module>
from cryptography.x509 import certificate_transparency, verification
File "/nix/store/nq4j7210q6jn3hn0q9dcqzrgiybzr4z5-python3.14-cryptography-46.0.5/lib/python3.14/site-packages/cryptography/x509/certificate_transparency.py", line 8, in <module>
from cryptography.hazmat.bindings._rust import x509 as rust_x509
ImportError: /nix/store/nq4j7210q6jn3hn0q9dcqzrgiybzr4z5-python3.14-cryptography-46.0.5/lib/python3.14/site-packages/cryptography/hazmat/bindings/_rust.abi3.so: undefined symbol: PyType_Freeze
The mitmproxy bin seems to no longer run out of the box.
I also compared the behavior to 12.2.1 where it ran fine.
Please let me know if that's a user inflicted error.
Member
Author
|
Update already done in #510580 The issue is likely because you started it inside a nixpkgs-review shell which has issues with some python packages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Diff: mitmproxy/mitmproxy@v12.2.1...v12.2.2
Changelog: https://github.com/mitmproxy/mitmproxy/blob/v12.2.2/CHANGELOG.md
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.