fix(gdbgui): Fix support of gdbgui on Unix with Python 3.11

Closes https://github.com/espressif/esp-idf/issues/12764
This commit is contained in:
Roland Dobai
2024-01-03 16:08:32 +01:00
parent 0b8e6c66c4
commit c6acde833b
2 changed files with 21 additions and 12 deletions
+4 -2
View File
@@ -1,5 +1,7 @@
# Python package requirements for gdbgui support ESP-IDF.
# This feature can be enabled by running "install.{sh,bat,ps1,fish} --enable-gdbgui"
# gdbgui is not supported on Python 3.11. See https://github.com/cs01/gdbgui/issues/447
gdbgui; python_version < "3.11"
# gdbgui Python 3.11 issue https://github.com/cs01/gdbgui/issues/447 was fixed in 0.15.2.0. Windows users need an
# older Python to use since new gdbgui versions don't support Windows anymore.
gdbgui; sys_platform != 'win32'
gdbgui; sys_platform == 'win32' and python_version < "3.11"