python3Packages.fastnumbers: disable tests on ARM

This commit is contained in:
Ben Siraphob 2022-02-08 11:00:36 -06:00
parent 78f6b5cb05
commit 1fc7d47cb4
No known key found for this signature in database
GPG Key ID: 45F0E5D788143267

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, buildPythonPackage
, fastnumbers
, fetchFromGitHub
@ -26,6 +27,10 @@ buildPythonPackage rec {
typing-extensions
];
# Tests fail due to numeric precision differences on ARM
# See https://github.com/SethMMorton/fastnumbers/issues/28
doCheck = !(stdenv.isAarch64 || stdenv.isAarch32);
checkInputs = [
hypothesis
pytestCheckHook