From bfa044d50b86f6a61e400816e09922a4701e5cde602091db280cbae8f4f8bcff Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 8 Dec 2025 04:32:13 +0000 Subject: [PATCH] - Only require pytest-subtests with pytest < 9. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableauserverclient?expand=0&rev=11 --- python-tableauserverclient.changes | 5 +++++ python-tableauserverclient.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-tableauserverclient.changes b/python-tableauserverclient.changes index a2fd6b6..3aa2858 100644 --- a/python-tableauserverclient.changes +++ b/python-tableauserverclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 8 04:29:16 UTC 2025 - Steve Kowalik + +- Only require pytest-subtests with pytest < 9. + ------------------------------------------------------------------- Thu Nov 21 09:25:27 UTC 2024 - Dirk Müller diff --git a/python-tableauserverclient.spec b/python-tableauserverclient.spec index b254021..5c25380 100644 --- a/python-tableauserverclient.spec +++ b/python-tableauserverclient.spec @@ -1,7 +1,7 @@ # # spec file for package python-tableauserverclient # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,7 +40,7 @@ BuildArch: noarch BuildRequires: %{python_module pytest} BuildRequires: %{python_module defusedxml >= 0.7.1} BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-subtests} +BuildRequires: %{python_module pytest-subtests if %python-pytest < 9} BuildRequires: %{python_module requests >= 2.31} BuildRequires: %{python_module requests-mock >= 1.0} # /SECTION