Contributors mailing list archives

Browse archives


Re: V14, python version

Vauxoo, Moisés López Calderón
- 19/10/2020 17:01:29
> David, An example of ugly code to support python 3.7 or lower is here

So, this code must be applied for 3.6 too (I thought only 3.7)

> Stéphane, With that we can safely announce that OCA supports and tests 14.0 with py 3.6 and 3.8, and that 3.7 should work but we don't test it due to limited resources.

Then this sentence change a little bit.
Since that the ugly code is required for 3.6 too.

Fabien Meghazi from Odoo commented the following:

They are preparing to migrate Odoo v13.0 servers to py3.8 in OdooSH

So, py3.8 will be more stable than before.

I think it is because py3.6 will be obsolete in 1 year (2021-12)
In 1 year will be obsolete Odoo v12.0, so it won't require migrate to py3.8
And the latest stable version of python in Ubuntu LTS is 3.8 (3.7 was bypassed)

Should we work with patches to support python versions that will be obsolete in the short term or won't be used?

Even if we can enable 2 or more python versions in the CI, it will require extra code.

IMHO even if Odoo in this moment is supporting py3.6,
in the short term it is a waste of time and resources.
But I don't know I could be wrong.

What do you think after this?