python3Packages.pyhamcrest: Disable failing tests

This commit is contained in:
Martin Weinelt 2022-12-31 02:59:44 +01:00
parent 5d16d1bde1
commit c89f79b582

View file

@ -23,6 +23,11 @@ buildPythonPackage rec {
hash = "sha256-CIkttiijbJCR0zdmwM5JvFogQKYuHUXHJhdyWonHcGk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = [
hatch-vcs
hatchling
@ -34,10 +39,12 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'dynamic = ["version"]' 'version = "${version}"'
'';
disabledTests = [
# Tests started failing with numpy 1.24
"test_numpy_numeric_type_complex"
"test_numpy_numeric_type_float"
"test_numpy_numeric_type_int"
];
pythonImportsCheck = [
"hamcrest"