~ruther/qmk_firmware

bc8ac8642242516e0fe61f1b97b75374c9150647 — Nick Brassel 9 months ago 33adb8c
Minimum python version listing. (#23989)

1 files changed, 15 insertions(+), 13 deletions(-)

M lib/python/qmk/cli/__init__.py
M lib/python/qmk/cli/__init__.py => lib/python/qmk/cli/__init__.py +15 -13
@@ 189,20 189,22 @@ def _eprint(errmsg):
# Supported version information
#
# Based on the OSes we support these are the minimum python version available by default.
# Last update: 2021 Jan 02
# Last update: 2024 Jun 24
#
# Arch: 3.9
# Debian: 3.7
# Fedora 31: 3.7
# Fedora 32: 3.8
# Fedora 33: 3.9
# FreeBSD: 3.7
# Gentoo: 3.7
# macOS: 3.9 (from homebrew)
# msys2: 3.8
# Slackware: 3.7
# solus: 3.7
# void: 3.9
# Arch: 3.12
# Debian 11: 3.9
# Debian 12: 3.11
# Fedora 39: 3.12
# Fedora 40: 3.12
# FreeBSD: 3.11
# Gentoo: 3.12
# macOS: 3.12 (from homebrew)
# msys2: 3.11
# Slackware: 3.9
# solus: 3.10
# Ubuntu 22.04: 3.10
# Ubuntu 24.04: 3.12
# void: 3.12

if sys.version_info[0] != 3 or sys.version_info[1] < 7:
    _eprint('Error: Your Python is too old! Please upgrade to Python 3.7 or later.')

Do not follow this link