Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 8ad91c0

Browse files
Merge pull request #14 from valory-xyz/fix/python-version-check
Fix Python version check
2 parents c76a64e + a76af63 commit 8ad91c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run_service.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ else
110110
exit 1
111111
fi
112112

113-
if [[ "$($PYTHON_CMD --version 2>&1)" != "Python 3.10."* ]]; then
114-
echo >&2 "Python version 3.10.* is required but found $($PYTHON_CMD --version 2>&1)";
113+
if [[ "$($PYTHON_CMD --version 2>&1)" != "Python 3.10."* ]] && [[ "$($PYTHON_CMD --version 2>&1)" != "Python 3.11."* ]]; then
114+
echo >&2 "Python version >=3.10.0, <3.12.0 is required but found $($PYTHON_CMD --version 2>&1)";
115115
exit 1
116116
fi
117117

0 commit comments

Comments
 (0)