mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
python312Packages.scalene: fix build
This commit is contained in:
parent
48833103ac
commit
59d3022abe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user