The check in run-pytest is too strict:
|
PYTHON_VERSION="3.12" |
|
if [[ ! -f "/usr/bin/python$PYTHON_VERSION" ]]; then |
|
PYTHON_VERSION="3.13" |
|
fi |
|
cd "${THISDIR}" && "python${PYTHON_VERSION}" -m pytest -s -rA --showlocals -vv test_container_*.py |
The tests run on Fedora Latest image. This is now F43 with the default interpreter Python 3.14. But that one is not in the testing script, making it impossible to run tests.
Is there a reason a system interpreter can't be used any time?
Instead of hardcoded heuristics, the invocation of the tests could just be python3 -m pytest -s -rA --showlocals -vv test_container_*.py.
cc @phracek