From 2414ccd2e82a3e7cf75fba2f92facac31c5d0feb Mon Sep 17 00:00:00 2001 From: alvertogit <36294057+alvertogit@users.noreply.github.com> Date: Sun, 5 May 2024 16:15:44 +0200 Subject: [PATCH] upgraded dependencies --- .github/workflows/ci_tests.yml | 2 +- Dockerfile | 2 +- README.md | 4 ++-- pyproject.toml | 2 +- requirements.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index de24441..98d2360 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python: [ "3.10" ] + python: [ "3.12" ] steps: - uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 20de729..deb8c7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim-bullseye +FROM python:3.12-slim-bookworm ENV PYTHONUNBUFFERED 1 RUN apt-get update \ && apt-get install -y make \ diff --git a/README.md b/README.md index 276293d..3cf2b8b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The goal is to deploy on [Flask] a [Deep Learning] model as a microservice. The The code has been tested using: -- [Python] (3.10): an interpreted high-level programming language for general-purpose programming. +- [Python] (3.12): an interpreted high-level programming language for general-purpose programming. - [Jupyter Lab] (4.1): a web-based interactive development environment for [Jupyter Notebooks], code and data. - [Flask] (3.0): a microframework for [Python] based on Werkzeug, Jinja 2 and good intentions. - [Gunicorn] (22.0): a [Python] [WSGI] HTTP Server for UNIX. @@ -158,7 +158,7 @@ It is possible to execute tests of [Flask] microservice created with [pytest] fr ~/app# make test ... ============================= test session starts ============================== -platform linux -- Python 3.10.14, pytest-8.1.2, pluggy-1.5.0 +platform linux -- Python 3.12.3, pytest-8.2.0, pluggy-1.5.0 rootdir: /app/tests collected 2 items diff --git a/pyproject.toml b/pyproject.toml index fa32cdb..e1f2f70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ extend-include = ["*.ipynb"] line-length = 100 -target-version = "py310" +target-version = "py312" [tool.ruff.lint] select = [ diff --git a/requirements.txt b/requirements.txt index a88441b..7dd7403 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ Flask==3.0.3 gunicorn==22.0.0 numpy==1.26.4 Pillow==10.3.0 -pytest==8.1.2 +pytest==8.2.0 requests==2.31.0 ruff==0.4.2 scikit-image==0.23.2