diff --git a/backend/Dockerfile b/backend/Dockerfile index 6fdee00..120924a 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -24,8 +24,9 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel COPY requirements.txt . # Install Python dependencies in stages for better caching -RUN pip install --no-cache-dir numpy==1.24.3 -RUN pip install --no-cache-dir scipy==1.11.4 +# Using versions compatible with Python 3.8 +RUN pip install --no-cache-dir numpy==1.23.5 +RUN pip install --no-cache-dir scipy==1.10.1 # Install Essentia - Python 3.8 version (latest available with pre-built wheels) RUN ARCH=$(uname -m) && \ diff --git a/backend/requirements.txt b/backend/requirements.txt index 549f0ec..cc25133 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -18,9 +18,9 @@ mutagen==1.47.0 # Essentia for genre/mood/instrument classification # Note: Essentia is installed separately in Dockerfile from official wheels -# Scientific Computing -numpy==1.24.3 -scipy==1.11.4 +# Scientific Computing (versions compatible with Python 3.8) +numpy==1.23.5 +scipy==1.10.1 # Configuration & Validation pydantic==2.5.3