From 2918b6da8ea64e87382120109b022c77bf84e08d Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 11 Feb 2024 21:51:34 +0100 Subject: [PATCH] upgraded dependencies --- Dockerfile | 2 +- README.md | 4 ++-- requirements.txt | 6 +++--- requirements_dev.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2416ab2..1bf54c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN mkdir -p /app WORKDIR /app COPY requirements.txt /app RUN python3 -m venv . -RUN python3 -m pip install pip==23.3.2 +RUN python3 -m pip install pip==24.0 RUN python3 -m pip install setuptools==69.0.3 RUN python3 -m pip install --no-cache-dir -r requirements.txt COPY ./app /app diff --git a/README.md b/README.md index 67d1db4..eeec74b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The goal is to deploy on [Flask] a [Deep Learning] model as a microservice. The The code has been tested using: * [Python] (3.10): an interpreted high-level programming language for general-purpose programming. -* [Jupyter Lab] (4.0): a web-based interactive development environment for [Jupyter Notebooks], code and data. +* [Jupyter Lab] (4.1): a web-based interactive development environment for [Jupyter Notebooks], code and data. * [Flask] (3.0): a microframework for [Python] based on Werkzeug, Jinja 2 and good intentions. * [Gunicorn] (21.2): a [Python] [WSGI] HTTP Server for UNIX. * [NGINX] (1.25): a free, open-source, high-performance HTTP server, reverse proxy, and IMAP/POP3 proxy server. @@ -43,7 +43,7 @@ Command to configure virtual environment with [venv]: ```bash ~/deeplearning_flask$ python3 -m venv dlflask3 ~/deeplearning_flask$ source dlflask3/bin/activate -(dlflask3)~/deeplearning_flask$ python3 -m pip install pip==23.3.2 +(dlflask3)~/deeplearning_flask$ python3 -m pip install pip==24.0 (dlflask3)~/deeplearning_flask$ python3 -m pip install setuptools==69.0.3 (dlflask3)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt ``` diff --git a/requirements.txt b/requirements.txt index 619d6fd..e3b0a84 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -Flask==3.0.1 +Flask==3.0.2 gunicorn==21.2.0 -numpy==1.26.3 +numpy==1.26.4 Pillow==10.2.0 -pytest==7.4.4 +pytest==8.0.0 requests==2.31.0 scikit-image==0.22.0 tensorflow==2.15.0 diff --git a/requirements_dev.txt b/requirements_dev.txt index 2b8b944..17c8e39 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,3 +1,3 @@ -r requirements.txt -jupyterlab==4.0.11 +jupyterlab==4.1.0 matplotlib==3.8.2