From 63461f7a115f089b4b5cf91c119eb5512b174418a83f8b2012d852121f2e8f2c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 17 May 2024 06:38:28 +0000 Subject: [PATCH 1/2] - Re-add conditionals to numpy/pandas, it is required. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=126 --- python-tqdm.changes | 5 +++++ python-tqdm.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-tqdm.changes b/python-tqdm.changes index 20061ed..9ef998d 100644 --- a/python-tqdm.changes +++ b/python-tqdm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 17 06:38:10 UTC 2024 - Steve Kowalik + +- Re-add conditionals to numpy/pandas, it is required. + ------------------------------------------------------------------- Tue May 7 01:37:49 UTC 2024 - Steve Kowalik diff --git a/python-tqdm.spec b/python-tqdm.spec index 42fe2e8..7f19135 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -49,12 +49,14 @@ BuildArch: noarch %if %{with test} # SECTION test requirements BuildRequires: %{python_module pytest-asyncio} -BuildRequires: %{python_module numpy} +# Required for SLE-15-SP4 +BuildRequires: %{python_module numpy if (python-base without python36-base)} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tqdm = %{version}} %if ! 0%{?_with_ringdisabled} -BuildRequires: %{python_module pandas} +# Required for SLE-15-SP4 +BuildRequires: %{python_module pandas if (python-base without python36-base)} %endif # /SECTION %endif From df1275bbf79cf69b91960d604ccad35a525dce587a3249465136b81bd6266837 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 17 May 2024 06:44:16 +0000 Subject: [PATCH 2/2] better comment OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=127 --- python-tqdm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-tqdm.spec b/python-tqdm.spec index 7f19135..3508b50 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -49,13 +49,13 @@ BuildArch: noarch %if %{with test} # SECTION test requirements BuildRequires: %{python_module pytest-asyncio} -# Required for SLE-15-SP4 +# Conditional required for SLE-15-SP4+ BuildRequires: %{python_module numpy if (python-base without python36-base)} BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module tqdm = %{version}} %if ! 0%{?_with_ringdisabled} -# Required for SLE-15-SP4 +# Conditional required for SLE-15-SP4+ BuildRequires: %{python_module pandas if (python-base without python36-base)} %endif # /SECTION