Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 9297928d602c
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 97028f053c08
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 10, 2021

  1. pythonPackages.r2pipe: Fix build

    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>
    aszlig authored and jonringer committed Jan 10, 2021
    Copy the full SHA
    97028f0 View commit details
    Browse the repository at this point in the history