From 49db14643ad316de3933217c64579087dc5f3bc2 Mon Sep 17 00:00:00 2001 From: Sidney Gijzen Date: Fri, 20 Sep 2024 14:38:35 +0200 Subject: [PATCH 1/2] Update Python to version 3.12 --- .github/workflows/ci.yml | 2 +- Dockerfile | 4 ++-- Dockerfile_python_deps | 2 +- requirements.txt | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77b93be..1eb31ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 cache: 'pip' - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index ebd2344..7691d12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - Compile Python dependencies -FROM python:3.11-slim-bullseye AS compile-image +FROM python:3.12-slim-bullseye AS compile-image # create and use virtualenv RUN python -m venv /opt/venv @@ -13,7 +13,7 @@ RUN pip install --upgrade pip pip-tools RUN pip-sync requirements.txt # Stage 2 - Build docker image suitable for deployment -FROM python:3.11-slim-bullseye AS runtime-image +FROM python:3.12-slim-bullseye AS runtime-image # copy python dependencies COPY --from=compile-image /opt/venv /opt/venv diff --git a/Dockerfile_python_deps b/Dockerfile_python_deps index f9b2341..f93054d 100644 --- a/Dockerfile_python_deps +++ b/Dockerfile_python_deps @@ -3,7 +3,7 @@ # # The base image is equal to the one compiling the app. -FROM python:3.11-slim-bullseye +FROM python:3.12-slim-bullseye # create and use virtualenv RUN python -m venv /opt/venv diff --git a/requirements.txt b/requirements.txt index ff46eef..8cb76d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # # pip-compile --strip-extras requirements.in @@ -60,7 +60,7 @@ packaging==24.1 # webargs pathspec==0.12.1 # via black -platformdirs==4.3.2 +platformdirs==4.3.6 # via black pluggy==1.5.0 # via pytest @@ -70,13 +70,13 @@ pycodestyle==2.12.1 # via flake8 pyflakes==3.2.0 # via flake8 -pytest==8.3.2 +pytest==8.3.3 # via # -r requirements.in # pytest-cov pytest-cov==5.0.0 # via -r requirements.in -webargs==8.4.0 +webargs==8.6.0 # via apiflask werkzeug==3.0.4 # via flask From 72fd9d61ac12161f6c8636140f7a1041017107db Mon Sep 17 00:00:00 2001 From: Sidney Gijzen Date: Fri, 20 Sep 2024 14:41:41 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5a3bc2..817caf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/GemeenteUtrecht/bereikbaarheid-backend/compare/v0.6.1...HEAD) +## [Unreleased](https://github.com/GemeenteUtrecht/bereikbaarheid-backend/compare/v0.6.2...HEAD) + +### Fixed +- updated Python to version 3.12 + ## [v0.6.2](https://github.com/GemeenteUtrecht/bereikbaarheid-backend/compare/v0.6.1...v0.6.2) - 2024-09-09