From ffa0fffb6a1dc3f7760790b0d42788e088f96ee0 Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Fri, 4 Oct 2024 10:55:30 +0200 Subject: [PATCH 1/2] Add setuptools on dockerfile --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index ca90a827..9afbff45 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -18,7 +18,7 @@ COPY docker/ramp/docker-requirements.txt /tmp/docker-requirements.txt RUN pip install -r /tmp/docker-requirements.txt # RUN pip install --upgrade pip -# RUN pip install --upgrade setuptools +RUN pip install --upgrade setuptools COPY requirements.txt /tmp/requirements.txt COPY api-requirements.txt /tmp/api-requirements.txt From e7e5e1e9440f1b58b068f3424f28181ba14bb09c Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Fri, 4 Oct 2024 11:01:21 +0200 Subject: [PATCH 2/2] Upgrade hot fair utilities --- backend/Dockerfile | 5 +++-- backend/requirements.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 9afbff45..cac5f5ed 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -18,10 +18,11 @@ COPY docker/ramp/docker-requirements.txt /tmp/docker-requirements.txt RUN pip install -r /tmp/docker-requirements.txt # RUN pip install --upgrade pip -RUN pip install --upgrade setuptools +# RUN pip install --upgrade setuptools + COPY requirements.txt /tmp/requirements.txt COPY api-requirements.txt /tmp/api-requirements.txt - +# Don't use legacy resolver , TODO : fix this dependencies RUN pip install --use-deprecated=legacy-resolver -r /tmp/requirements.txt diff --git a/backend/requirements.txt b/backend/requirements.txt index 2244ac9e..e6edc6ac 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,3 +1,3 @@ -r api-requirements.txt -hot-fair-utilities==1.2.3 +hot-fair-utilities==1.3.0 tflite-runtime==2.14.0 \ No newline at end of file