ilia 64f37ef393
Some checks failed
CI / lint-and-test (push) Successful in 2m34s
CI / secret-scanning (push) Successful in 1m33s
CI / security-scan (push) Successful in 2m14s
CI / dependency-scan (push) Successful in 1m38s
CI / sast-scan (push) Successful in 2m40s
CI / container-scan (push) Successful in 2m14s
CI / docker-build-test (push) Has been cancelled
CI / workflow-summary (push) Has been cancelled
CI / sonar-analysis (push) Has been cancelled
Fix sonar-analysis job: Install Python 3.11 instead of 3.10
ISSUE:
======
- Ubuntu 22.04 comes with Python 3.10
- Project requires Python >=3.11 (pyproject.toml)
- Error: Package 'pote' requires a different Python: 3.10.12 not in '>=3.11'

FIX:
====
- Install Python 3.11 from deadsnakes PPA
- Install pip for Python 3.11
- Use python3.11 -m pip explicitly for all pip operations
- Use python3.11 -m pytest for test execution

CHANGES:
========
- Install software-properties-common for add-apt-repository
- Add deadsnakes PPA for Python 3.11
- Install python3.11, python3.11-dev, python3.11-venv, python3.11-distutils
- Install pip via get-pip.py for Python 3.11
- Update all pip/pytest commands to use python3.11 -m

This ensures the sonar-analysis job uses Python 3.11 as required.
2026-01-10 14:26:19 -05:00
..