diff --git a/pkgs/development/python-modules/cocotb/default.nix b/pkgs/development/python-modules/cocotb/default.nix index 5b25f03143ca..c5fb1a3df803 100644 --- a/pkgs/development/python-modules/cocotb/default.nix +++ b/pkgs/development/python-modules/cocotb/default.nix @@ -1,6 +1,7 @@ { lib, buildPythonPackage, + pythonAtLeast, fetchFromGitHub, setuptools, setuptools-scm, @@ -19,6 +20,11 @@ buildPythonPackage rec { version = "2.0.1"; format = "setuptools"; + # RuntimeError: cocotb 2.0.1 only supports a maximum Python version of 3.13. + # You can suppress this error by defining the environment variable COCOTB_IGNORE_PYTHON_REQUIRES + # There is no guarantee this will work and no support will be provided. + disabled = pythonAtLeast "3.14"; + # pypi source doesn't include tests src = fetchFromGitHub { owner = "cocotb";