python312Packages.llama-index-vector-stores-postgres: relax pgvector dependency version

This commit is contained in:
Gaetan Lepage 2024-11-29 09:51:45 +01:00
parent 22a3deafee
commit b860c30ef8

View File

@ -7,7 +7,6 @@
pgvector,
poetry-core,
psycopg2,
pythonOlder,
}:
buildPythonPackage rec {
@ -15,8 +14,6 @@ buildPythonPackage rec {
version = "0.2.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_index_vector_stores_postgres";
inherit version;
@ -25,6 +22,10 @@ buildPythonPackage rec {
pythonRemoveDeps = [ "psycopg2-binary" ];
pythonRelaxDeps = [
"pgvector"
];
build-system = [
poetry-core
];
@ -38,10 +39,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "llama_index.vector_stores.postgres" ];
meta = with lib; {
meta = {
description = "LlamaIndex Vector Store Integration for Postgres";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-postgres";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}