From 564908da52ed772a95ccd8cd2283d42643273ea8 Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 20 Oct 2024 10:01:48 +0200 Subject: [PATCH] upgraded dependencies --- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- README.md | 4 ++-- requirements.txt | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1515eda..331e506 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.9 + rev: v0.7.0 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index 53a3f28..4a5173f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app COPY requirements.txt /app RUN python3 -m venv . RUN python3 -m pip install pip==24.2 -RUN python3 -m pip install setuptools==75.1.0 +RUN python3 -m pip install setuptools==75.2.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 e67c563..c8bae0f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The code has been tested using: - [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.6): An extremely fast Python linter and code formatter, written in Rust. +- [Ruff] (0.7): 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 @@ -44,7 +44,7 @@ Command to configure virtual environment with [venv]: ~/deeplearning_flask$ python3 -m venv .venv ~/deeplearning_flask$ source .venv/bin/activate (.venv)~/deeplearning_flask$ python3 -m pip install pip==24.2 -(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==75.1.0 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==75.2.0 (.venv)~/deeplearning_flask$ python3 -m pip install -r requirements_dev.txt (.venv)~/deeplearning_flask$ pre-commit install ``` diff --git a/requirements.txt b/requirements.txt index 5cb011b..861cdec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ Flask==3.0.3 gunicorn==23.0.0 numpy==1.26.4 -Pillow==10.4.0 -pre-commit==4.0.0 +Pillow==11.0.0 +pre-commit==4.0.1 pur==7.3.2 pytest==8.3.3 requests==2.32.3 -ruff==0.6.9 +ruff==0.7.0 scikit-image==0.24.0 tensorflow==2.17.0