From 1897a6d410fc5ac5c1bcd8dadfa15468af56cbb3 Mon Sep 17 00:00:00 2001 From: GraysonTinker Date: Wed, 25 Mar 2026 22:49:23 -0700 Subject: [PATCH] python3Packages.llama-index-embeddings-google: drop --- .../llama-index-embeddings-google/default.nix | 41 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 4 -- 3 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 pkgs/development/python-modules/llama-index-embeddings-google/default.nix diff --git a/pkgs/development/python-modules/llama-index-embeddings-google/default.nix b/pkgs/development/python-modules/llama-index-embeddings-google/default.nix deleted file mode 100644 index 593f08cf91d3..000000000000 --- a/pkgs/development/python-modules/llama-index-embeddings-google/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - google-generativeai, - llama-index-core, - hatchling, -}: - -buildPythonPackage (finalAttrs: { - pname = "llama-index-embeddings-google"; - version = "0.4.2"; - pyproject = true; - - src = fetchPypi { - pname = "llama_index_embeddings_google"; - inherit (finalAttrs) version; - hash = "sha256-dWV2fKudLsxfpHTGrGljMBU62vYUqzf8NarQ3Nl9poI="; - }; - - pythonRelaxDeps = [ "google-generativeai" ]; - - build-system = [ hatchling ]; - - dependencies = [ - google-generativeai - llama-index-core - ]; - - # Tests are only available in the mono repo - doCheck = false; - - pythonImportsCheck = [ "llama_index.embeddings.google" ]; - - meta = { - description = "LlamaIndex Embeddings Integration for Google"; - homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-google"; - 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 30c4895720c1..3859a39e66c6 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -291,6 +291,7 @@ mapAliases { linear-garage-door = throw "'linear-garage-door' has been superseded by 'nice-go'"; # Added 2025-11-16 linear_operator = throw "'linear_operator' has been renamed to/replaced by 'linear-operator'"; # Converted to throw 2025-10-29 llama-cloud-services = throw "'llama-cloud-services' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # Added 2026-03-25 + llama-index-embeddings-google = throw "'llama-index-embeddings-google' has been removed as it was deprecated upstream in favor of 'llama-index-embeddings-google-genai'"; # Added 2026-03-25 llama-index-indices-managed-llama-cloud = throw "'llama-index-indices-managed-llama-cloud' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # Added 2026-03-24 llama-index-multi-modal-llms-openai = throw "'llama-index-multi-modal-llms-openai' has been removed as it was deprecated in favor of 'llama-index-llms-openai'"; # added 2026-03-25 llama-index-readers-llama-parse = throw "'llama-index-readers-llama-parse' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # added 2026-03-25 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index abd8c9ccbc36..bdfed08f91a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9017,10 +9017,6 @@ self: super: with self; { callPackage ../development/python-modules/llama-index-embeddings-gemini { }; - llama-index-embeddings-google = - callPackage ../development/python-modules/llama-index-embeddings-google - { }; - llama-index-embeddings-huggingface = callPackage ../development/python-modules/llama-index-embeddings-huggingface { };