python312Packages.py-ecc: disable failing tests

This commit is contained in:
Robert Schütz 2024-02-23 15:44:38 -08:00
parent 7d0ac96293
commit c6d343cabd

View file

@ -5,6 +5,7 @@
, eth-typing , eth-typing
, eth-utils , eth-utils
, pytestCheckHook , pytestCheckHook
, pythonAtLeast
, pythonOlder , pythonOlder
, setuptools , setuptools
}: }:
@ -36,6 +37,18 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# https://github.com/ethereum/py_ecc/issues/133
"test_FQ2_object"
"test_pairing_bilinearity_on_G1"
"test_pairing_bilinearity_on_G2"
"test_pairing_composit_check"
"test_pairing_is_non_degenerate"
"test_pairing_negative_G1"
"test_pairing_negative_G2"
"test_pairing_output_order"
];
pythonImportsCheck = [ "py_ecc" ]; pythonImportsCheck = [ "py_ecc" ];
meta = with lib; { meta = with lib; {