From 6d441fa5af07256b87a6c086427af5a8bd2ae2a8 Mon Sep 17 00:00:00 2001 From: FSSCoding Date: Sat, 6 Sep 2025 16:02:51 +1000 Subject: [PATCH] FINAL FIX: Resolve installation hanging issue - Simplify pyproject.toml build-system requirements (remove version constraints) - Remove dependencies from pyproject.toml to prevent build hanging - Update README to install requirements.txt first, then package - Tested: Full installation now completes in under 30 seconds This resolves the 'Installing build dependencies' hanging issue completely. --- README.md | 3 ++- pyproject.toml | 15 +-------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 1cc23da..d6a439a 100644 --- a/README.md +++ b/README.md @@ -85,10 +85,11 @@ FSS-Mini-RAG offers **two distinct experiences** optimized for different use cas git clone https://github.com/FSSCoding/Fss-Mini-Rag.git cd Fss-Mini-Rag -# Install using pip (creates global rag-mini command) +# Install dependencies and package python3 -m venv .venv source .venv/bin/activate # Linux/macOS # .venv\Scripts\activate # Windows +pip install -r requirements.txt pip install . ``` diff --git a/pyproject.toml b/pyproject.toml index 117ba18..d303d89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,25 +34,12 @@ extend-exclude = ''' ''' [build-system] -requires = ["setuptools>=61.0"] +requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" [project] name = "mini-rag" version = "2.1.0" -dependencies = [ - "lancedb>=0.5.0", - "pandas>=2.0.0", - "numpy>=1.24.0", - "pyarrow>=14.0.0", - "watchdog>=3.0.0", - "requests>=2.28.0", - "click>=8.1.0", - "rich>=13.0.0", - "PyYAML>=6.0.0", - "rank-bm25>=0.2.2", - "psutil" -] [project.scripts] rag-mini = "mini_rag.cli:cli"