python310Packages.cirq-core: 0.14.1 -> 0.15.0
This commit is contained in:
parent
bd517b86a1
commit
9db358bd27
2 changed files with 5 additions and 13 deletions
|
@ -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}";
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue