Unverified Commit 6e80dae7 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #309533 from eclairevoyant/scalene-fix

python312Packages.scalene: fix build
parents 2524cd6d 59d3022a
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -27,15 +27,6 @@ buildPythonPackage rec {
    hash = "sha256-B4pDLP3+56toQZyvh6+6NimCKv0cpcO0ydcqV1tJZkg=";
  };

  patches = [
    # fix scalene_config import. remove on next update
    (fetchpatch {
      name = "scalene_config-import-fix.patch";
      url = "https://github.com/plasma-umass/scalene/commit/cd437be11f600ac0925ce77efa516e6d83934200.patch";
      hash = "sha256-YjFh+mu5jyIJYUQFhmGqLXhec6lgQAdj4tWxij3NkwU=";
    })
  ];

  nativeBuildInputs = [
    cython
    setuptools
@@ -61,14 +52,6 @@ buildPythonPackage rec {
    numpy
  ];

  disabledTestPaths = [
    # remove on next update
    # Failing Darwin-specific tests that were subsequently removed from the source repo.
    "tests/test_coverup_35.py"
    "tests/test_coverup_42.py"
    "tests/test_coverup_43.py"
  ];

  # remove scalene directory to prevent pytest import confusion
  preCheck = ''
    rm -rf scalene