From 6fac7d7f988a76b2f338fabe68d2af7242c0aed4 Mon Sep 17 00:00:00 2001 From: MohamedElNakeep <13314801+MuhammadAnnaqeeb@users.noreply.github.com> Date: Tue, 7 Oct 2025 11:06:14 +0300 Subject: [PATCH] Update source.rst to reflect that actual minimal python that runs Odoo 19 is 3.10.12 Odoo 19 requires minimal of python 3.10.12 because it uses a variable named _WHATWG_C0_CONTROL_OR_SPACE that was introduced in version 3.10.12. Please check `release notes ` _ , more specifically `Pull request gh-102153 ` _ . Running Odoo 19 on python 3.10.4 which is the base not updated version of python on Ubuntu 22.04 gives the following error: from urllib.parse import *WHATWG*C0_CONTROL_OR_SPACE ImportError: cannot import name '_WHATWG_C0_CONTROL_OR_SPACE' from 'urllib.parse' (/usr/lib/python3.10/urllib/parse.py) --- content/administration/on_premise/source.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/administration/on_premise/source.rst b/content/administration/on_premise/source.rst index 3b43fc64a8..428215d03d 100644 --- a/content/administration/on_premise/source.rst +++ b/content/administration/on_premise/source.rst @@ -1,4 +1,4 @@ -============== +.============== Source install ============== @@ -118,7 +118,7 @@ Prepare Python ~~~~~~ -Odoo requires **Python 3.10** or later to run. +Odoo requires **Python 3.10.12** or later to run. .. versionchanged:: 17 Minimum requirement updated from Python 3.7 to Python 3.10.