git: 62a23ef0936e - main - Mk/Uses/python.mk: Switch to Python 3.11 as default
Date: Wed, 29 May 2024 13:54:35 UTC
The branch main has been updated by rm: URL: https://cgit.FreeBSD.org/ports/commit/?id=62a23ef0936e21fef507653054d6732bb7ef085f commit 62a23ef0936e21fef507653054d6732bb7ef085f Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2024-05-29 13:51:35 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2024-05-29 13:51:35 +0000 Mk/Uses/python.mk: Switch to Python 3.11 as default The switch is a collective effort of Wen Heping, Alastair Hogge, Muhammad Moinur Rahman, Antoine Brodin, Vladimir Druzenko, Thomas Zander, Daniel Engberg et al. PR: 275494 Tested by: antoine (multiple exp-runs) With hat: python --- Mk/Uses/python.mk | 4 ++-- Mk/bsd.default-versions.mk | 2 +- lang/cython/Makefile | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index feb46eb9b70b..d71ee26d8dc0 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -316,8 +316,8 @@ _INCLUDE_USES_PYTHON_MK= yes # What Python version and what Python interpreters are currently supported? # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -_PYTHON_VERSIONS= 3.9 3.8 3.10 3.11 2.7 # preferred first -_PYTHON_PORTBRANCH= 3.9 # ${_PYTHON_VERSIONS:[1]} +_PYTHON_VERSIONS= 3.11 3.10 3.9 3.8 2.7 # preferred first +_PYTHON_PORTBRANCH= 3.11 # ${_PYTHON_VERSIONS:[1]} _PYTHON_BASECMD= ${LOCALBASE}/bin/python _PYTHON_RELPORTDIR= lang/python diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index b54f262c6b44..9c73c70abce4 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -135,7 +135,7 @@ PYCRYPTOGRAPHY_DEFAULT?= rust PYCRYPTOGRAPHY_DEFAULT?= legacy . endif # Possible values: 3.8, 3.9, 3.10, 3.11 -PYTHON_DEFAULT?= 3.9 +PYTHON_DEFAULT?= 3.11 # Possible values: 2.7 PYTHON2_DEFAULT?= 2.7 # Possible values: 3.1, 3.2, 3.3 diff --git a/lang/cython/Makefile b/lang/cython/Makefile index 3a2d8c3caa4d..c240b04b8172 100644 --- a/lang/cython/Makefile +++ b/lang/cython/Makefile @@ -1,5 +1,6 @@ PORTNAME= cython PORTVERSION= 0.29.37 +PORTREVISION= 1 CATEGORIES= lang python MASTER_SITES= PYPI \ https://github.com/cython/cython/releases/download/${PORTVERSION}/