python3Packages.llama-cloud-services: 0.6.77 -> 0.6.94 (#496641)
This commit is contained in:
@@ -2,32 +2,30 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
deepdiff,
|
||||
eval-type-backport,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
llama-cloud,
|
||||
llama-index-core,
|
||||
platformdirs,
|
||||
hatchling,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
python-dotenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "llama-cloud-services";
|
||||
version = "0.6.79";
|
||||
version = "0.6.94";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "run-llama";
|
||||
repo = "llama_cloud_services";
|
||||
tag = "llama-cloud-services-py%40${version}";
|
||||
tag = "llama-cloud-services-py%40${finalAttrs.version}";
|
||||
hash = "sha256-BjwXdv7ekehYGGnKk0ElVlxmGkmtam9RLECgxfM7lYc=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/py";
|
||||
sourceRoot = "${finalAttrs.src.name}/py";
|
||||
|
||||
pythonRelaxDeps = [ "llama-cloud" ];
|
||||
|
||||
@@ -48,11 +46,19 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "llama_cloud_services" ];
|
||||
|
||||
# update script sets wrong version
|
||||
passthru = {
|
||||
skipBulkUpdate = true;
|
||||
updateScript = gitUpdater {
|
||||
rev-prefix = "llama-cloud-services-py@";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Knowledge Agents and Management in the Cloud";
|
||||
homepage = "https://github.com/run-llama/llama_cloud_services";
|
||||
changelog = "https://github.com/run-llama/llama_cloud_services/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/run-llama/llama_cloud_services/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
deprecated,
|
||||
hatchling,
|
||||
llama-cloud,
|
||||
llama-index-core,
|
||||
@@ -18,11 +19,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-teAHUqswVkq/GcV1laIQf1aXw7A7CFgXtPyoSjjrvVk=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "llama-cloud" ];
|
||||
pythonRelaxDeps = [
|
||||
"deprecated"
|
||||
"llama-cloud"
|
||||
];
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
deprecated
|
||||
llama-cloud
|
||||
llama-index-core
|
||||
];
|
||||
|
||||
@@ -21,6 +21,9 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [ llama-cloud-services ];
|
||||
|
||||
# llama-cloud-services fails to read
|
||||
pythonRelaxDeps = [ "llama-cloud-services" ];
|
||||
|
||||
pythonImportsCheck = [ "llama_parse" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user