From 70b22d92d5edd35682571e078961727f1aabda24 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 11 Oct 2025 15:17:55 -0400 Subject: [PATCH] python3Packages.treex: drop Has transitively been marked broken for at least a full release cycle. Dropping per RFC 180. --- .../python-modules/treex/default.nix | 77 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 79 deletions(-) delete mode 100644 pkgs/development/python-modules/treex/default.nix diff --git a/pkgs/development/python-modules/treex/default.nix b/pkgs/development/python-modules/treex/default.nix deleted file mode 100644 index 3f76b078f17f..000000000000 --- a/pkgs/development/python-modules/treex/default.nix +++ /dev/null @@ -1,77 +0,0 @@ -{ - buildPythonPackage, - cloudpickle, - dm-haiku, - einops, - fetchFromGitHub, - flax, - hypothesis, - jaxlib, - keras, - lib, - poetry-core, - pytestCheckHook, - pyyaml, - rich, - tensorflow, - treeo, - torchmetrics, - torch, -}: - -buildPythonPackage rec { - pname = "treex"; - version = "0.6.11"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "cgarciae"; - repo = "treex"; - tag = version; - hash = "sha256-ObOnbtAT4SlrwOms1jtn7/XKZorGISGY6VuhQlC3DaQ="; - }; - - # At the time of writing (2022-03-29), rich is currently at version 11.0.0. - # The treeo dependency is compatible with a patch, but not marked as such in - # treex. See https://github.com/cgarciae/treex/issues/68. - pythonRelaxDeps = [ - "certifi" - "flax" - "rich" - "treeo" - ]; - - nativeBuildInputs = [ - poetry-core - ]; - - buildInputs = [ jaxlib ]; - - propagatedBuildInputs = [ - einops - flax - pyyaml - rich - treeo - torch - ]; - - nativeCheckInputs = [ - cloudpickle - dm-haiku - hypothesis - keras - pytestCheckHook - tensorflow - torchmetrics - ]; - - pythonImportsCheck = [ "treex" ]; - - meta = with lib; { - description = "Pytree Module system for Deep Learning in JAX"; - homepage = "https://github.com/cgarciae/treex"; - license = licenses.mit; - maintainers = with maintainers; [ ndl ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index ef1478fcfe39..c171810b57bf 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -838,6 +838,7 @@ mapAliases { transip = throw "transip has been removed because it is no longer maintained. TransIP SOAP V5 API was marked as deprecated"; # added 2023-02-27 py-tree-sitter = throw "Was merged with tree-sitter."; # added 2024-03-20 transmissionrpc = throw "transmissionrpc has been removed because it no longer builds and is unmaintained"; # added 2024-10-12 + treex = throw "treex has been removed because it has transitively been marked as broken since 2023."; # Added 2025-10-11 trezor_agent = trezor-agent; # Added 2024-01-07 tumpa = throw "tumpa was promoted to a top-level attribute"; # added 2022-11-19 tvdb_api = tvdb-api; # added 2023-10-20 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e7d1eb23f942..e0b79cbcf6c0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18751,8 +18751,6 @@ self: super: with self; { treescope = callPackage ../development/python-modules/treescope { }; - treex = callPackage ../development/python-modules/treex { }; - treq = callPackage ../development/python-modules/treq { }; trevorproxy = callPackage ../development/python-modules/trevorproxy { };