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
pythonPackages.r2pipe: Fix build #107973
pythonPackages.r2pipe: Fix build #107973
Conversation
Result of 3 packages built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix the commit message please? It should be python3Packages.r2pipe: fix build
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the commit and PR title to pythonPackages.r2pipe: Fix build
Whoops, sorry, wasn't that awake anymore. |
Regression introduced by 6556711. The string start and end quoting styles have changed in the upstream source code between version 1.4.2 and version 1.5.3, so the checkPhase now results in the following error: ====================================================================== ERROR: native (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: native Traceback (most recent call last): File ".../unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/build/r2pipe-1.5.3/r2pipe/native.py", line 113, in <module> class RCore(Structure): # 1 File "/build/r2pipe-1.5.3/r2pipe/native.py", line 125, in RCore cmd_str, r_core_cmd_str = register( File "/build/r2pipe-1.5.3/r2pipe/native.py", line 108, in register method = WrappedRMethod(cname, args, ret) File "/build/r2pipe-1.5.3/r2pipe/native.py", line 53, in __init__ r2 = r2lib() File "/build/r2pipe-1.5.3/r2pipe/native.py", line 27, in r2lib raise ImportError("No native r_core library") ImportError: No native r_core library Signed-off-by: aszlig <aszlig@nix.build>
Result of 3 packages built:
|
This is a semi-automatic executed nixpkgs-review. If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC. Result of 3 packages built:
The following issues got detected with the above build packages. python37Packages.r2pipe.log: Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
Zero tests run by pytest got detected: 'Ran 0 tests in 0.000s'
|
Result of 3 packages marked as broken and skipped:
|
@SuperSandro2000: These warnings are all unrelated and not in scope for this PR (if we're going to start improving the package, we're speaking about a complete refactor), so can you please re-review for the scope of this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
still an improvement to nixpkgs :)
https://github.com/NixOS/nixpkgs/pull/107973
3 packages built:
python37Packages.r2pipe python38Packages.r2pipe python39Packages.r2pipe
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/github-block-evasion-is-not-acceptable/12763/67 |
Regression introduced by 6556711.
The string start and end quoting styles have changed in the upstream source code between version 1.4.2 and version 1.5.3, so the
checkPhase
now results in the following error: