Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Python 3.12 #36

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_python_deps
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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