diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d4e0007..ed86d7b 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.5 + rev: v0.6.7 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index 20ce998..53a3f28 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==74.1.2 +RUN python3 -m pip install setuptools==75.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 71a9f8c..7f44db0 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.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] (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. @@ -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==74.1.2 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==75.1.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 8cea82e..600c918 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,6 @@ pre-commit==3.8.0 pur==7.3.2 pytest==8.3.3 requests==2.32.3 -ruff==0.6.5 +ruff==0.6.7 scikit-image==0.24.0 tensorflow==2.17.0