From 438146900f56c7b09987b346b390decf705c1061 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 26 Feb 2026 17:41:24 +0000 Subject: [PATCH] python3Packages.dalle-mini: drop --- .../python-modules/dalle-mini/default.nix | 76 ------------------- .../rocm-modules/release-attrPaths.json | 1 - pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 4 files changed, 1 insertion(+), 79 deletions(-) delete mode 100644 pkgs/development/python-modules/dalle-mini/default.nix diff --git a/pkgs/development/python-modules/dalle-mini/default.nix b/pkgs/development/python-modules/dalle-mini/default.nix deleted file mode 100644 index 9c227162d351..000000000000 --- a/pkgs/development/python-modules/dalle-mini/default.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - fetchpatch, - - # dependencies - einops, - emoji, - flax, - ftfy, - jax, - jaxlib, - orbax-checkpoint, - pillow, - pydantic, - transformers, - unidecode, - wandb, -}: - -buildPythonPackage rec { - pname = "dalle-mini"; - version = "0.1.5"; - pyproject = true; - - src = fetchPypi { - inherit pname version; - hash = "sha256-k4XILjNNz0FPcAzwPEeqe5Lj24S2Y139uc9o/1IUS1c="; - }; - - # Fix incompatibility with the latest JAX versions - # See https://github.com/borisdayma/dalle-mini/pull/338 - patches = [ - (fetchpatch { - url = "https://github.com/borisdayma/dalle-mini/pull/338/commits/22ffccf03f3e207731a481e3e42bdb564ceebb69.patch"; - hash = "sha256-LIOyfeq/oVYukG+1rfy5PjjsJcjADCjn18x/hVmLkPY="; - }) - ]; - - pythonRelaxDeps = [ - "transformers" - "jax" - "flax" - ]; - - pythonRemoveDeps = [ - "orbax" - ]; - - dependencies = [ - einops - emoji - flax - ftfy - jax - jaxlib - orbax-checkpoint - pillow - pydantic - transformers - unidecode - wandb - ]; - - doCheck = false; # no upstream tests - - pythonImportsCheck = [ "dalle_mini" ]; - - meta = { - description = "Generate images from a text prompt"; - homepage = "https://github.com/borisdayma/dalle-mini"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ r-burns ]; - }; -} diff --git a/pkgs/development/rocm-modules/release-attrPaths.json b/pkgs/development/rocm-modules/release-attrPaths.json index ba0e760fa06a..f58339359248 100644 --- a/pkgs/development/rocm-modules/release-attrPaths.json +++ b/pkgs/development/rocm-modules/release-attrPaths.json @@ -218,7 +218,6 @@ "python3Packages.curated-transformers", "python3Packages.cut-cross-entropy", "python3Packages.cvxpy", - "python3Packages.dalle-mini", "python3Packages.dask-mpi", "python3Packages.dctorch", "python3Packages.deepdish", diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 812e54c77375..808e04e22d49 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -133,6 +133,7 @@ mapAliases { configshell = throw "'configshell' has been renamed to/replaced by 'configshell-fb'"; # Converted to throw 2025-10-29 cx_Freeze = throw "'cx_Freeze' has been renamed to/replaced by 'cx-freeze'"; # Converted to throw 2025-10-29 cx_oracle = throw "'cx_oracle' has been renamed to/replaced by 'cx-oracle'"; # Converted to throw 2025-10-29 + dalle-mini = throw "'dalle-mini' has been removed due to lack of upstream maintenance"; # added 2026-02-26 datatable = throw "'datatable' has been removed due to lack of upstream maintenance"; # added 2026-02-02 dateutil = throw "'dateutil' has been renamed to/replaced by 'python-dateutil'"; # Converted to throw 2025-10-29 debian = throw "'debian' has been renamed to/replaced by 'python-debian'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 21b64b48e01d..5a09e70fe95d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3509,8 +3509,6 @@ self: super: with self; { daiquiri = callPackage ../development/python-modules/daiquiri { }; - dalle-mini = callPackage ../development/python-modules/dalle-mini { }; - daltonlens = callPackage ../development/python-modules/daltonlens { }; daphne = callPackage ../development/python-modules/daphne { };