From bfcb5467fa84572cea8d3786a3c53ca3f1e9e6a5 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Tue, 21 Apr 2026 05:14:20 +0000 Subject: [PATCH] Install python3-pytest-asyncio on RHEL > 9 RHEL 9 version appears to have a bug that fails unrelated tests https://github.com/pytest-dev/pytest-asyncio/issues/293 Signed-off-by: Shane Loretz --- linux_docker_resources/Dockerfile-RHEL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux_docker_resources/Dockerfile-RHEL b/linux_docker_resources/Dockerfile-RHEL index 8338f9cb..219fa840 100644 --- a/linux_docker_resources/Dockerfile-RHEL +++ b/linux_docker_resources/Dockerfile-RHEL @@ -158,7 +158,7 @@ RUN dnf install \ python3-pygraphviz \ python3-pykdl \ python3-pytest \ - python3-pytest-asyncio \ + $(if test ${EL_RELEASE/.*/} -gt 9; then echo python3-pytest-asyncio; fi) \ python3-pytest-cov \ python3-pytest-mock \ python3-pytest-repeat \