Re: git: 521c975c7a4d - main - finance/odoo: unbreak the ports tree

From: Antoine Brodin <antoine_at_freebsd.org>
Date: Wed, 27 Mar 2024 07:43:17 UTC
On Wed, Mar 27, 2024 at 8:20 AM Alonso Cárdenas Márquez
<acardenas@bsd-peru.org> wrote:
> Hello Antoine
>
> I have a question, why a 3.10 entry is not a valid option? or it must be 3.10+? Btw odoo-17.x not support python 3.9

Hello,

Pinning to a specific version of python is not good,  it often breaks
bulk -a (it was the case here).
Please use something like this instead if it doesn't work with 3.9:

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 31000
IGNORE=                odoo requires Python 3.10+
.endif

.include <bsd.port.post.mk>