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

View File

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