From 5a32ce736a2ad1cd4e1d5074377f59be440d73d9 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sat, 8 Nov 2025 18:27:22 -0500 Subject: [PATCH 1/2] (chore) update requirements to python 3.11-12 --- docs/installation/patchmatch.md | 2 +- docs/installation/requirements.md | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/installation/patchmatch.md b/docs/installation/patchmatch.md index 1ca0ba116ff..cd456deeed7 100644 --- a/docs/installation/patchmatch.md +++ b/docs/installation/patchmatch.md @@ -70,7 +70,7 @@ Prior to installing PyPatchMatch, you need to take the following steps: `from patchmatch import patch_match`: It should look like the following: ```py - Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux + Python 3.12.3 (main, Aug 14 2025, 17:47:21) [GCC 13.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from patchmatch import patch_match Compiling and loading c extensions from "/home/lstein/Projects/InvokeAI/.invokeai-env/src/pypatchmatch/patchmatch". diff --git a/docs/installation/requirements.md b/docs/installation/requirements.md index 5f27481109b..4b52147e8cd 100644 --- a/docs/installation/requirements.md +++ b/docs/installation/requirements.md @@ -41,7 +41,7 @@ The requirements below are rough guidelines for best performance. GPUs with less You don't need to do this if you are installing with the [Invoke Launcher](./quick_start.md). -Invoke requires python 3.10 through 3.12. If you don't already have one of these versions installed, we suggest installing 3.12, as it will be supported for longer. +Invoke requires python 3.11 through 3.12. If you don't already have one of these versions installed, we suggest installing 3.12, as it will be supported for longer. Check that your system has an up-to-date Python installed by running `python3 --version` in the terminal (Linux, macOS) or cmd/powershell (Windows). @@ -56,7 +56,7 @@ Check that your system has an up-to-date Python installed by running `python3 -- === "macOS" - Install python with [an official installer]. - - If model installs fail with a certificate error, you may need to run this command (changing the python version to match what you have installed): `/Applications/Python\ 3.10/Install\ Certificates.command` + - If model installs fail with a certificate error, you may need to run this command (changing the python version to match what you have installed): `/Applications/Python\ 3.11/Install\ Certificates.command` - If you haven't already, you will need to install the XCode CLI Tools by running `xcode-select --install` in a terminal. === "Linux" diff --git a/pyproject.toml b/pyproject.toml index ac3d88b364b..1efa58f1e2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "InvokeAI" description = "An implementation of Stable Diffusion which provides various new features and options to aid the image generation process" -requires-python = ">=3.10, <3.13" +requires-python = ">=3.11, <3.13" readme = { content-type = "text/markdown", file = "README.md" } keywords = ["stable-diffusion", "AI"] dynamic = ["version"] From 3e4616a3cbac582b3c13f3ec5c69021c3b920c3d Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sat, 8 Nov 2025 18:36:41 -0500 Subject: [PATCH 2/2] update uv.lock --- uv.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.lock b/uv.lock index 4313551b77c..345e3dba2b4 100644 --- a/uv.lock +++ b/uv.lock @@ -1,6 +1,6 @@ version = 1 revision = 3 -requires-python = ">=3.10, <3.13" +requires-python = ">=3.11, <3.13" resolution-markers = [ "python_full_version >= '3.12' and platform_machine == 'aarch64' and sys_platform == 'linux' and extra != 'extra-8-invokeai-cpu' and extra != 'extra-8-invokeai-cuda' and extra == 'extra-8-invokeai-rocm'", "python_full_version >= '3.12' and platform_machine != 'aarch64' and sys_platform == 'linux' and extra != 'extra-8-invokeai-cpu' and extra != 'extra-8-invokeai-cuda' and extra == 'extra-8-invokeai-rocm'",