From eef8fba73acc6691494c9068f77e14f348cb36fd Mon Sep 17 00:00:00 2001 From: Simon Guilbault Date: Fri, 12 Jul 2024 14:24:53 -0400 Subject: [PATCH] Fixing numpy and updating some python dependencies (#63) * Adding python3-numpy and updating some python depedencies * Django 4.2 is EOL, djangorestframework 3.15.2 depends on django>=4.2 --- Containerfile | 2 +- requirements.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Containerfile b/Containerfile index a32f60a..906b163 100644 --- a/Containerfile +++ b/Containerfile @@ -3,7 +3,7 @@ FROM ubuntu:22.04 ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 -RUN apt-get update && apt-get install -y tzdata && apt install -y python3.10 python3-pip python3-dev libpq-dev nginx libmysqlclient-dev build-essential libsasl2-dev libldap2-dev libssl-dev xmlsec1 gettext +RUN apt-get update && apt-get install -y tzdata && apt install -y python3.10 python3-pip python3-dev python3-numpy libpq-dev nginx libmysqlclient-dev build-essential libsasl2-dev libldap2-dev libssl-dev xmlsec1 gettext WORKDIR /opt/userportal diff --git a/requirements.txt b/requirements.txt index c04932f..d880486 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ asgiref==3.4.1 -certifi==2023.7.22 +certifi==2024.07.04 cffi==1.15.1 chardet==4.0.0 charset-normalizer==3.3.1 @@ -13,7 +13,7 @@ django-debug-toolbar==3.2.4 django-ldapdb==1.5.1 django-settings-export==1.2.1 django-watchman==1.3.0 -djangorestframework==3.12.4 +djangorestframework==3.13.1 djangorestframework-api-key==2.0.0 djangorestframework-datatables==0.7.0 djangosaml2==1.5.1 @@ -51,6 +51,6 @@ six==1.15.0 sqlparse==0.5.0 typing-extensions==3.7.4.3 tzlocal==2.1 -urllib3==1.26.18 +urllib3==1.26.19 xmlschema==1.9.2 -zipp==3.4.1 +zipp==3.19.1