pytest: update to work with recent Python

With Python 3.14, the required pytest version stopped working due to
breaking changes in AST.

This patch changes the test tool versions to the most recent one, by
requiring only the minimal version, but not setting a specific one.
Recent pytest version also requires that the search path for Python
modules is defined.

Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
Rafael Guterres Jeffman
2025-11-10 14:42:32 -03:00
parent 97378c38cf
commit d307635c38
2 changed files with 5 additions and 4 deletions

View File

@@ -4,3 +4,4 @@ junit_family = xunit1
markers=
source_order: mark test as order bound
playbook: playbook tests
pythonpath = tests

View File

@@ -1,8 +1,8 @@
-r requirements.txt
pytest==7.1.3
pytest-sourceorder==0.6.0
pytest
pytest-sourceorder
pytest-split>=0.8.0
pytest-custom_exit_code>=0.3.0
pytest-testinfra==6.8.0
pytest-randomly==3.12.0
pytest-testinfra
pytest-randomly
pyyaml>=3