Skip to content

Commit ec4e521

Browse files
committed
Add a warning about this being the last version supporting python 3.8
1 parent 19d7e91 commit ec4e521

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

meshtastic/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,9 @@ def setSimpleConfig(modem_preset):
811811
f"*** A newer version v{pypi_version} is available!"
812812
' Consider running "pip install --upgrade meshtastic" ***\n'
813813
)
814+
if sys.version_info[0] == 3 and sys.version_info[1] < 9:
815+
print(" *** this version of the CLI is the last that supports python 3.8 ***")
816+
print(" *** please update your python installation ***")
814817
else:
815818
print("Showing info of remote node is not supported.")
816819
print(

meshtastic/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,9 @@ def support_info():
317317
)
318318
else:
319319
print(f" meshtastic: v{the_version}")
320+
if sys.version_info[0] == 3 and sys.version_info[1] < 9:
321+
print(" *** this version of the CLI is the last that supports python 3.8 ***")
322+
print(" *** please update your python installation ***")
320323
print(f" Executable: {sys.argv[0]}")
321324
print(
322325
f" Python: {platform.python_version()} {platform.python_implementation()} {platform.python_compiler()}"

0 commit comments

Comments
 (0)