Upgrade to Python 3.12

This required installing `setuptools`, as Honcho implicitly depends on it
This commit is contained in:
Jake Howard 2024-01-11 09:26:39 +00:00
parent 4e450f6144
commit e9f74ec0c1
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 4 additions and 3 deletions

View file

@ -23,7 +23,7 @@ static:
expire_in: 2 hours
pip:
image: python:3.11-slim
image: python:3.12-slim
stage: build
variables:
PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache
@ -45,7 +45,7 @@ pip:
expire_in: 2 hours
.python_test_template:
image: python:3.11-slim
image: python:3.12-slim
stage: test
dependencies:
- pip

View file

@ -11,7 +11,7 @@ COPY ./static/src ./static/src
RUN npm run build
# The actual container
FROM python:3.11-slim as production
FROM python:3.12-slim as production
ENV VIRTUAL_ENV=/venv

View file

@ -11,3 +11,4 @@ coverage==7.4.0
djlint==1.34.1
types-pyyaml
ruff==0.1.11
setuptools # required for Honcho to work on Python 3.12+