Merge pull request #302298 from fabaff/llama-index-bump

python312Packages.llama-index-embeddings-gemini: 0.1.5 -> 0.1.6, python312Packages.llama-index-embeddings-google: 0.1.4 -> 0.1.5
This commit is contained in:
Fabian Affolter 2024-04-07 22:39:01 +02:00 committed by GitHub
commit 07cd07206a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 33 additions and 37 deletions

View File

@ -1,17 +1,18 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, google-generativeai fetchPypi,
, llama-index-core google-generativeai,
, poetry-core llama-index-core,
, pytestCheckHook poetry-core,
, pythonRelaxDepsHook pytestCheckHook,
, pythonOlder pythonRelaxDepsHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-embeddings-gemini"; pname = "llama-index-embeddings-gemini";
version = "0.1.5"; version = "0.1.6";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,15 +20,16 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_embeddings_gemini"; pname = "llama_index_embeddings_gemini";
inherit version; inherit version;
hash = "sha256-FQzZ+MjuAApOImpxQhuaCFDIKdojzD5zqDOepo8fCNo="; hash = "sha256-HYwYA67/7gDxE7ZxQkkyblgwE83gZXuDmUuseXujr5g=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [ "google-generativeai" ];
"google-generativeai"
];
build-system = [ build-system = [
poetry-core poetry-core
];
nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
]; ];
@ -39,9 +41,7 @@ buildPythonPackage rec {
# Tests are only available in the mono repo # Tests are only available in the mono repo
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "llama_index.embeddings.gemini" ];
"llama_index.embeddings.gemini"
];
meta = with lib; { meta = with lib; {
description = "LlamaIndex Llms Integration for Gemini"; description = "LlamaIndex Llms Integration for Gemini";

View File

@ -1,16 +1,17 @@
{ lib {
, buildPythonPackage lib,
, fetchPypi buildPythonPackage,
, google-generativeai fetchPypi,
, llama-index-core google-generativeai,
, poetry-core llama-index-core,
, pythonOlder poetry-core,
, pythonRelaxDepsHook pythonOlder,
pythonRelaxDepsHook,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-embeddings-google"; pname = "llama-index-embeddings-google";
version = "0.1.4"; version = "0.1.5";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,17 +19,14 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_embeddings_google"; pname = "llama_index_embeddings_google";
inherit version; inherit version;
hash = "sha256-jQYN/5XPCrMjvwXBARdRDLC+3JhqgZjlcVajmcRlVJw="; hash = "sha256-mJ+H4klmGlpTGXLErlLNWH5IUpGyXnbAhNsgT5fwCHs=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [ "google-generativeai" ];
"google-generativeai"
];
build-system = [ build-system = [ poetry-core ];
poetry-core
pythonRelaxDepsHook nativeBuildInputs = [ pythonRelaxDepsHook ];
];
dependencies = [ dependencies = [
google-generativeai google-generativeai
@ -38,9 +36,7 @@ buildPythonPackage rec {
# Tests are only available in the mono repo # Tests are only available in the mono repo
doCheck = false; doCheck = false;
pythonImportsCheck = [ pythonImportsCheck = [ "llama_index.embeddings.google" ];
"llama_index.embeddings.google"
];
meta = with lib; { meta = with lib; {
description = "LlamaIndex Embeddings Integration for Google"; description = "LlamaIndex Embeddings Integration for Google";