python3Packages.cirq-rigetti: drop

The cirq-rigetti module was removed from the upstream repo:
https://github.com/quantumlib/Cirq/issues/7297
This commit is contained in:
Robert Schütz
2025-09-13 23:37:56 -07:00
parent cb43406f18
commit 607e54ec53
4 changed files with 1 additions and 55 deletions
@@ -1,50 +0,0 @@
{
buildPythonPackage,
cirq-core,
setuptools,
pyquil,
qcs-sdk-python,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "cirq-rigetti";
pyproject = true;
inherit (cirq-core) version src;
sourceRoot = "${src.name}/${pname}";
pythonRelaxDeps = [
"pyquil"
"qcs-sdk-python"
];
postPatch = ''
# Remove outdated test
rm cirq_rigetti/service_test.py
'';
build-system = [ setuptools ];
dependencies = [
cirq-core
pyquil
qcs-sdk-python
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# No need to test the version number
"cirq_rigetti/_version_test.py"
];
# cirq's importlib hook doesn't work here
#pythonImportsCheck = [ "cirq_rigetti" ];
meta = {
inherit (cirq-core.meta) changelog license maintainers;
description = "Cirq package to simulate and connect to Rigetti quantum computers and Quil QVM";
homepage = "https://github.com/quantumlib/Cirq/tree/main/cirq-rigetti";
};
}
@@ -10,7 +10,6 @@
cirq-google,
cirq-ionq,
cirq-pasqal,
cirq-rigetti,
cirq-web,
# tests
@@ -30,7 +29,6 @@ buildPythonPackage {
cirq-google
cirq-ionq
cirq-pasqal
cirq-rigetti
cirq-web
];
@@ -44,7 +42,6 @@ buildPythonPackage {
"cirq-google"
"cirq-ionq"
"cirq-pasqal"
"cirq-rigetti"
"cirq-web"
"dev_tools"
];
+1
View File
@@ -148,6 +148,7 @@ mapAliases ({
chia-rs = throw "chia-rs has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26
class-registry = phx-class-registry; # added 2021-10-05
cirq-ft = throw "cirq-ft is not longer provieded by cirq upstream"; # added 2024-08-31
cirq-rigetti = throw "cirq-rigetti was removed because it is no longer provided by upstream"; # added 2025-09-13
ciscoconfparse = throw "ciscoconfparse was archived by upstream, use ciscoconfparse2"; # added 2025-03-08
cld2-cffi = throw "cld2-cffi has been removed, as the last release was in 2016"; # added 2024-05-20
clvm = throw "clvm has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26
-2
View File
@@ -2572,8 +2572,6 @@ self: super: with self; {
cirq-pasqal = callPackage ../development/python-modules/cirq-pasqal { };
cirq-rigetti = callPackage ../development/python-modules/cirq-rigetti { };
cirq-web = callPackage ../development/python-modules/cirq-web { };
ciscoconfparse2 = callPackage ../development/python-modules/ciscoconfparse2 { };