From 186d9e9e30d8853f5063dbe40f86dc6a9ae9f2cf Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 4 Aug 2024 09:18:53 +0200 Subject: [PATCH] upgraded dependencies --- .pre-commit-config.yaml | 2 +- Dockerfile | 4 ++-- README.md | 4 ++-- requirements.txt | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 029273f..7518878 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.5.5 + rev: v0.5.6 hooks: # Run the linter. - id: ruff diff --git a/Dockerfile b/Dockerfile index 3657073..1a69e04 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.1.2 -RUN python3 -m pip install setuptools==71.1.0 +RUN python3 -m pip install pip==24.2 +RUN python3 -m pip install setuptools==72.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 bf62804..e3efadf 100644 --- a/README.md +++ b/README.md @@ -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.1.2 -(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==71.1.0 +(.venv)~/deeplearning_flask$ python3 -m pip install pip==24.2 +(.venv)~/deeplearning_flask$ python3 -m pip install setuptools==72.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 522c7d8..9063fee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,10 +2,10 @@ Flask==3.0.3 gunicorn==22.0.0 numpy==1.26.4 Pillow==10.4.0 -pre-commit==3.7.1 +pre-commit==3.8.0 pur==7.3.2 pytest==8.3.2 requests==2.32.3 -ruff==0.5.5 +ruff==0.5.6 scikit-image==0.24.0 tensorflow==2.17.0