Merge pull request #309533 from eclairevoyant/scalene-fix

python312Packages.scalene: fix build
This commit is contained in:
Aleksana
2024-05-07 20:46:25 +08:00
committed by GitHub
@@ -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