Skip to content

Commit

Permalink
Switch to python 3.12.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jcristau committed Jan 9, 2025
1 parent 1160496 commit f6f37c4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WARNING: Update taskcluster/docker/k8s-image/Dockerfile file when you update
# this one. Or better, find a way to use the same Dockerfile
FROM python:3.9
FROM python:3.12

RUN groupadd --gid 10001 app && \
useradd -g app --uid 10001 --shell /usr/sbin/nologin --create-home --home-dir /app app
Expand Down
2 changes: 1 addition & 1 deletion api/Dockerfile.public
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WARNING: Update taskcluster/docker/k8s-image/Dockerfile file when you update
# this one. Or better, find a way to use the same Dockerfile
FROM python:3.9
FROM python:3.12

RUN groupadd --gid 10001 app && \
useradd -g app --uid 10001 --shell /usr/sbin/nologin --create-home --home-dir /app app
Expand Down
6 changes: 3 additions & 3 deletions api/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ passenv =
PYTHON_VERSION
TOXENV
setenv =
PYTHON_VERSION=3.9.18
TOXENV=check,py39
PYTHON_VERSION=3.12.8
TOXENV=check,py312
deps =
usedevelop = false
depends =
Expand Down Expand Up @@ -46,7 +46,7 @@ passenv = COVERAGE_REPORT_COMMAND
commands =
poetry install --only test
poetry run {env:COVERAGE_REPORT_COMMAND:coverage report}
depends = py39
depends = py312
parallel_show_output = true

[testenv:check]
Expand Down
4 changes: 2 additions & 2 deletions taskcluster/kinds/docker-image/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ transforms:
- taskgraph.transforms.task:transforms

tasks:
python39:
python312:
definition: python
args:
PYTHON_VERSION: "3.9.13"
PYTHON_VERSION: "3.12.8"
node14:
definition: node
args:
Expand Down
4 changes: 2 additions & 2 deletions taskcluster/kinds/k8s-image/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tasks:
shipit-admin:
definition: shipit
args:
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.12"
APP_TYPE: admin
# Use plain text "<self>" instead of using {"task-reference":
# "<self>"}, because the docker_image transform expects args to be
Expand All @@ -25,7 +25,7 @@ tasks:
shipit-public:
definition: shipit
args:
PYTHON_VERSION: "3.9"
PYTHON_VERSION: "3.12"
APP_TYPE: public
# Use plain text "<self>" instead of using {"task-reference":
# "<self>"}, because the docker_image transform expects args to be
Expand Down
4 changes: 2 additions & 2 deletions taskcluster/kinds/tests/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tasks:
api-python:
description: "{name} tox-py{substitute_version}"
substitute-versions:
- 39
- 312
attributes:
artifact_prefix: public
worker:
Expand All @@ -45,7 +45,7 @@ tasks:
command:
- sh
- -lxce
# --no-ansi is needed due to https://github.com/python-oetry/poetry/issues/7148
# --no-ansi is needed due to https://github.com/python-poetry/poetry/issues/7148
- >-
cd api && poetry install --only tox --no-root --no-ansi && poetry run tox --parallel -e clean,check,py{substitute_version},report
frontend-node:
Expand Down

0 comments on commit f6f37c4

Please sign in to comment.