Skip to content

python3Packages.mitmproxy: fix build error and aioquic dependency issue#494138

Merged
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
eetwas:fix/python-mitmproxy
Feb 26, 2026
Merged

python3Packages.mitmproxy: fix build error and aioquic dependency issue#494138
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
eetwas:fix/python-mitmproxy

Conversation

@eetwas
Copy link
Contributor

@eetwas eetwas commented Feb 25, 2026

Fix mitmproxy build failure due to python dependency updates (as seen in #493860).

These fixes include pinning aioquic to version 1.2.0 for mitmproxy due to breaking changes within the 1.3.0 update and mitmproxy not yet having a patch ready for it (see mitmproxy/mitmproxy#7953 as well as aiortc/aioquic@773ec8a).
I am happy for feedback on this, since this solution is less than ideal, but with the 1.3.0 update already having been committed, this felt like the quickest least intrusive way to solve this issue.

Closes #493860

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 requested a review from SuperSandro2000 February 25, 2026 20:11
@eetwas eetwas force-pushed the fix/python-mitmproxy branch from 16ea6d9 to 39ee0a0 Compare February 25, 2026 20:11
@nixpkgs-ci nixpkgs-ci bot added 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. 6.topic: python Python is a high-level, general-purpose programming language. labels Feb 25, 2026
@eetwas eetwas force-pushed the fix/python-mitmproxy branch 2 times, most recently from 24a22dd to 1df1a7f Compare February 25, 2026 20:36
@eetwas eetwas force-pushed the fix/python-mitmproxy branch from 1df1a7f to 5b77ac0 Compare February 25, 2026 21:47
@SuperSandro2000
Copy link
Member

Thanks for opening the PR btw. That helps me a lot while fixing other things ❤️

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Feb 26, 2026
@SuperSandro2000 SuperSandro2000 added this pull request to the merge queue Feb 26, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2026
@SuperSandro2000 SuperSandro2000 added this pull request to the merge queue Feb 26, 2026
Merged via the queue into NixOS:master with commit 4326e11 Feb 26, 2026
31 of 33 checks passed
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. 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. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: mitmproxy

3 participants