From 5946122ff93217fc0c26bb2e88fb00a35f9f3666 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 31 Aug 2024 13:21:30 +0200 Subject: [PATCH] python312Pasckages.cirq-ft: remove --- .../python-modules/cirq-ft/default.nix | 45 ------------------- .../python-modules/cirq/default.nix | 3 -- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 4 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 pkgs/development/python-modules/cirq-ft/default.nix diff --git a/pkgs/development/python-modules/cirq-ft/default.nix b/pkgs/development/python-modules/cirq-ft/default.nix deleted file mode 100644 index 6ee4c28c8879..000000000000 --- a/pkgs/development/python-modules/cirq-ft/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ - attrs, - buildPythonPackage, - cachetools, - cirq-core, - ipython, - ipywidgets, - nbconvert, - nbformat, - pytestCheckHook, - setuptools, -}: - -buildPythonPackage rec { - pname = "cirq-ft"; - pyproject = true; - inherit (cirq-core) version src meta; - - sourceRoot = "${src.name}/${pname}"; - - nativeBuildInputs = [ setuptools ]; - - propagatedBuildInputs = [ - attrs - cachetools - cirq-core - ipython - ipywidgets - nbconvert - nbformat - ]; - - nativeCheckInputs = [ - ipython - pytestCheckHook - ]; - - disabledTests = [ - # Upstream doesn't always adjust the version - "test_version" - ]; - - # cirq's importlib hook doesn't work here - #pythonImportsCheck = [ "cirq_ft" ]; -} diff --git a/pkgs/development/python-modules/cirq/default.nix b/pkgs/development/python-modules/cirq/default.nix index d640655c4cd8..54eee66b5f20 100644 --- a/pkgs/development/python-modules/cirq/default.nix +++ b/pkgs/development/python-modules/cirq/default.nix @@ -2,7 +2,6 @@ buildPythonPackage, cirq-aqt, cirq-core, - cirq-ft, cirq-google, cirq-ionq, cirq-pasqal, @@ -19,7 +18,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ cirq-aqt cirq-core - cirq-ft cirq-ionq cirq-google cirq-rigetti @@ -34,7 +32,6 @@ buildPythonPackage rec { disabledTestPaths = [ "cirq-aqt" "cirq-core" - "cirq-ft" "cirq-google" "cirq-ionq" "cirq-pasqal" diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index d210b6970090..fd78ca2714e1 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -97,6 +97,7 @@ mapAliases ({ chiavdf = throw "chiavdf has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26 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 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 clvm-rs = throw "clvm-rs has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4332f6d5adcc..479bfccd92a4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2221,8 +2221,6 @@ self: super: with self; { cirq-core = callPackage ../development/python-modules/cirq-core { }; - cirq-ft = callPackage ../development/python-modules/cirq-ft { }; - cirq-ionq = callPackage ../development/python-modules/cirq-ionq { }; cirq-google = callPackage ../development/python-modules/cirq-google { };