From 03c8a5a0186458795511166e0916329414c7b601 Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 27 Oct 2024 11:07:33 +0100 Subject: [PATCH] upgraded dependencies --- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- README.md | 6 +++--- requirements.txt | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 331e506..9bbeac2 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.7.0 + rev: v0.7.1 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index 4a5173f..ab94709 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==24.2 +RUN python3 -m pip install pip==24.3 RUN python3 -m pip install setuptools==75.2.0 RUN python3 -m pip install --no-cache-dir -r requirements.txt COPY ./app /app diff --git a/README.md b/README.md index c8bae0f..f337950 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ The code has been tested using: - [Docker] (27.3): 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.29): 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.17): an open source software [Deep Learning] library for high performance numerical computation using data flow graphs. +- [TensorFlow] (2.18): 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. +- [NumPy] (2.0): 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.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]. @@ -43,7 +43,7 @@ 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.2 +(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.3 (.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 861cdec..7efde85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ Flask==3.0.3 gunicorn==23.0.0 -numpy==1.26.4 +numpy==2.0.2 Pillow==11.0.0 pre-commit==4.0.1 pur==7.3.2 pytest==8.3.3 requests==2.32.3 -ruff==0.7.0 +ruff==0.7.1 scikit-image==0.24.0 -tensorflow==2.17.0 +tensorflow==2.18.0