Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6
FROM python:3.13.11

Copilot AI Dec 22, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dependencies specified in requirements.txt and requirements-web.txt are incompatible with Python 3.13.11. The project uses torch==1.5.0, tensorflow==2.2.1, flask==1.0.2, numpy==1.18.4, and other packages with versions from 2020, which were built for Python 3.6-3.8. These packages will fail to install or run on Python 3.13.11 because:

  1. PyTorch 1.5.0 only supports up to Python 3.8
  2. TensorFlow 2.2.1 only supports up to Python 3.8
  3. NumPy 1.18.4 does not have wheels for Python 3.13
  4. Flask 1.0.2 may have compatibility issues with Python 3.13

Before upgrading to Python 3.13.11, the requirements files must be updated to versions compatible with Python 3.13. Consider upgrading to an intermediate Python version (e.g., 3.9 or 3.10) first, or update all dependencies simultaneously.

Suggested change
FROM python:3.13.11
FROM python:3.8

Copilot uses AI. Check for mistakes.

# Copy the current directory contents into the container at /app
COPY / .
Expand Down