From 889abfe6cdcddbd07977263a40696b788f456d84 Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 14 Jul 2024 11:34:14 +0200 Subject: [PATCH] upgraded dependencies --- Dockerfile | 4 ++-- README.md | 12 ++++++------ requirements.txt | 6 +++--- requirements_dev.txt | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b16326..a7eb91d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ RUN mkdir -p /app WORKDIR /app COPY requirements.txt /app RUN python3 -m venv . -RUN python3 -m pip install pip==24.1 -RUN python3 -m pip install setuptools==70.1.0 +RUN python3 -m pip install pip==24.1.2 +RUN python3 -m pip install setuptools==70.3.0 RUN python3 -m pip install --no-cache-dir -r requirements.txt COPY ./app /app EXPOSE 5000 diff --git a/README.md b/README.md index 32d4f20..1401d34 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,13 @@ The code has been tested using: - [Flask] (3.0): a microframework for [Python] based on Werkzeug, Jinja 2 and good intentions. - [Gunicorn] (22.0): a [Python] [WSGI] HTTP Server for UNIX. - [NGINX] (1.27): a free, open-source, high-performance HTTP server, reverse proxy, and IMAP/POP3 proxy server. -- [Docker] (26.1): an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. -- [Docker Compose] (2.27): a tool for defining and running multi-container [Docker] applications. +- [Docker] (27.0): an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud. +- [Docker Compose] (2.28): a tool for defining and running multi-container [Docker] applications. - [Keras] ([TensorFlow] built-in): a high-level neural networks [API], written in [Python] and capable of running on top of [TensorFlow]. -- [TensorFlow] (2.16): an open source software [Deep Learning] library for high performance numerical computation using data flow graphs. +- [TensorFlow] (2.17): an open source software [Deep Learning] library for high performance numerical computation using data flow graphs. - [Matplotlib] (3.9): a plotting library for [Python] and its numerical mathematics extension [NumPy]. - [NumPy] (1.26): a library for [Python], adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. -- [Ruff] (0.4): An extremely fast Python linter and code formatter, written in Rust. +- [Ruff] (0.5): An extremely fast Python linter and code formatter, written in Rust. - [scikit-image] (0.24): a collection of algorithms for image processing with [Python]. ### PYTHON VIRTUAL ENVIRONMENT @@ -43,8 +43,8 @@ Command to configure virtual environment with [venv]: ```bash ~/deeplearning_flask$ python3 -m venv .venv ~/deeplearning_flask$ source .venv/bin/activate -(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.1 -(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==70.1.0 +(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.1.2 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==70.3.0 (.venv)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt ``` diff --git a/requirements.txt b/requirements.txt index bf78277..6e72d63 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ Flask==3.0.3 gunicorn==22.0.0 numpy==1.26.4 -Pillow==10.3.0 +Pillow==10.4.0 pur==7.3.2 pytest==8.2.2 requests==2.32.3 -ruff==0.4.10 +ruff==0.5.1 scikit-image==0.24.0 -tensorflow==2.16.1 +tensorflow==2.17.0 diff --git a/requirements_dev.txt b/requirements_dev.txt index b9ab860..201201a 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,3 +1,3 @@ -r requirements.txt -jupyterlab==4.2.2 -matplotlib==3.9.0 +jupyterlab==4.2.3 +matplotlib==3.9.1