chore: update minimum Python version to 3.13.5

- Update prerequisites check in setup.sh
- Update documentation in SETUP.md
This commit is contained in:
aitbc1
2026-03-28 09:55:01 +01:00
parent 1402f2b784
commit 1d7efb241d
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ sudo ./setup.sh
## What the Setup Script Does
1. **Prerequisites Check**
- Verifies Python 3.8+, pip3, git, systemd
- Verifies Python 3.13.5+, pip3, git, systemd
- Checks for root privileges
2. **Repository Setup**

View File

@@ -48,9 +48,9 @@ check_prerequisites() {
command -v systemctl >/dev/null 2>&1 || error "systemctl is not available"
# Check Python version
python_version=$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
if [ "$(printf '%s\n' "3.8" "$python_version" | sort -V | head -n1)" != "3.8" ]; then
error "Python 3.8+ is required, found $python_version"
python_version=$(python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}')")
if [ "$(printf '%s\n' "3.13.5" "$python_version" | sort -V | head -n1)" != "3.13.5" ]; then
error "Python 3.13.5+ is required, found $python_version"
fi
success "Prerequisites check passed"