From f320beeea56ae02fc9a85b95504d151a4c19db4f Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Sat, 11 Oct 2025 15:19:12 -0400 Subject: [PATCH] python3Packages.treeo: drop Has been marked broken for at least a full release cycle. Dropping per RFC 180. --- .../python-modules/treeo/default.nix | 54 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 pkgs/development/python-modules/treeo/default.nix diff --git a/pkgs/development/python-modules/treeo/default.nix b/pkgs/development/python-modules/treeo/default.nix deleted file mode 100644 index 27716b9fd31e..000000000000 --- a/pkgs/development/python-modules/treeo/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - buildPythonPackage, - fetchFromGitHub, - fetchpatch, - jax, - jaxlib, - lib, - poetry-core, -}: - -buildPythonPackage rec { - pname = "treeo"; - # Note that there is a version 0.4.0, but it was released in error. At the - # time of writing (2022-03-29), v0.0.11 is the latest as reported on GitHub - # and PyPI. - version = "0.4.0"; - format = "pyproject"; - - src = fetchFromGitHub { - owner = "cgarciae"; - repo = "treeo"; - tag = version; - hash = "sha256-0py7sKjq6WqdsZwTq61jqaIbULTfwtpz29TTpt8M2Zw="; - }; - - # See https://github.com/cgarciae/treex/issues/68. - patches = [ - (fetchpatch { - url = "https://github.com/cgarciae/treeo/pull/14/commits/022915da2b3bf76406a7c79d1b4593bee7956f16.patch"; - hash = "sha256-WGxJqqrf2g0yZe30RyG1xxbloiqj1awuf1Y4eh5y+z0="; - }) - (fetchpatch { - url = "https://github.com/cgarciae/treeo/pull/14/commits/99f9488bd0c977780844fd79743167b0010d359b.patch"; - hash = "sha256-oKDYs+Ah0QXkhiJysIudQ6VLIiUiIcnQisxYp6GJuTc="; - }) - ]; - - nativeBuildInputs = [ poetry-core ]; - - # jax is not declared in the dependencies, but is necessary. - propagatedBuildInputs = [ jax ]; - - nativeCheckInputs = [ jaxlib ]; - pythonImportsCheck = [ "treeo" ]; - - meta = with lib; { - description = "Small library for creating and manipulating custom JAX Pytree classes"; - homepage = "https://github.com/cgarciae/treeo"; - license = licenses.mit; - maintainers = with maintainers; [ ndl ]; - # obsolete as of 2023-02-27 and not updated for more than a year as of 2023-08 - broken = true; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index c171810b57bf..bc295da5d9e6 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 + treeo = throw "treeo has been removed because it has been marked as broken since 2023."; # Added 2025-10-11 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 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e0b79cbcf6c0..d5c763515b94 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -18747,8 +18747,6 @@ self: super: with self; { treelog = callPackage ../development/python-modules/treelog { }; - treeo = callPackage ../development/python-modules/treeo { }; - treescope = callPackage ../development/python-modules/treescope { }; treq = callPackage ../development/python-modules/treq { };