python312Packages.pint: disable failing tests & benchmarks

This commit is contained in:
Martin Weinelt 2024-03-24 12:12:47 +01:00
parent 811e4ff124
commit d57e54b504
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 6 additions and 0 deletions

View File

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