From 62660770fcb08bc50d94e7fd125fa0d821dc86bb2ed4d8a868c6f8466542a3e7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 27 Nov 2025 06:06:02 +0000 Subject: [PATCH] - Only require pytest-subtests with pytest < 9. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-Pint?expand=0&rev=46 --- python-Pint.changes | 5 +++++ python-Pint.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-Pint.changes b/python-Pint.changes index 6a8bbd6..2c1c2ab 100644 --- a/python-Pint.changes +++ b/python-Pint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 27 06:05:19 UTC 2025 - Steve Kowalik + +- Only require pytest-subtests with pytest < 9. + ------------------------------------------------------------------- Tue Apr 22 01:40:02 UTC 2025 - Steve Kowalik diff --git a/python-Pint.spec b/python-Pint.spec index 2037161..bc70ba5 100644 --- a/python-Pint.spec +++ b/python-Pint.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pint # -# Copyright (c) 2025 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 @@ -47,7 +47,7 @@ BuildRequires: %{python_module numpy >= 1.21} BuildRequires: %{python_module packaging} BuildRequires: %{python_module platformdirs} BuildRequires: %{python_module pytest >= 4.0} -BuildRequires: %{python_module pytest-subtests} +BuildRequires: %{python_module pytest-subtests if %python-pytest < 9} BuildRequires: %{python_module typing_extensions} BuildRequires: %{python_module uncertainties >= 3.0} # /SECTION