Skip to content

Commit

Permalink
fix dependency issues:
Browse files Browse the repository at this point in the history
With worker beeing incompatible with python 3.12:
pytorch/pytorch#110436

With core having an incompatible dependency with flask 3

python-restx/flask-restx#567
  • Loading branch information
b3n4kh committed Oct 17, 2023
1 parent 8fc4c7f commit 294c574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.worker
@@ -1,4 +1,4 @@
FROM python:3-slim as builder
FROM python:3.11-slim as builder

WORKDIR /app/

Expand All @@ -19,7 +19,7 @@ RUN python3 -m venv /app/.venv && \
pip install --no-cache-dir --index-url https://download.pytorch.org/whl/cpu torch && \
pip install --no-cache-dir -e /app/

FROM python:3-slim
FROM python:3.11-slim

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion src/core/pyproject.toml
Expand Up @@ -14,7 +14,7 @@ classifiers = [
]
requires-python = ">=3.11"
dependencies = [
"Flask",
"Flask==2.3.3",
"Flask-Cors",
"Flask-JWT-Extended",
"Flask-Migrate",
Expand Down

0 comments on commit 294c574

Please sign in to comment.