From 341a7506cc8d96cb1a39353813313a7d44194ca3 Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Tue, 21 Jan 2025 12:56:51 +0100 Subject: [PATCH] Use Ubuntu 24.04 and python 3.12 --- .github/workflows/lint.yml | 6 +++--- Dockerfile | 2 +- api-server/bin/test-utils/docker-run-tests | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e0cf2149c..a9177019d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,13 +5,13 @@ on: pull_request: jobs: main: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: "3.7" + python-version: "3.12" - name: sync symlinks run: | # Ensure symlinks are synced diff --git a/Dockerfile b/Dockerfile index f0a583606..3bb1604cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7-slim +FROM python:3.12-slim RUN apt-get update \ && apt-get install -y --no-install-recommends build-essential gosu \ diff --git a/api-server/bin/test-utils/docker-run-tests b/api-server/bin/test-utils/docker-run-tests index b5b260264..64b27bb4b 100755 --- a/api-server/bin/test-utils/docker-run-tests +++ b/api-server/bin/test-utils/docker-run-tests @@ -9,5 +9,5 @@ docker run \ -v $(pwd):/work \ -w /work \ -e TARGET="${TARGET:-test}" \ - python:3.7 \ + python:3.12 \ ./api-server/bin/test-utils/run-tests