From 978e4370d9f040f0a57662def5370d430105a2fe Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Mon, 21 Jul 2025 23:28:30 -0700 Subject: [PATCH] python3Pacakges.py-ecc: 7.0.0 -> 8.0.0 --- pkgs/development/python-modules/py-ecc/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/py-ecc/default.nix b/pkgs/development/python-modules/py-ecc/default.nix index 6ee5b0534673..d39204e9dd92 100644 --- a/pkgs/development/python-modules/py-ecc/default.nix +++ b/pkgs/development/python-modules/py-ecc/default.nix @@ -9,11 +9,12 @@ pythonAtLeast, pythonOlder, setuptools, + pydantic, }: buildPythonPackage rec { pname = "py-ecc"; - version = "7.0.0"; + version = "8.0.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +22,7 @@ buildPythonPackage rec { owner = "ethereum"; repo = "py_ecc"; rev = "v${version}"; - hash = "sha256-DKe+bI1GEzXg4Y4n5OA1/hWYz9L3X1AvaOFPEnCaAfs="; + hash = "sha256-4nmmX4TuErHxIDrBi+Ppr+4vuE7dSeqf8OqOxtqb3sY="; }; nativeBuildInputs = [ setuptools ]; @@ -32,7 +33,10 @@ buildPythonPackage rec { eth-utils ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + pydantic + ]; disabledTests = lib.optionals (pythonAtLeast "3.12") [ # https://github.com/ethereum/py_ecc/issues/133 @@ -44,6 +48,7 @@ buildPythonPackage rec { "test_pairing_negative_G1" "test_pairing_negative_G2" "test_pairing_output_order" + "test_install_local_wheel" ]; pythonImportsCheck = [ "py_ecc" ];