From 9db358bd2764f2a032597d42ecd8575985241ba7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Jul 2022 00:00:30 +0200 Subject: [PATCH] python310Packages.cirq-core: 0.14.1 -> 0.15.0 --- .../python-modules/cirq-core/default.nix | 4 ++-- pkgs/development/python-modules/cirq/default.nix | 14 +++----------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/cirq-core/default.nix b/pkgs/development/python-modules/cirq-core/default.nix index 3141623500e8..6684037b3568 100644 --- a/pkgs/development/python-modules/cirq-core/default.nix +++ b/pkgs/development/python-modules/cirq-core/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pname = "cirq-core"; - version = "0.14.1"; + version = "0.15.0"; disabled = pythonOlder "3.6"; @@ -39,7 +39,7 @@ buildPythonPackage rec { owner = "quantumlib"; repo = "cirq"; rev = "v${version}"; - sha256 = "sha256-cIDwV3IBXrTJ4jC1/HYmduY3tLe/f6wj8CWZ4cnThG8="; + sha256 = "sha256-E36zXpv+9WBNYvv/shItS7Q34gYqUyADlqWd+m4Jpps="; }; sourceRoot = "source/${pname}"; diff --git a/pkgs/development/python-modules/cirq/default.nix b/pkgs/development/python-modules/cirq/default.nix index 17623817e7b6..0531020a2139 100644 --- a/pkgs/development/python-modules/cirq/default.nix +++ b/pkgs/development/python-modules/cirq/default.nix @@ -1,5 +1,4 @@ { buildPythonPackage -, fetchpatch , cirq-aqt , cirq-core , cirq-google @@ -7,7 +6,6 @@ , cirq-pasqal , cirq-rigetti , cirq-web - # test inputs , pytestCheckHook }: @@ -15,14 +13,6 @@ buildPythonPackage rec { pname = "cirq"; inherit (cirq-core) version src meta; - patches = [ - (fetchpatch { - url = "https://github.com/quantumlib/Cirq/commit/b832db606e5f1850b1eda168a6d4a8e77d8ec711.patch"; - name = "pr-5330-prevent-implicit-packages.patch"; - sha256 = "sha256-HTEH3fFxPiBedaz5GxZjXayvoiazwHysKZIOzqwZmbg="; - }) - ]; - propagatedBuildInputs = [ cirq-aqt cirq-core @@ -34,7 +24,9 @@ buildPythonPackage rec { ]; # pythonImportsCheck = [ "cirq" "cirq.Circuit" ]; # cirq's importlib hook doesn't work here - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; # Don't run submodule or development tool tests disabledTestPaths = [