From 331a5634d8fdf916683caf6d7e51c13a7b2ed672 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 23 Nov 2024 00:23:44 -0800 Subject: [PATCH] [CLEANUP] --- Dockerfile | 4 ++-- pyproject.toml | 3 --- requirements.txt | 4 ---- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index f39a467..e79055c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Copy only requirements first for better caching COPY requirements.txt . -# Install Python dependencies +# Install Python dependencies with increased timeout and retry RUN pip install --upgrade pip && \ - pip install -r requirements.txt + pip install --default-timeout=100 --retries=5 -r requirements.txt # Copy the application code FROM base diff --git a/pyproject.toml b/pyproject.toml index ce8304d..737eac6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,10 +25,7 @@ classifiers = [ python = "^3.10" swarms = "*" asyncio = "*" -signal = "*" -time = "*" uuid = "*" -contextlib = "*" datetime = "*" typing = "*" orjson = "*" diff --git a/requirements.txt b/requirements.txt index 7bc16ec..50de8b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,5 @@ asyncio -signal -time uuid -concurrent.futures -contextlib datetime typing orjson