Skip to content

Commit bdd828f

Browse files
python314Packages.py-evm: disabled from 3.14 (#485961)
2 parents 2e27f76 + 78f7541 commit bdd828f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

pkgs/development/python-modules/py-evm/default.nix

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
lib,
3-
buildPythonPackage,
43
fetchFromGitHub,
4+
# python module stuff
5+
buildPythonPackage,
6+
pythonAtLeast,
57
setuptools,
68
# dependencies
79
cached-property,
@@ -20,14 +22,17 @@
2022
hypothesis,
2123
pytestCheckHook,
2224
pytest-xdist,
23-
eth-hash,
25+
pycryptodome,
2426
}:
2527

2628
buildPythonPackage rec {
2729
pname = "py-evm";
2830
version = "0.12.1-beta.1";
2931
pyproject = true;
3032

33+
# py-evm project has been archived by upstream; its support should be deprecated from "3.14".
34+
disabled = pythonAtLeast "3.14";
35+
3136
src = fetchFromGitHub {
3237
owner = "ethereum";
3338
repo = "py-evm";
@@ -56,8 +61,8 @@ buildPythonPackage rec {
5661
hypothesis
5762
pytestCheckHook
5863
pytest-xdist
59-
]
60-
++ eth-hash.optional-dependencies.pycryptodome;
64+
pycryptodome
65+
];
6166

6267
disabledTests = [
6368
# side-effect: runs pip online check and is blocked by sandbox

0 commit comments

Comments
 (0)