Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2026 17:47:49 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 25d1ba0de013 - main - lang/python313: prevent building JIT with newer CPython
Message-ID:  <6a2c4645.415f4.2068dfd3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25d1ba0de013d2f69f826d8f20c37bb42a2af014

commit 25d1ba0de013d2f69f826d8f20c37bb42a2af014
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-06-12 17:41:45 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-06-12 17:47:09 +0000

    lang/python313: prevent building JIT with newer CPython
    
    While such combos build successfully outside of ports, a circular
    build dependency forms when said newer ports also have JIT enabled.
---
 lang/python313/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/python313/Makefile b/lang/python313/Makefile
index 842ca0965534..8c34bfd1f786 100644
--- a/lang/python313/Makefile
+++ b/lang/python313/Makefile
@@ -106,7 +106,7 @@ ABIFLAGS:=	d${ABIFLAGS}
 
 # Python 3.11 or newer is required to build the JIT
 .if ${PORT_OPTIONS:MJIT}
-.  if ${PYTHON_DEFAULT:S/t$//} == 3.13 || ${PYTHON_DEFAULT:S/t$//} < 3.11
+.  if ${PYTHON_DEFAULT:S/t$//} >= 3.13 || ${PYTHON_DEFAULT:S/t$//} < 3.11
 BUILD_DEPENDS+=	python3.12:lang/python312
 .  else
 BUILD_DEPENDS+=	python${PYTHON_DEFAULT}:lang/python${PYTHON_DEFAULT:S/.//g}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a2c4645.415f4.2068dfd3>