Upgrade to Python 3.12
This required installing `setuptools`, as Honcho implicitly depends on it
This commit is contained in:
parent
4e450f6144
commit
e9f74ec0c1
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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+
|
||||
|
|
Loading…
Reference in a new issue