From aa58061d9f81c91aafdb230d7971b666a65e26a7 Mon Sep 17 00:00:00 2001 From: Simen Fivelstad Smaaberg <66635118+simensma-fresh@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:18:35 +0000 Subject: [PATCH] MDS-5935 Upgraded permit service python version --- services/permits/Dockerfile | 2 +- services/permits/requirements.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/services/permits/Dockerfile b/services/permits/Dockerfile index 2b38ad0a82..579b62a7ad 100644 --- a/services/permits/Dockerfile +++ b/services/permits/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.13-slim WORKDIR /code diff --git a/services/permits/requirements.txt b/services/permits/requirements.txt index 558ecef0e4..a7ddccfb38 100644 --- a/services/permits/requirements.txt +++ b/services/permits/requirements.txt @@ -4,9 +4,10 @@ git+https://github.com/deepset-ai/haystack.git@v1.24.1#egg=rest_api&subdirectory --extra-index-url https://download.pytorch.org/whl/cpu torch==2.1.1 Authlib~=1.3.0 -requests~=2.31.0 +requests~=2.32.3 python-dotenv==1.0.0 boto3 unstructured[pdf]==0.12.4 fastapi==0.108.0 -pdf2image==1.17.0 \ No newline at end of file +pdf2image==1.17.0 +Pillow==10.3.0