odoo/odoo#163030

Created by fw-bot
label
odoo-dev:saas-16.3-16.0-expose_min_py_version-wil-phEs-fw
head
118415a3839e2a9ca360e2e595aa2e5f3604dc7a
target
saas-16.3
merged
3 weeks ago by Discuss, Louis Wicket (wil)
forward-port of
odoo/odoo#156774 DETACHED (conflicts: ('eb2748782769c4f499af10ac51f65c281120c76f', 'Auto-merging odoo/__init__.py\nCONFLICT (content): Merge conflict in odoo/__init__.py\n', '18:01:26.131546 git.c:463 trace: built-in: git cherry-pick eb2748782769c4f499af10ac51f65c281120c76f\nerror: could not apply eb2748782769... [IMP] make minimum version of Python a variable\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['eb2748782769c4f499af10ac51f65c281120c76f']) ('eb2748782769c4f499af10ac51f65c281120c76f', 'Auto-merging odoo/__init__.py\nCONFLICT (content): Merge conflict in odoo/__init__.py\n', '18:01:26.131546 git.c:463 trace: built-in: git cherry-pick eb2748782769c4f499af10ac51f65c281120c76f\nerror: could not apply eb2748782769... [IMP] make minimum version of Python a variable\nhint: After resolving the conflicts, mark them with\nhint: "git add/rm <pathspec>", then run\nhint: "git cherry-pick --continue".\nhint: You can instead skip this commit with "git cherry-pick --skip".\nhint: To abort and get back to the state before "git cherry-pick",\nhint: run "git cherry-pick --abort".\n----------\nstatus:\n', ['eb2748782769c4f499af10ac51f65c281120c76f']))

[FW][IMP] make minimum version of Python a variable

Make the mininum version of Python a variable so that it can be easily retrieved and used by the code. For example, it could be used to detect when a monkey patch should be removed.

Forward-Port-Of: odoo/odoo#156774