feat(tools): deprecate Python 3.10

Bump the minimum-version checks in detect_python.{sh,fish} and
python_version_checker.py, and add Python 3.14 to the interpreters
probed by detect_python.{sh,fish}.
This commit is contained in:
Jan Beran
2026-10-02 21:16:13 +08:00
parent 844e609363
commit 282611e13f
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -8,12 +8,12 @@
#
# There are related tools/detect_python.{sh,fish} scripts which are called earlier when the paths are not properly
# set-up and they only intend to prefer the use of Python 3 over Python 2. Why not more? All possible executables
# (python3.10, python3.11, ...) cannot be hardcoded there and at the end, the user is responsible to set-up a system
# (python3.11, python3.12, ...) cannot be hardcoded there and at the end, the user is responsible to set-up a system
# where "python" or "python3" of compatible version is available.
import sys
from collections.abc import Iterable
OLDEST_PYTHON_SUPPORTED = (3, 10) # keep it as tuple for comparison with sys.version_info
OLDEST_PYTHON_SUPPORTED = (3, 11) # keep it as tuple for comparison with sys.version_info
def _ver_to_str(it: Iterable) -> str: