From 37d7664705784f8194169169c7e12f069fb2020c5eba11bf9cb3c5934e10e34f Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 11 Jul 2024 07:47:06 +0000 Subject: [PATCH] - Revert numpy restriction. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=127 --- python-astropy.changes | 5 +++++ python-astropy.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-astropy.changes b/python-astropy.changes index c168bd1..61cf3a6 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 11 07:42:10 UTC 2024 - Ben Greiner + +- Revert numpy restriction. + ------------------------------------------------------------------- Thu Jul 11 05:35:22 UTC 2024 - Steve Kowalik diff --git a/python-astropy.spec b/python-astropy.spec index 9080be2..c6a56b6 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -63,7 +63,7 @@ Source100: python-astropy-rpmlintrc BuildRequires: %{python_module Cython >= 3 with %python-Cython < 3.1} BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module extension-helpers >= 1.0} -BuildRequires: %{python_module numpy-devel < 2} +BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm >= 6.2} BuildRequires: %{python_module setuptools} @@ -74,9 +74,9 @@ BuildRequires: pkgconfig BuildRequires: python-rpm-macros Requires: python-PyYAML >= 3.13 Requires: python-astropy-iers-data >= 0.2024.4.29.0.28.48 +Requires: python-numpy >= 1.23 Requires: python-packaging >= 19.0 Requires: python-pyerfa >= 2.0.1.1 -Requires: (python-numpy >= 1.23 with python-numpy < 2) Requires(post): update-alternatives Requires(postun): update-alternatives # %%{_bindir}/showtable namespace clash @@ -112,10 +112,10 @@ BuildRequires: pkgconfig(wcslib) >= 8.1 %if %{with test} # SECTION [all]+[recommends] BuildRequires: %{python_module Bottleneck} +BuildRequires: %%{python_module dask-array} BuildRequires: %{python_module asdf-astropy >= 0.3} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module bleach} -BuildRequires: %{python_module dask-array} BuildRequires: %{python_module fsspec >= 2023.4.0} BuildRequires: %{python_module h5py} BuildRequires: %{python_module html5lib} @@ -144,7 +144,7 @@ BuildRequires: %{python_module pytest-mpl} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sgp4 >= 2.3} -BuildRequires: %{python_module skyfield >= 1.20 if %python-base < 3.11} +BuildRequires: %{python_module skyfield} BuildRequires: %{python_module threadpoolctl} # /SECTION %endif