python311Packages.llama-index: relax dependency llama-index-core
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
poetry-core,
|
||||
pythonRelaxDepsHook,
|
||||
llama-index-agent-openai,
|
||||
llama-index-cli,
|
||||
llama-index-core,
|
||||
@@ -13,19 +15,26 @@
|
||||
llama-index-question-gen-openai,
|
||||
llama-index-readers-file,
|
||||
llama-index-readers-llama-parse,
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage {
|
||||
pname = "llama-index";
|
||||
|
||||
inherit (llama-index-core) version src meta;
|
||||
|
||||
pyproject = true;
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"llama-index-core"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
llama-index-agent-openai
|
||||
llama-index-cli
|
||||
llama-index-core
|
||||
|
||||
Reference in New Issue
Block a user