GP-0 Reverted python3 minimum version requirement to 3.7

This commit is contained in:
ghidra1 2024-05-22 17:40:21 -04:00
parent 982dc01eb7
commit 13e321ae41
2 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ Ghidra team if you have a specific need.</p></blockquote>
</li>
</ul>
</ul>
<li>Python3 (3.9 to 3.12; for Debugger support)</li>
<li>Python3 (3.7 to 3.12; for Debugger support)</li>
<ul>
<li>This is available from <a href="https://python.org">Python.org</a> or most operating system's
app stores or software repositories. For Linux it is recommended that the system's package
@ -371,7 +371,7 @@ existing pre-built native binaries in the <i>os/&lt;platform&gt;/</i> subdirecto
<h2><a name="DebuggerPython"></a>Installing the Debugger's Python Dependencies</h2>
<p>The Debugger now uses Python to connect to the host platform's native debuggers. This requires
Python 3.9 or later and some additional packages. These packages are included in the distribution,
Python3 (3.7 to 3.12) and some additional packages. These packages are included in the distribution,
but you may still install them from PyPI if you prefer:</p>
<ul>
<li>psutil</li>

View File

@ -48,7 +48,7 @@ if ("32".equals(System.getProperty("sun.arch.data.model"))) {
/***************************************************************************************
* Identify supported Python command
***************************************************************************************/
project.ext.SUPPORTED_PY_VERSIONS = ['3.12', '3.11', '3.10', '3.9']
project.ext.SUPPORTED_PY_VERSIONS = ['3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
project.ext.PYTHON3 = findPython3()
/*********************************************************************************
@ -213,10 +213,10 @@ def findPython3() {
}
}
// Don't fail until task execution. Just let "python3" fail.
// Force use of non-existent python3.9 instead of unsupported python version
// Force use of non-existent python3.7 instead of unsupported python version
// which should fail if a python build is performed.
println("Warning: Python3 command not found (required for build)")
return 'python3.9'
return 'python3.7'
}
/******************************************************************************************