From fd874ff11fa56270ed7877b2056385681fd7bb89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 20 Jul 2026 16:57:01 -0700 Subject: [PATCH] python3Packages.amqtt: drop Its only reverse dependency was the now dropped volvooncall. --- .../python-modules/amqtt/default.nix | 88 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 90 deletions(-) delete mode 100644 pkgs/development/python-modules/amqtt/default.nix diff --git a/pkgs/development/python-modules/amqtt/default.nix b/pkgs/development/python-modules/amqtt/default.nix deleted file mode 100644 index 47c55501b8b2..000000000000 --- a/pkgs/development/python-modules/amqtt/default.nix +++ /dev/null @@ -1,88 +0,0 @@ -{ - lib, - buildPythonPackage, - docopt, - fetchFromGitHub, - hypothesis, - passlib, - poetry-core, - pytest-logdog, - pytest-asyncio, - pytestCheckHook, - pythonAtLeast, - pyyaml, - setuptools, - transitions, - websockets, -}: - -buildPythonPackage { - pname = "amqtt"; - version = "unstable-2022-05-29"; - pyproject = true; - - src = fetchFromGitHub { - owner = "Yakifo"; - repo = "amqtt"; - rev = "09ac98d39a711dcff0d8f22686916e1c2495144b"; - hash = "sha256-8T1XhBSOiArlUQbQ41LsUogDgOurLhf+M8mjIrrAC4s="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'transitions = "^0.8.0"' 'transitions = "*"' \ - --replace 'websockets = ">=9.0,<11.0"' 'websockets = "*"' - ''; - - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ - docopt - passlib - pyyaml - setuptools - transitions - websockets - ]; - - nativeCheckInputs = [ - hypothesis - pytest-logdog - pytest-asyncio - pytestCheckHook - ]; - - pytestFlags = [ "--asyncio-mode=auto" ]; - - disabledTests = lib.optionals (pythonAtLeast "3.12") [ - # stuck in epoll - "test_publish_qos0" - "test_publish_qos1" - "test_publish_qos1_retry" - "test_publish_qos2" - "test_publish_qos2_retry" - "test_receive_qos0" - "test_receive_qos1" - "test_receive_qos2" - "test_start_stop" - ]; - - disabledTestPaths = [ - # Test are not ported from hbmqtt yet - "tests/test_client.py" - ]; - - preCheck = '' - # Some tests need amqtt - export PATH=$out/bin:$PATH - ''; - - pythonImportsCheck = [ "amqtt" ]; - - meta = { - description = "Python MQTT client and broker implementation"; - homepage = "https://amqtt.readthedocs.io/"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ fab ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 9ee784fb8f48..c249ebe6676a 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -86,6 +86,7 @@ mapAliases { amazon-kclpy = throw "amazon-kclpy has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03 amazon_kclpy = throw "'amazon_kclpy' has been renamed to/replaced by 'amazon-kclpy'"; # Converted to throw 2025-10-29 amqplib = throw "amqplib has been removed as it was unmaintained upstream"; # Added 2025-11-22 + amqtt = throw "'amqtt' has been removed because it was broken and no longer used"; # added 2026-07-20 ancp-bids = ancpbids; # added 2026-06-18 ansible-vault-rw = ansible-vault; # Added 2026-07-10 ansiconv = throw "ansiconv has been removed because it was archived upstream"; # Added 2026-01-14 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9e6ceff67d06..7fb92973a610 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1067,8 +1067,6 @@ self: super: with self; { amqp = callPackage ../development/python-modules/amqp { }; - amqtt = callPackage ../development/python-modules/amqtt { }; - amshan = callPackage ../development/python-modules/amshan { }; anchor-kr = callPackage ../development/python-modules/anchor-kr { };