Tecnativa / doodba

Base image for making the creation of customized Odoo environments a piece of cake
Apache License 2.0
423 stars 302 forks source link

Upgrade to Python 3.11 base image #564

Closed joeri-jansen closed 9 months ago

joeri-jansen commented 12 months ago

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 commented 12 months ago

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

obayit commented 9 months ago

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

ap-wtioit commented 9 months ago

@obayit since https://github.com/Tecnativa/doodba/pull/577 the 16.0 image uses python3.10 (the 17.0 image uses python 3.10 as well)

pedrobaeza commented 9 months ago

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