-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Description
The check in run-pytest is too strict:
s2i-python-container/test/run-pytest
Lines 11 to 15 in 39f57df
| 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels