From d91f90bee2e7b80e1c4a756e761e42b943e7bdc7 Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 1 Sep 2024 09:19:15 +0200 Subject: [PATCH] upgraded dependencies --- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- README.md | 4 ++-- requirements.txt | 2 +- requirements_dev.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee5c5a6..ea6d954 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.2 + rev: v0.6.3 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index dae0113..b93d634 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==73.0.1 +RUN python3 -m pip install setuptools==74.0.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 84de1f8..b89d1db 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The code has been tested using: - [Flask] (3.0): a microframework for [Python] based on Werkzeug, Jinja 2 and good intentions. - [Gunicorn] (23.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] (27.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] (27.2): 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. @@ -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==73.0.1 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==74.0.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 ee8eddd..ae8f4ef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ pre-commit==3.8.0 pur==7.3.2 pytest==8.3.2 requests==2.32.3 -ruff==0.6.2 +ruff==0.6.3 scikit-image==0.24.0 tensorflow==2.17.0 diff --git a/requirements_dev.txt b/requirements_dev.txt index 40253aa..68df290 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,3 +1,3 @@ -r requirements.txt -jupyterlab==4.2.4 +jupyterlab==4.2.5 matplotlib==3.9.2