python312Packages.py-ecc: disable failing tests
This commit is contained in:
parent
7d0ac96293
commit
c6d343cabd
1 changed files with 13 additions and 0 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue