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

python312Packages.capstone: enable, add distutils patch #325882

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

Mrmaxmeier
Copy link
Contributor

@Mrmaxmeier Mrmaxmeier commented Jul 9, 2024

This fixes the python bindings for capstone on python 3.12 by pulling in a merged but not yet released patch from upstream (capstone-engine/capstone#2271).

Note: nixpkgs-review is not happy because multiple dependants rely on unicorn which is broken on python 3.12 for similar reasons. (=> #325888)

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/) <- smoke-tested python312 and python311 module functionality

@Mrmaxmeier Mrmaxmeier force-pushed the python-capstone-python312 branch from 87d199e to a01707e Compare July 9, 2024 19:51
Copy link
Contributor

@risicle risicle left a comment

Choose a reason for hiding this comment

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

WFM macos 12 x86_64 & nixos x86_64

@risicle risicle merged commit 0cd34d9 into NixOS:master Jul 9, 2024
8 of 9 checks passed
@Mrmaxmeier Mrmaxmeier deleted the python-capstone-python312 branch July 9, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants