python312Packages.pint: disable failing tests & benchmarks

This commit is contained in:
Martin Weinelt
2024-03-27 18:35:08 +01:00
parent 811e4ff124
commit d57e54b504
@@ -50,6 +50,10 @@ buildPythonPackage rec {
uncertainties
];
pytestFlagsArray = [
"--benchmark-disable"
];
preCheck = ''
export HOME=$(mktemp -d)
'';
@@ -57,6 +61,8 @@ buildPythonPackage rec {
disabledTests = [
# https://github.com/hgrecco/pint/issues/1898
"test_load_definitions_stage_2"
# pytest8 deprecation
"test_nonnumeric_magnitudes"
];
meta = with lib; {