diff --git a/pkgs/development/python-modules/cirq-core/default.nix b/pkgs/development/python-modules/cirq-core/default.nix index 9bc81a09960c..4c69172fdd4c 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";