- Mailing Lists
- Contributors
- Re: V14, python version
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: V14, python version
I think I read in another discussion that their philosophy was to
support the Python version of the oldest, still supported Ubuntu
LTS version. But I could be wrong.
Hi all,
What's your opinion here ?
Le mar. 8 déc. 2020 à 14:16, Raphaël Valyi <rvalyi@akretion.com> a écrit :
right on the spot David.
Now sadly I don't think we can expect any move from Odoo SA on this. IMHO they support old Python versions a bit by accident, because they come from legacy Python so by default they tend to have legacy Python compliant code while they make efforts to embrace new Python versions.
Even if it's not just by accident, Odoo SA follows a different logic: they maintain only 350 modules or so, they push new customers to new versions and push their paid migration. The ERP reality is not migrating every year nor even every 2 years on large projects. Take the LTS resonance (every 2 years so far) into account, and consider a company has any problem to migrate after 2 years only and now they probably wait 4 years and Odoo SA policy forces them to run unmaintained code with ERP features exposed on the web by packages exposed to security issues... Instead Odoo SA likes his ERP to be just one click away to install and test on any distro, even if (and may be especially if) it's not to run it for real and buy some comercial Odoo hosting with them or a partner later.
So I agree with you about how bad this is to support nearly end of life Python versions in the newest Odoo release where choice is available, but I think this is up to the OCA to educate the community, explain it that choosing libs done for nearly end of life Python is what will make their whole ERP obsolete with security exploits all exposed over the web in just 1 or 2 years. So I think the OCA should assume a different and more responsible policy than Odoo SA and require recent enough Python on recent Odoo versions (like what about 3.7 on v14, I mean at least a Python version with a life cycle compatible with the Odoo official one).
Regards.
On Tue, Dec 8, 2020 at 9:16 AM David Beal <david.beal@akretion.com> wrote:
Hi,
FYI another example of maintenance burden of multiple python versions
For the future, we probably need to be more persuasive to convince Odoo to only support recentest versions
It will impact OCA and your container projects.
Regards
David BEAL - akretion.comConsultant
Odoo Intégration / Développement
Le lun. 19 oct. 2020 à 17:16, Juan José Scarafía (ADHOC) <scarafia.juanjose@gmail.com> a écrit :
Thanks Moi!IMHO, we should go for python 3.8 on v14Stay as we are on any previous version.
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.8And 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
_______________________________________________
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
--
Raphaël ValyiFounder and consultant
_______________________________________________
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
by Tom Blauwendraat - 03:11 - 8 Sep 2021
Reference
-
V14, python version
Hi all,The last very stable python is 3.8 (first version in November 2019), 3.8.6 in September 2020Odoo 14.0 released in October supports python 3.7 and upper but that's not without consequenceWe 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 hereMaybe there is a better way to manage this version incompatibility but if notit can be difficult to ensure 3.7 compatibility in our modulesWithout this compatibility code we have this kind of errorAre 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.8What do you think ?Regards
David BEAL - akretion.comConsultantOdoo Intégration / Développement
by David BEAL - 09:26 - 14 Oct 2020