Skip to content

Conversation

MuhammadAnnaqeeb
Copy link

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 WHATWGC0_CONTROL_OR_SPACE ImportError: cannot import name '_WHATWG_C0_CONTROL_OR_SPACE' from 'urllib.parse' (/usr/lib/python3.10/urllib/parse.py)

…o 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 <https://docs.python.org/release/3.10.12/whatsnew/changelog.html>` _ , more specifically `Pull request gh-102153 <https://github.com/python/cpython/pull/102508>` _  . 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)
@robodoo
Copy link
Collaborator

robodoo commented Oct 7, 2025

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants