From 98f95055e36d625797114322a58dc7fb31f03daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mence=20Lesn=C3=A9?= Date: Fri, 12 Jan 2024 14:36:25 +0100 Subject: [PATCH] perf: Upgrade to Python 3.12 and Debian Bookworm --- .python-version | 2 +- Dockerfile | 2 +- helpers/config_models/monitoring.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.python-version b/.python-version index ace200aa..ad14e4bc 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -claimaiphonebot311 +claimaiphonebot312 diff --git a/Dockerfile b/Dockerfile index 1e4a844b..8e3be4e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Base container -FROM docker.io/library/python:3.11-slim-bullseye@sha256:9f35f3a6420693c209c11bba63dcf103d88e47ebe0b205336b5168c122967edf AS base +FROM docker.io/library/python:3.12-slim-bookworm@sha256:448eb6cade8c9edfa66b0840829744a10a0131f6e9ef95052913170c8291a348 AS base # Build container FROM base AS build diff --git a/helpers/config_models/monitoring.py b/helpers/config_models/monitoring.py index a9fa6f6a..a7b9e1bb 100644 --- a/helpers/config_models/monitoring.py +++ b/helpers/config_models/monitoring.py @@ -3,7 +3,7 @@ class LoggingLevel(str, Enum): - # Copied from https://docs.python.org/3.11/library/logging.html#logging-levels + # Copied from https://docs.python.org/3.12/library/logging.html#logging-levels CRITICAL = "CRITICAL" DEBUG = "DEBUG" ERROR = "ERROR"