Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: V14, python version

by
Juan José Scarafía
- 19/10/2020 15:13:27
Thanks Moi!
IMHO, we should go for python 3.8 on v14
Stay as we are on any previous version.

Ing. Juan José Scarafía

(+54 9 341) 3 278039

twitter: @jjscarafia

github: @jjscarafia



On Mon, Oct 19, 2020 at 12:06 PM Moises Lopez <moylop260@vauxoo.com> wrote:
> 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?

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference