Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: V14, python version

by
Komit, Jean-Charles Drubay
- 14/10/2020 07:57:03
What do you think about freezing a specific python version for each odoo version? Or at least make it the recommended python version on which all the builds will run.

Example:
  • Odoo 14: python  3.8.5
  • Odoo 13: python 3.7.9
  • ...
This can be achieved by using pyenv-virtualenv.

BTW, thanks Stéphane for all your late efforts and courage facing the avalanche of tough feedback. I admire both your contributions and communications. 

Jean-Charles Drubay

On Wed, Oct 14, 2020 at 2:42 PM Stéphane Bidoul <stephane.bidoul@acsone.eu> wrote:
I've not looked into the cases you mentioned yet, but I note Odoo declares itself as supporting python 3.6:

That's why the OCA 14.0 branches have been created for python 3.6 too.

-sbi

On Wed, Oct 14, 2020 at 9:27 AM David Beal <david.beal@akretion.com> wrote:
Hi all,

The last very stable python is 3.8 (first version in November 2019), 3.8.6 in September 2020

Odoo 14.0 released in October supports python 3.7 and upper but that's not without consequence

We can ask ourself what is the benefit to support 3.7.

If yes, we have to deal with this kind of code in our OCA 14.0 module like here

Maybe there is a better way to manage this version incompatibility but if not
it can be difficult to ensure 3.7 compatibility in our modules

Without this compatibility code we have this kind of error

Are you really sure that supports 3.7 is good thing for our client in a fresh new project 14.0 while python 3.8 is very stable ?

Even in debian targeted version we may upgrade to 3.8

What do you think ?

Regards

David BEAL - akretion.com
Consultant
Odoo Intégration / Développement

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

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

Reference