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

Switch to python 3.12.8 #1607

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 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