Skip to content

mitmproxy: 12.2.1 -> 12.2.2#509538

Closed
SuperSandro2000 wants to merge 0 commit intoNixOS:masterfrom
SuperSandro2000:mitmproxy
Closed

mitmproxy: 12.2.1 -> 12.2.2#509538
SuperSandro2000 wants to merge 0 commit intoNixOS:masterfrom
SuperSandro2000:mitmproxy

Conversation

@SuperSandro2000
Copy link
Copy Markdown
Member

Diff: mitmproxy/mitmproxy@v12.2.1...v12.2.2

Changelog: https://github.com/mitmproxy/mitmproxy/blob/v12.2.2/CHANGELOG.md

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: python Python is a high-level, general-purpose programming language. labels Apr 13, 2026
@TureBentzin
Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 509538
Commit: 2e2f5cbbac5016b736c12dac8e484f1be7b08e14


x86_64-linux

✅ 8 packages built:
  • mitmproxy (python313Packages.mitmproxy)
  • mitmproxy.dist (python313Packages.mitmproxy.dist)
  • mitmproxy2swagger
  • mitmproxy2swagger.dist
  • python314Packages.mitmproxy
  • python314Packages.mitmproxy.dist
  • wapiti
  • wapiti.dist

Copy link
Copy Markdown
Contributor

@TureBentzin TureBentzin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Apr 14, 2026
@SuperSandro2000
Copy link
Copy Markdown
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants