Skip to content

Commit da75de9

Browse files
authored
Fix python 3.13 support
The setup script can not be executed if the system has a newer python version then 3.12. It is not possible to run the script on python 3.13
1 parent 63808e4 commit da75de9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ py_major=${python_version%%.*}
1111
py_minor=${python_version#*.}
1212
py_minor=${py_minor%%.*}
1313

14-
if [[ "$py_major" -ne 3 || "$py_minor" -lt 10 || "$py_minor" -gt 12 ]]; then
15-
echo "[ERROR] MobSF dependencies require Python 3.10 - 3.12. You have Python ${python_version}."
14+
if [[ "$py_major" -ne 3 || "$py_minor" -lt 10 ]]; then
15+
echo "[ERROR] MobSF dependencies require Python 3.10. You have Python ${python_version}."
1616
exit 1
1717
fi
1818
echo "[INSTALL] Found Python ${python_version}"

0 commit comments

Comments
 (0)