python310Packages.matplotx: move checkInputs to nativeCheckInputs
This commit is contained in:
parent
f6799dcd4b
commit
fafd1a8123
1 changed files with 2 additions and 2 deletions
|
@ -42,14 +42,13 @@ buildPythonPackage rec {
|
|||
];
|
||||
};
|
||||
|
||||
checkInputs = passthru.optional-dependencies.all;
|
||||
# This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase.
|
||||
# Not sure of the details, but we can avoid it by changing the matplotlib backend during testing.
|
||||
env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg";
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
] ++ passthru.optional-dependencies.all;
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_spy.py" # Requires meshzoo (non-free) and pytest-codeblocks (not packaged)
|
||||
|
@ -65,3 +64,4 @@ buildPythonPackage rec {
|
|||
maintainers = with lib.maintainers; [ swflint ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue