From cb63b83c5e1048df7f88421b43899792c0af3ece Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Mon, 24 Jun 2024 12:40:00 +1000 Subject: [PATCH 1/3] Minimum python version research. --- lib/python/qmk/cli/__init__.py | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/lib/python/qmk/cli/__init__.py b/lib/python/qmk/cli/__init__.py index 6d05a5fc21ce..d6abb8df3a51 100644 --- a/lib/python/qmk/cli/__init__.py +++ b/lib/python/qmk/cli/__init__.py @@ -188,20 +188,19 @@ 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: 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 +# 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.') From 19d992c5bc201ff5d10323839cec2023af271535 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Mon, 24 Jun 2024 12:56:36 +1000 Subject: [PATCH 2/3] Add ubuntu. --- lib/python/qmk/cli/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/python/qmk/cli/__init__.py b/lib/python/qmk/cli/__init__.py index d6abb8df3a51..7442e02c1701 100644 --- a/lib/python/qmk/cli/__init__.py +++ b/lib/python/qmk/cli/__init__.py @@ -200,6 +200,8 @@ def _eprint(errmsg): # 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: From 08100b70778e5845cc86ea4325c8d9cc3f8d2741 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Mon, 24 Jun 2024 12:57:08 +1000 Subject: [PATCH 3/3] Add last debian. --- lib/python/qmk/cli/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/python/qmk/cli/__init__.py b/lib/python/qmk/cli/__init__.py index 7442e02c1701..6bf543db281d 100644 --- a/lib/python/qmk/cli/__init__.py +++ b/lib/python/qmk/cli/__init__.py @@ -191,7 +191,8 @@ def _eprint(errmsg): # Last update: 2024 Jun 24 # # Arch: 3.12 -# Debian: 3.11 +# Debian 11: 3.9 +# Debian 12: 3.11 # Fedora 39: 3.12 # Fedora 40: 3.12 # FreeBSD: 3.11