python312Packages.scalene: fix build

This commit is contained in:
éclairevoyant 2024-05-06 07:19:27 -04:00
parent 48833103ac
commit 59d3022abe
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -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