From daf253d255e9084aa474300a8c5eff5007eacdf4 Mon Sep 17 00:00:00 2001 From: Hardik Zinzuvadiya <25708027+Z4nzu@users.noreply.github.com> Date: Sun, 15 Mar 2026 13:55:05 +0530 Subject: [PATCH] Phase 11: requirements.txt and Dockerfile cleanup - requirements.txt: remove boxes, lolcat (system CLI tools not pip packages), flask (unused), requests (unused at runtime); pin rich>=13.0.0 - Dockerfile: add --break-system-packages to pip3 install (PEP 668 compliance on Kali/Debian externally-managed Python environments) --- Dockerfile | 3 ++- requirements.txt | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index bf5d54d..3777f0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,8 @@ WORKDIR /root/hackingtool COPY requirements.txt ./ # Bug 21 fix: boxes/lolcat/flask are NOT pip packages — removed -RUN pip3 install --no-cache-dir -r requirements.txt +# --break-system-packages needed on Kali (PEP 668 externally-managed env) +RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt COPY . . diff --git a/requirements.txt b/requirements.txt index 5fd2515..fd89c76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -boxes -flask -lolcat -requests -rich \ No newline at end of file +# Python dependencies for hackingtool +# boxes and lolcat are system CLI tools, not pip packages — install via apt/brew +# flask is unused — removed +# requests is unused at runtime — removed +rich>=13.0.0