From 9cfa2194ae1c209d95e803e849cf7571241bdd34 Mon Sep 17 00:00:00 2001 From: James Sharkey Date: Tue, 30 Jul 2024 10:59:39 +0100 Subject: [PATCH] Dependency updates --- Dockerfile | 7 ++----- requirements.txt | 10 +++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 54e8cc0..d575ff9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,9 @@ -FROM python:3.10-slim +FROM python:3.12-slim RUN ln -sf /bin/bash /bin/sh -# To allow the Unicode +- sign to be printed, set IO encoding: -ENV PYTHONIOENCODING UTF-8 - # To ensure output printed correctly, alter buffering: -ENV PYTHONUNBUFFERED 0 +ENV PYTHONUNBUFFERED=0 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/requirements.txt b/requirements.txt index 672ac8e..961468c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ # Dependencies: -Flask==2.3.2 +Flask==2.3.3 mpmath==1.3.0 -numpy==1.24.3 +numpy==1.26.4 sympy==1.12 -gunicorn==20.1.0 -pytest==7.3.1 -pytest-cov==4.0.0 +gunicorn==22.0.0 +pytest==8.3.2 +pytest-cov==5.0.0