From 85d0cb9c39b474b1f61f71316a56f16e387a41d9a99a20197dabf0de0d40ed2f Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 27 Nov 2025 19:20:38 +1100 Subject: [PATCH] - Only require pytest-subtests with pytest < 9. --- python-pytest-shell-utilities.changes | 5 +++++ python-pytest-shell-utilities.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pytest-shell-utilities.changes b/python-pytest-shell-utilities.changes index d7eace0..8e88ea5 100644 --- a/python-pytest-shell-utilities.changes +++ b/python-pytest-shell-utilities.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 27 08:20:15 UTC 2025 - Steve Kowalik + +- Only require pytest-subtests with pytest < 9. + ------------------------------------------------------------------- Mon Nov 17 09:53:35 UTC 2025 - Daniel Garcia diff --git a/python-pytest-shell-utilities.spec b/python-pytest-shell-utilities.spec index 09d01aa..9808c89 100644 --- a/python-pytest-shell-utilities.spec +++ b/python-pytest-shell-utilities.spec @@ -48,7 +48,7 @@ BuildRequires: %{python_module pytest >= 7.3.0} BuildRequires: %{python_module pytest-helpers-namespace} BuildRequires: %{python_module pytest-shell-utilities = %{version}} BuildRequires: %{python_module pytest-skip-markers} -BuildRequires: %{python_module pytest-subtests} +BuildRequires: %{python_module pytest-subtests if %python-pytest < 9} BuildRequires: %{python_module typing-extensions} %endif # /SECTION