python310Packages.rapidfuzz: Disable failing test on x86_64-darwin

This one crashes with SIGILL.
This commit is contained in:
Martin Weinelt 2023-03-07 01:53:24 +01:00
parent fa94414f70
commit 2275b71653
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -19,11 +19,10 @@
buildPythonPackage rec {
pname = "rapidfuzz";
version = "2.13.7";
format = "pyproject";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchFromGitHub {
owner = "maxbachmann";
repo = "RapidFuzz";
@ -70,6 +69,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
# segfaults
"test_cdist"
];
pythonImportsCheck = [
"rapidfuzz.fuzz"
"rapidfuzz.string_metric"