feat: Deprecate Python 3.9

BREAKING CHANGE:
- Minimal supported Python version is now 3.10.
This commit is contained in:
Peter Dragun
2025-07-28 09:56:45 +02:00
parent 84b4605ffa
commit 519042a1e2
20 changed files with 49 additions and 44 deletions

View File

@@ -8,7 +8,7 @@
#
# 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.9, python3.10, ...) cannot be hardcoded there and at the end, the user is responsible to set-up a system
# (python3.10, python3.11, ...) 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
@@ -19,7 +19,7 @@ try:
except ImportError:
pass
OLDEST_PYTHON_SUPPORTED = (3, 9) # keep it as tuple for comparison with sys.version_info
OLDEST_PYTHON_SUPPORTED = (3, 10) # keep it as tuple for comparison with sys.version_info
def _ver_to_str(it): # type: (Iterable) -> str