From 0fbe6fec88ff2c8bd633147ce2677f624b98aaf2 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 17 Oct 2024 17:07:31 -0400 Subject: [PATCH] python312Packages.quamash: drop --- .../python-modules/quamash/default.nix | 48 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 pkgs/development/python-modules/quamash/default.nix diff --git a/pkgs/development/python-modules/quamash/default.nix b/pkgs/development/python-modules/quamash/default.nix deleted file mode 100644 index b920d7421f8e..000000000000 --- a/pkgs/development/python-modules/quamash/default.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - pytest, - isPy3k, - pyqt5, - pyqt ? pyqt5, - fetchpatch, -}: - -buildPythonPackage rec { - pname = "quamash"; - version = "0.6.1"; - format = "setuptools"; - - disabled = !isPy3k; - - # No tests in PyPi tarball - src = fetchFromGitHub { - owner = "harvimt"; - repo = "quamash"; - rev = "version-${version}"; - sha256 = "117rp9r4lz0kfz4dmmpa35hp6nhbh6b4xq0jmgvqm68g9hwdxmqa"; - }; - - patches = [ - # add 3.10 compatibility, merged remove on next update - (fetchpatch { - url = "https://github.com/harvimt/quamash/pull/126/commits/1e9047bec739dbc9d6ab337fc1a111a8b1090244.patch"; - hash = "sha256-6gomY82AOKkrt32SEBKnRugzhnC5FAyKDs6K5xaxnRM="; - }) - ]; - - propagatedBuildInputs = [ pyqt ]; - - nativeCheckInputs = [ pytest ]; - checkPhase = '' - pytest -k 'test_qthreadexec.py' # the others cause the test execution to be aborted, I think because of asyncio - ''; - - meta = with lib; { - description = "Implementation of the PEP 3156 event-loop (asyncio) api using the Qt Event-Loop"; - homepage = "https://github.com/harvimt/quamash"; - license = licenses.bsd2; - maintainers = with maintainers; [ borisbabic ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 322711518c5b..dc53fcb6da71 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -542,6 +542,7 @@ mapAliases ({ qds-sdk = throw "qds-sdk was removed as it is unmaintained upstream and depends on the removed boto package"; # Added 2024-09-22 qds_sdk = qds-sdk; # added 2023-10-21 Quandl = quandl; # added 2023-02-19 + quamash = throw "'quamash' has been removed, since it is unmaintained and broken"; # added 2024-10-17 querystring_parser = querystring-parser; # added 2024-01-07 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"; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bf85502d987a..691734694a25 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13329,8 +13329,6 @@ self: super: with self; { qualysclient = callPackage ../development/python-modules/qualysclient { }; - quamash = callPackage ../development/python-modules/quamash { }; - quandl = callPackage ../development/python-modules/quandl { }; quantile-forest = callPackage ../development/python-modules/quantile-forest { };