Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Python 3.11 base image #564

Closed
joeri-jansen opened this issue Sep 7, 2023 · 4 comments
Closed

Upgrade to Python 3.11 base image #564

joeri-jansen opened this issue Sep 7, 2023 · 4 comments

Comments

@joeri-jansen
Copy link

The current base image for Odoo 16 is Python 3.8. In the mean time, Python 3.11 is the stable release. Since Python 3.8, some new features are introduced that we intent to use (e.g. the FastAPI OCA module depends on Annotated, introduced in Python 3.9).

Is it possible to update your base image for Odoo 16 to Python 3.11?

@ap-wtioit
Copy link
Contributor

IMHO it should be possible. A pull request for upgrading to 3.10 was started here #553 but never finished.

@obayit
Copy link
Contributor

obayit commented Nov 29, 2023

+1
I too want to use fastapi and it now requires python3.10

@ap-wtioit
Copy link
Contributor

@obayit since #577 the 16.0 image uses python3.10 (the 17.0 image uses python 3.10 as well)

@pedrobaeza
Copy link
Member

The official Python version to be used by Odoo S. A. itself is Python 3.10. Closing this as already done.

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

No branches or pull requests

4 participants