diff options
-rw-r--r-- | pkgs/development/python-modules/cirq-core/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cirq-core/default.nix b/pkgs/development/python-modules/cirq-core/default.nix index 9bc81a09960..4c69172fdd4 100644 --- a/pkgs/development/python-modules/cirq-core/default.nix +++ b/pkgs/development/python-modules/cirq-core/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , buildPythonPackage +, pythonAtLeast , pythonOlder , fetchFromGitHub , fetchpatch @@ -34,7 +35,8 @@ buildPythonPackage rec { version = "1.1.0"; format = "setuptools"; - disabled = pythonOlder "3.7"; + # Upstream package is broken on Python 3.11 https://github.com/quantumlib/Cirq/issues/6018 + disabled = pythonOlder "3.7" || pythonAtLeast "3.11"; src = fetchFromGitHub { owner = "quantumlib"; |