mirror of
https://github.com/meshtastic/python.git
synced 2026-04-17 21:42:20 -04:00
Add a warning about this being the last version supporting python 3.8
This commit is contained in:
@@ -811,6 +811,9 @@ def onConnected(interface):
|
||||
f"*** A newer version v{pypi_version} is available!"
|
||||
' Consider running "pip install --upgrade meshtastic" ***\n'
|
||||
)
|
||||
if sys.version_info[0] == 3 and sys.version_info[1] < 9:
|
||||
print(" *** this version of the CLI is the last that supports python 3.8 ***")
|
||||
print(" *** please update your python installation ***")
|
||||
else:
|
||||
print("Showing info of remote node is not supported.")
|
||||
print(
|
||||
|
||||
@@ -317,6 +317,9 @@ def support_info():
|
||||
)
|
||||
else:
|
||||
print(f" meshtastic: v{the_version}")
|
||||
if sys.version_info[0] == 3 and sys.version_info[1] < 9:
|
||||
print(" *** this version of the CLI is the last that supports python 3.8 ***")
|
||||
print(" *** please update your python installation ***")
|
||||
print(f" Executable: {sys.argv[0]}")
|
||||
print(
|
||||
f" Python: {platform.python_version()} {platform.python_implementation()} {platform.python_compiler()}"
|
||||
|
||||
Reference in New Issue
Block a user