diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 2c7fd1a0a9..c9f9675af3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ # In contrast with the "production" image (which is based on an Alpine image) # we use a Debian-based image for the devcontainer -FROM mcr.microsoft.com/devcontainers/python:3.11-bookworm@sha256:e754c29c4e3ffcf6c794c1020e36a0812341d88ec9569a34704b975fa89e8848 +FROM mcr.microsoft.com/devcontainers/python:3.12-trixie@sha256:5440cb68898d190ad6c6e8a4634ce89d0645bea47f9c8beb75612bb8e3983711 # InvenTree paths ENV INVENTREE_HOME="/home/inventree" @@ -25,7 +25,7 @@ RUN chmod +x init.sh # Install required base packages RUN apt update && apt install -y \ - python3.11-dev python3.11-venv \ + python3.12-dev python3.12-venv \ postgresql-client \ libldap2-dev libsasl2-dev \ libpango1.0-0 libcairo2 \ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b140056f45..fc3b9a1ba9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -97,4 +97,4 @@ repos: rev: 0.4.3 hooks: - id: teyit - language_version: python3.11 + language_version: python3.12 diff --git a/pyproject.toml b/pyproject.toml index 169e5a1f89..120d2bb5ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,7 @@ skip-magic-trailing-comma = true line-ending = "auto" [tool.uv.pip] -python-version = "3.11" +python-version = "3.12" no-strip-extras=true generate-hashes=true diff --git a/readthedocs.yml b/readthedocs.yml index e2bf29c339..1d72620cfe 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -9,9 +9,9 @@ python: - requirements: src/backend/requirements.txt build: - os: "ubuntu-22.04" + os: "ubuntu-24.04" tools: - python: "3.11" + python: "3.12" jobs: post_install: - pip install -U invoke diff --git a/src/frontend/netlify.toml b/src/frontend/netlify.toml index 6d012187e9..8af67796dd 100644 --- a/src/frontend/netlify.toml +++ b/src/frontend/netlify.toml @@ -7,7 +7,7 @@ [build.environment] VITE_DEMO = "true" - PYTHON_VERSION = "3.11" + PYTHON_VERSION = "3.12" # Send requests to subpath