Merge pull request #179998 from fabaff/cirq-bump
python3Packages.cirq-core: 0.14.1 -> 0.15.0
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "duet";
|
||||
version = "0.2.1";
|
||||
version = "0.2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "duet";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hK2Cx7dSm1mGM2z9oCoRogfa2aIsjyJcdpSSfdHhPmw=";
|
||||
sha256 = "sha256-9CTAupAxZI1twoLpgr7VfECw70QunE6pk+SskiT3JDw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ typing-extensions ];
|
||||
|
||||
Reference in New Issue
Block a user