Merge pull request #153500 from fabaff/fix-cirq
python3Packages.cirq-rigetti: disable outdated test
This commit is contained in:
commit
f1d7f42a16
1 changed files with 5 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pyquil
|
, pyquil
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
|
, pythonOlder
|
||||||
, qcs-api-client
|
, qcs-api-client
|
||||||
, retrying
|
, retrying
|
||||||
, rfc3339
|
, rfc3339
|
||||||
|
@ -26,6 +27,8 @@ buildPythonPackage rec {
|
||||||
pname = "cirq-rigetti";
|
pname = "cirq-rigetti";
|
||||||
inherit (cirq-core) version src meta;
|
inherit (cirq-core) version src meta;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
sourceRoot = "source/${pname}";
|
sourceRoot = "source/${pname}";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -36,9 +39,10 @@ buildPythonPackage rec {
|
||||||
--replace "httpcore~=0.11.1" "httpcore" \
|
--replace "httpcore~=0.11.1" "httpcore" \
|
||||||
--replace "httpx~=0.15.5" "httpx" \
|
--replace "httpx~=0.15.5" "httpx" \
|
||||||
--replace "idna~=2.10" "idna" \
|
--replace "idna~=2.10" "idna" \
|
||||||
--replace "requests~=2.18" "requests" \
|
|
||||||
--replace "pyjwt~=1.7.1" "pyjwt" \
|
--replace "pyjwt~=1.7.1" "pyjwt" \
|
||||||
--replace "qcs-api-client~=0.8.0" "qcs-api-client"
|
--replace "qcs-api-client~=0.8.0" "qcs-api-client"
|
||||||
|
# Remove outdated test
|
||||||
|
rm cirq_rigetti/service_test.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue