From ce0768eb42d430cafe74db0b036dd776aa870b3e Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 23 Jun 2024 11:17:27 +0200 Subject: [PATCH] upgraded dependencies --- Dockerfile | 4 ++-- README.md | 8 ++++---- requirements.txt | 8 ++++---- requirements_dev.txt | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd3994b..5b16326 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.0 -RUN python3 -m pip install setuptools==70.0.0 +RUN python3 -m pip install pip==24.1 +RUN python3 -m pip install setuptools==70.1.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 bd70d5a..32d4f20 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The code has been tested using: - [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. -- [scikit-image] (0.23): a collection of algorithms for image processing with [Python]. +- [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.0 -(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==70.0.0 +(.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 -r requirements_dev.txt ``` @@ -158,7 +158,7 @@ It is possible to execute tests of [Flask] microservice created with [pytest] fr ~/app# make test ... ============================= test session starts ============================== -platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0 +platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 rootdir: /app/tests collected 2 items diff --git a/requirements.txt b/requirements.txt index 371ac76..bf78277 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,9 +2,9 @@ Flask==3.0.3 gunicorn==22.0.0 numpy==1.26.4 Pillow==10.3.0 -pur==7.3.1 -pytest==8.2.1 +pur==7.3.2 +pytest==8.2.2 requests==2.32.3 -ruff==0.4.7 -scikit-image==0.23.2 +ruff==0.4.10 +scikit-image==0.24.0 tensorflow==2.16.1 diff --git a/requirements_dev.txt b/requirements_dev.txt index 16e0c11..b9ab860 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,3 +1,3 @@ -r requirements.txt -jupyterlab==4.2.1 +jupyterlab==4.2.2 matplotlib==3.9.0