From discussions in the team about what should be the baseline for QMI, we probably should use 3.11 as the baseline. The latest Debian for example has 3.11 on it, so we expect little use for 3.10 use and we want to also avoid issues where new features were programmed on 3.11 but are not compatible with 3.10.
Edit the setup.py and Github workflows to have Python version matrixes only with 3.11, 3.12 and 3.13.
As the new fork for py-xdrlib is dependent on >= Python 3.11, this is probably a good moment to introduce it into the project dependencies.
extras:
Remove unused script qmi_run_contexts
Fix entry point for qmi_tool, ie. make a main method using the code under if __name__ == 'main' and call the main from there instead.
Description
From discussions in the team about what should be the baseline for QMI, we probably should use 3.11 as the baseline. The latest Debian for example has 3.11 on it, so we expect little use for 3.10 use and we want to also avoid issues where new features were programmed on 3.11 but are not compatible with 3.10.
Edit the
setup.py
and Github workflows to have Python version matrixes only with 3.11, 3.12 and 3.13.As the new fork for
py-xdrlib
is dependent on >= Python 3.11, this is probably a good moment to introduce it into the project dependencies.extras:
qmi_run_contexts
qmi_tool
, ie. make amain
method using the code underif __name__ == 'main'
and call themain
from there instead.Affected Components
QMI, CI pipelines
Files to edit
setup.py
.github/workflows/pull-request-ci.yml
.github/workflows/scheduled-full-ci.yml
bin/qmi_tool
CHANGELOG.md