Fix dependencies for Python 3.8 compatibility
Update numpy and scipy to versions compatible with Python 3.8: - numpy: 1.24.3 → 1.23.5 - scipy: 1.11.4 → 1.10.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -24,8 +24,9 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
# Install Python dependencies in stages for better caching
|
# Install Python dependencies in stages for better caching
|
||||||
RUN pip install --no-cache-dir numpy==1.24.3
|
# Using versions compatible with Python 3.8
|
||||||
RUN pip install --no-cache-dir scipy==1.11.4
|
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)
|
# Install Essentia - Python 3.8 version (latest available with pre-built wheels)
|
||||||
RUN ARCH=$(uname -m) && \
|
RUN ARCH=$(uname -m) && \
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ mutagen==1.47.0
|
|||||||
# Essentia for genre/mood/instrument classification
|
# Essentia for genre/mood/instrument classification
|
||||||
# Note: Essentia is installed separately in Dockerfile from official wheels
|
# Note: Essentia is installed separately in Dockerfile from official wheels
|
||||||
|
|
||||||
# Scientific Computing
|
# Scientific Computing (versions compatible with Python 3.8)
|
||||||
numpy==1.24.3
|
numpy==1.23.5
|
||||||
scipy==1.11.4
|
scipy==1.10.1
|
||||||
|
|
||||||
# Configuration & Validation
|
# Configuration & Validation
|
||||||
pydantic==2.5.3
|
pydantic==2.5.3
|
||||||
|
|||||||
Reference in New Issue
Block a user