From 78f7541d9207b372cbed0ac35ab62c14b44b7e4f Mon Sep 17 00:00:00 2001 From: hellwolf Date: Sun, 1 Feb 2026 18:08:57 +0200 Subject: [PATCH] python314Packages.py-evm: disabled from 3.14 --- pkgs/development/python-modules/py-evm/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/py-evm/default.nix b/pkgs/development/python-modules/py-evm/default.nix index 9b78ea9c6180..b1e79891093c 100644 --- a/pkgs/development/python-modules/py-evm/default.nix +++ b/pkgs/development/python-modules/py-evm/default.nix @@ -1,7 +1,9 @@ { lib, - buildPythonPackage, fetchFromGitHub, + # python module stuff + buildPythonPackage, + pythonAtLeast, setuptools, # dependencies cached-property, @@ -20,7 +22,7 @@ hypothesis, pytestCheckHook, pytest-xdist, - eth-hash, + pycryptodome, }: buildPythonPackage rec { @@ -28,6 +30,9 @@ buildPythonPackage rec { version = "0.12.1-beta.1"; pyproject = true; + # py-evm project has been archived by upstream; its support should be deprecated from "3.14". + disabled = pythonAtLeast "3.14"; + src = fetchFromGitHub { owner = "ethereum"; repo = "py-evm"; @@ -56,8 +61,8 @@ buildPythonPackage rec { hypothesis pytestCheckHook pytest-xdist - ] - ++ eth-hash.optional-dependencies.pycryptodome; + pycryptodome + ]; disabledTests = [ # side-effect: runs pip online check and is blocked by sandbox