From bcb34ba8b7a8876f3e665073a6f68d34acb514aa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 30 Nov 2023 09:44:06 +0100 Subject: [PATCH] python311Packages.qcodes-loop: remove Deprecation Spring 2023 --- .../python-modules/qcodes-loop/default.nix | 97 ------------------- .../python-modules/qcodes/default.nix | 7 -- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 4 files changed, 1 insertion(+), 106 deletions(-) delete mode 100644 pkgs/development/python-modules/qcodes-loop/default.nix diff --git a/pkgs/development/python-modules/qcodes-loop/default.nix b/pkgs/development/python-modules/qcodes-loop/default.nix deleted file mode 100644 index a20841319b74..000000000000 --- a/pkgs/development/python-modules/qcodes-loop/default.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchPypi -, h5py -, hickle -, hypothesis -, ipython -, lazy-loader -, matplotlib -, numpy -, pandas -, pyqt5 -, pyqtgraph -, pytest-mock -, pytest-xdist -, pytestCheckHook -, pythonOlder -, qcodes -, setuptools -, slack-sdk -, versioningit -, wheel -, xarray -}: - -buildPythonPackage rec { - pname = "qcodes-loop"; - version = "0.1.2"; - pyproject = true; - - disabled = pythonOlder "3.8"; - - src = fetchPypi { - inherit version; - pname = "qcodes_loop"; - hash = "sha256-TizNSC49n4Xc2BmJNziARlVXYQxp/LtwmKpgqQkQ3a8="; - }; - - nativeBuildInputs = [ - setuptools - versioningit - wheel - ]; - - propagatedBuildInputs = [ - qcodes - h5py - lazy-loader - matplotlib - numpy - pandas - xarray - hickle - ipython - ]; - - passthru.optional-dependencies = { - qtplot = [ - pyqtgraph - ]; - slack = [ - slack-sdk - ]; - }; - - nativeCheckInputs = [ - pytestCheckHook - hypothesis - pytest-xdist - pytest-mock - pyqt5 - ]; - - pythonImportsCheck = [ - "qcodes_loop" - ]; - - postInstall = '' - export HOME="$TMPDIR" - ''; - - disabledTests = [ - # AssertionError: False is not true - "TestHDF5_Format" - ]; - - meta = with lib; { - description = "Features previously in QCoDeS"; - homepage = "https://github.com/QCoDeS/Qcodes_loop"; - changelog = "https://github.com/QCoDeS/Qcodes_loop/releases/tag/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ evilmav ]; - # Some tests fail on this platform - broken = stdenv.isDarwin; - }; -} diff --git a/pkgs/development/python-modules/qcodes/default.nix b/pkgs/development/python-modules/qcodes/default.nix index 313a617cf37a..7db5c72f80c5 100644 --- a/pkgs/development/python-modules/qcodes/default.nix +++ b/pkgs/development/python-modules/qcodes/default.nix @@ -31,7 +31,6 @@ , pythonOlder , pyvisa , pyvisa-sim -, qcodes-loop , rsa , ruamel-yaml , setuptools @@ -99,12 +98,6 @@ buildPythonPackage rec { importlib-metadata ]; - passthru.optional-dependencies = { - loop = [ - qcodes-loop - ]; - }; - nativeCheckInputs = [ deepdiff hypothesis diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 3605c6373664..ccac3710dcd9 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -374,6 +374,7 @@ mapAliases ({ qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 qds_sdk = qds-sdk; # added 2023-10-21 Quandl = quandl; # added 2023-02-19 + qcodes-loop = throw "qcodes-loop has been removed due to deprecation"; # added 2023-11-30 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages"; rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01 radio_beam = radio-beam; # added 2023-11-04 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 71803baf74ff..e0f35fb332ee 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11953,8 +11953,6 @@ self: super: with self; { qcodes-contrib-drivers = callPackage ../development/python-modules/qcodes-contrib-drivers { }; - qcodes-loop = callPackage ../development/python-modules/qcodes-loop { }; - qcs-api-client = callPackage ../development/python-modules/qcs-api-client { }; qdarkstyle = callPackage ../development/python-modules/qdarkstyle { };