Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

perf: Upgrade to Python 3.12 and Debian Bookworm

Clémence Lesné98f95055e36d
diff --git a/.python-version b/.python-version
index ace200a..ad14e4b 100644
--- a/.python-version
+++ b/.python-version
@@ -1 +1 @@
-claimaiphonebot311
+claimaiphonebot312
diff --git a/Dockerfile b/Dockerfile
index 1e4a844..8e3be4e 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 a9fa6f6..a7b9e1b 100644
--- a/helpers/config_models/monitoring.py
+++ b/helpers/config_models/monitoring.py
@@ -3,7 +3,7 @@ from pydantic import BaseModel, SecretStr
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"