From 4a8202138cce26e07379d95c0446be7cbdc07384 Mon Sep 17 00:00:00 2001 From: pablo-statsig <98780502+pablo-statsig@users.noreply.github.com> Date: Thu, 5 Jun 2025 18:01:00 -0700 Subject: [PATCH 1/2] Remove graspologic pip installation that no longer seems to be used As far as I can tell this is no longer actually used and its usage was removed in this commit: https://github.com/HKUDS/LightRAG/commit/83353ab9a619e921fb71a8b62070acfd6f773b49#diff-a346bcfb05aab0cc0c0baa6018976f4efab339e8cade9f6f8fb658fcbd54ae2e Our systems are flagging this package as having a dependency on a package with a less permissive license so I would appreciate if it can be removed if its no longer needed. Let me know if that is not the case. --- lightrag/kg/networkx_impl.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lightrag/kg/networkx_impl.py b/lightrag/kg/networkx_impl.py index c92bbd30..8db19f59 100644 --- a/lightrag/kg/networkx_impl.py +++ b/lightrag/kg/networkx_impl.py @@ -11,9 +11,6 @@ import pipmaster as pm if not pm.is_installed("networkx"): pm.install("networkx") -if not pm.is_installed("graspologic"): - pm.install("graspologic") - import networkx as nx from .shared_storage import ( get_storage_lock, From fb3006b44deae2e0a8ad336a609467408b77d9a6 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 26 Jun 2025 18:45:01 +0800 Subject: [PATCH 2/2] Update requirements.txt --- lightrag/api/requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/lightrag/api/requirements.txt b/lightrag/api/requirements.txt index 80fb74cf..808f95b5 100644 --- a/lightrag/api/requirements.txt +++ b/lightrag/api/requirements.txt @@ -4,7 +4,6 @@ asyncpg distro dotenv fastapi -graspologic>=3.4.1 httpcore httpx jiter